Skip to content

Commit 597bfd5

Browse files
authored
Use new property names and values in the lightweight and cds examples (#672) (#679)
* Use new property names in the lightweight and cds examples * schema url updates
1 parent afaabf2 commit 597bfd5

File tree

8 files changed

+31
-22
lines changed

8 files changed

+31
-22
lines changed

examples/connext_secure/cds/c++11/USER_QOS_PROFILES.xml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ obligation to maintain or support the software. RTI shall not be liable for
1010
any incidental or consequential damages arising out of the use or inability
1111
to use the software. -->
1212

13-
<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://community.rti.com/schema/7.2.0/rti_dds_profiles.xsd">
13+
<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
14+
xsi:noNamespaceSchemaLocation="http://community.rti.com/schema/7.3.0/rti_dds_profiles.xsd">
1415
<!-- QoS Library containing the QoS profile used in the generated example.
1516
1617
A QoS library is a named set of QoS profiles.
@@ -54,12 +55,16 @@ to use the software. -->
5455
<value>RTI_SecurityLightweight_PluginSuite_create</value>
5556
</element>
5657
<element>
57-
<name>com.rti.serv.secure.cryptography.rtps_protection_preshared_key</name>
58-
<value>str:0:uIqNqiN11xMbRcuUSdT4BGOEUjLapfosAyzCg7uUBFo=</value>
58+
<name>dds.sec.crypto.rtps_psk_secret_passphrase</name>
59+
<value>data:,0:uIqNqiN11xMbRcuUSdT4BGOEUjLapfosAyzCg7uUBFo=</value>
5960
</element>
6061
<element>
61-
<name>com.rti.serv.secure.cryptography.rtps_protection_preshared_key_algorithm</name>
62-
<value>AES256+GMAC</value>
62+
<name>dds.sec.crypto.rtps_psk_symmetric_cipher_algorithm</name>
63+
<value>AES256+GCM</value>
64+
</element>
65+
<element>
66+
<name>dds.sec.access.rtps_psk_protection_kind</name>
67+
<value>SIGN</value>
6368
</element>
6469
</value>
6570
</property>

examples/connext_secure/cds/cds.xml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ any incidental or consequential damages arising out of the use or inability
1111
to use the software. -->
1212

1313
<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
14-
xsi:noNamespaceSchemaLocation="http://community.rti.com/schema/7.2.0/rti_cloud_discovery_service.xsd">
14+
xsi:noNamespaceSchemaLocation="http://community.rti.com/schema/7.3.0/rti_cloud_discovery_service.xsd">
1515

1616
<cloud_discovery_service name="secure_cds">
1717
<transport>
@@ -23,12 +23,16 @@ to use the software. -->
2323
<security>
2424
<property>
2525
<element>
26-
<name>com.rti.serv.secure.cryptography.rtps_protection_preshared_key</name>
27-
<value>str:0:uIqNqiN11xMbRcuUSdT4BGOEUjLapfosAyzCg7uUBFo=</value>
26+
<name>dds.sec.crypto.rtps_psk_secret_passphrase</name>
27+
<value>data:,0:uIqNqiN11xMbRcuUSdT4BGOEUjLapfosAyzCg7uUBFo=</value>
2828
</element>
2929
<element>
30-
<name>com.rti.serv.secure.cryptography.rtps_protection_preshared_key_algorithm</name>
31-
<value>AES256+GMAC</value>
30+
<name>dds.sec.crypto.rtps_psk_symmetric_cipher_algorithm</name>
31+
<value>AES256+GCM</value>
32+
</element>
33+
<element>
34+
<name>dds.sec.access.rtps_psk_protection_kind</name>
35+
<value>SIGN</value>
3236
</element>
3337
</property>
3438
</security>

examples/connext_secure/certificate_revocation_list/c++11/USER_QOS_PROFILES.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ any incidental or consequential damages arising out of the use or inability
1111
to use the software. -->
1212

1313
<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
14-
xsi:noNamespaceSchemaLocation="http://community.rti.com/schema/7.2.0/rti_dds_profiles.xsd">
14+
xsi:noNamespaceSchemaLocation="http://community.rti.com/schema/7.3.0/rti_dds_profiles.xsd">
1515
<qos_library name="full_library">
1616

1717
<qos_profile name="peer1" base_name="BuiltinQosSnippetLib::Feature.Security.Enable" is_default_qos="true">

examples/connext_secure/certificate_revocation_list/security/xml/Governance.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="http://community.rti.com/schema/7.2.0/dds_security_governance.xsd">
3+
xsi:noNamespaceSchemaLocation="http://community.rti.com/schema/7.3.0/dds_security_governance.xsd">
44
<domain_access_rules>
55
<domain_rule>
66
<domains>

examples/connext_secure/certificate_revocation_list/security/xml/Permissions.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

33
<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:noNamespaceSchemaLocation="http://community.rti.com/schema/7.2.0/dds_security_permissions.xsd">
4+
xsi:noNamespaceSchemaLocation="http://community.rti.com/schema/7.3.0/dds_security_permissions.xsd">
55
<permissions>
66
<grant name="CrlParticipantA">
77
<subject_name>C = US, ST = CA, L = Santa Clara, O = Real Time Innovations, emailAddress = [email protected], CN = Crl Participant A</subject_name>

examples/connext_secure/lightweight/c++11/USER_QOS_PROFILES.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ any incidental or consequential damages arising out of the use or inability
1111
to use the software. -->
1212

1313
<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
14-
xsi:noNamespaceSchemaLocation="http://community.rti.com/schema/7.2.0/rti_dds_profiles.xsd">
14+
xsi:noNamespaceSchemaLocation="http://community.rti.com/schema/7.3.0/rti_dds_profiles.xsd">
1515
<qos_library name="full_library">
1616

1717
<qos_profile name="peer1">
@@ -52,8 +52,8 @@ to use the software. -->
5252
<value>file:./security/xml/signed/signed_permissions.p7s</value>
5353
</element>
5454
<element>
55-
<name>com.rti.serv.secure.cryptography.rtps_protection_preshared_key</name>
56-
<value>str:0:uIqNqiN11xMbRcuUSdT4BGOEUjLapfosAyzCg7uUBFo=</value>
55+
<name>dds.sec.crypto.rtps_psk_secret_passphrase</name>
56+
<value>data:,0:uIqNqiN11xMbRcuUSdT4BGOEUjLapfosAyzCg7uUBFo=</value>
5757
</element>
5858
<element>
5959
<name>com.rti.serv.secure.cryptography.encryption_algorithm</name>
@@ -112,11 +112,11 @@ to use the software. -->
112112
<value>RTI_SecurityLightweight_PluginSuite_create</value>
113113
</element>
114114
<element>
115-
<name>com.rti.serv.secure.cryptography.rtps_protection_preshared_key</name>
116-
<value>str:0:uIqNqiN11xMbRcuUSdT4BGOEUjLapfosAyzCg7uUBFo=</value>
115+
<name>dds.sec.crypto.rtps_psk_secret_passphrase</name>
116+
<value>data:,0:uIqNqiN11xMbRcuUSdT4BGOEUjLapfosAyzCg7uUBFo=</value>
117117
</element>
118118
<element>
119-
<name>com.rti.serv.secure.cryptography.rtps_protection_preshared_key_algorithm</name>
119+
<name>dds.sec.crypto.rtps_psk_symmetric_cipher_algorithm</name>
120120
<value>AES256+GCM</value>
121121
</element>
122122
<element>

examples/connext_secure/lightweight/security/xml/governance_lws.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="C:\RTI\rti_connext_dds-7.2.0\resource\schema\dds_security_governance.xsd">
3+
xsi:noNamespaceSchemaLocation="http://community.rti.com/schema/7.3.0/dds_security_governance.xsd">
44
<domain_access_rules>
55
<domain_rule>
66
<domains>
@@ -13,7 +13,7 @@
1313
<discovery_protection_kind>NONE</discovery_protection_kind>
1414
<liveliness_protection_kind>NONE</liveliness_protection_kind>
1515
<rtps_protection_kind>NONE</rtps_protection_kind>
16-
<rtps_preshared_secret_protection_kind>ENCRYPT</rtps_preshared_secret_protection_kind>
16+
<rtps_psk_protection_kind>ENCRYPT</rtps_psk_protection_kind>
1717
<topic_access_rules>
1818
<topic_rule>
1919
<topic_expression>Square</topic_expression>

examples/connext_secure/lightweight/security/xml/permissions.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

33
<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:noNamespaceSchemaLocation="C:\RTI\rti_connext_dds-7.2.0\resource\schema\dds_security_permissions.xsd">
4+
xsi:noNamespaceSchemaLocation="http://community.rti.com/schema/7.3.0/dds_security_permissions.xsd">
55
<permissions>
66
<grant name="LightParticipantA">
77
<subject_name>/C=US/ST=CA/L=Santa Clara/O=Real Time Innovations/[email protected]/CN=Lightweight Participant A</subject_name>

0 commit comments

Comments
 (0)