Skip to content

[20310] Feature: topic keys with non breaking ABI#20

Open
Mario-DL wants to merge 20 commits intovulcanexusfrom
feature/no-abi-break-keys
Open

[20310] Feature: topic keys with non breaking ABI#20
Mario-DL wants to merge 20 commits intovulcanexusfrom
feature/no-abi-break-keys

Conversation

@Mario-DL
Copy link

@Mario-DL Mario-DL commented Feb 8, 2024

This PR brings the topic keys feature without breaking ABI. This means that the current version supports legacy message types of old generators thanks to a new typesupport_identifier

Note: This branch starts from the previous work on #19

JLBuenoLopez and others added 16 commits January 25, 2024 00:21
* Add support for PKCS#11 in security files

In addition to *.pem files containing the key or certificate,
adds support for *.p11 files that contain the PKCS#11 URI
of the key or certificate in an HSM.

Signed-off-by: Iker Luengo <ikerluengo@eprosima.com>

* linters

Signed-off-by: Iker Luengo <ikerluengo@eprosima.com>

Co-authored-by: Iker Luengo <ikerluengo@eprosima.com>
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
…onstruction updates

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
…ementation

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
…upport member

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
…eys() free function

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
Copy link
Member

@MiguelCompany MiguelCompany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Partial review: dynamic rmw pending

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
…to register the typesupport_introspection. This is useful when builtin types are also built with v2 abi and rmw_fastrtps_cpp is used

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
// retrieve estimated serialized size in case key is unbounded
if (key_is_unbounded_)
{
key_max_serialized_size_ = (std::max) (key_callbacks_->get_serialized_size_key(ros_message, 0), (size_t)0);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
key_max_serialized_size_ = (std::max) (key_callbacks_->get_serialized_size_key(ros_message, 0), (size_t)0);
key_max_serialized_size_ = (std::max) (
key_max_serialized_size_,
key_callbacks_->get_serialized_size_key(ros_message, 0));

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
…(no initial alignment)

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants