Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions code/CodeTester.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,10 @@ bool permissions_test(
part_attr.properties.properties().emplace_back(
"dds.sec.access.builtin.Access-Permissions.permissions",
permissions_file);

// Activate Crypto:AES-GCM-GMAC plugin (all three security plugins must be configured together)
part_attr.properties.properties().emplace_back("dds.sec.crypto.plugin",
"builtin.AES-GCM-GMAC");
RTPSParticipant* participant = RTPSDomain::createParticipant(0, part_attr);
if (participant != nullptr)
{
Expand Down
4 changes: 4 additions & 0 deletions code/DDSCodeTester.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8126,6 +8126,10 @@ bool dds_permissions_test(
"dds.sec.access.builtin.Access-Permissions.permissions",
permissions_file);

// Activate Crypto:AES-GCM-GMAC plugin (all three security plugins must be configured together)
pqos.properties().properties().emplace_back("dds.sec.crypto.plugin",
"builtin.AES-GCM-GMAC");

DomainParticipant* domain_participant =
DomainParticipantFactory::get_instance()->create_participant(1, pqos);
if (nullptr != domain_participant)
Expand Down
Loading