-
Notifications
You must be signed in to change notification settings - Fork 769
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
115 changed files
with
10,562 additions
and
2,688 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 71 additions & 0 deletions
71
examples/C++/SecureHelloWorldExample/certs/governance.smime
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
MIME-Version: 1.0 | ||
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="sha-256"; boundary="----F43F382375A0826FABA8FE7FAAB5A1CB" | ||
|
||
This is an S/MIME signed message | ||
|
||
------F43F382375A0826FABA8FE7FAAB5A1CB | ||
Content-Type: text/plain | ||
|
||
<?xml version="1.0" encoding="utf-8"?> | ||
<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="omg_shared_ca_domain_governance.xsd"> | ||
<domain_access_rules> | ||
<domain_rule> | ||
<domains> | ||
<id_range> | ||
<min>0</min> | ||
<max>230</max> | ||
</id_range> | ||
</domains> | ||
<allow_unauthenticated_participants>false</allow_unauthenticated_participants> | ||
<enable_join_access_control>true</enable_join_access_control> | ||
<discovery_protection_kind>ENCRYPT</discovery_protection_kind> | ||
<liveliness_protection_kind>ENCRYPT</liveliness_protection_kind> | ||
<rtps_protection_kind>ENCRYPT</rtps_protection_kind> | ||
<topic_access_rules> | ||
<topic_rule> | ||
<topic_expression>HelloWorldTopic</topic_expression> | ||
<enable_discovery_protection>true</enable_discovery_protection> | ||
<enable_liveliness_protection>false</enable_liveliness_protection> | ||
<enable_read_access_control>true</enable_read_access_control> | ||
<enable_write_access_control>true</enable_write_access_control> | ||
<metadata_protection_kind>ENCRYPT</metadata_protection_kind> | ||
<data_protection_kind>ENCRYPT</data_protection_kind> | ||
</topic_rule> | ||
</topic_access_rules> | ||
</domain_rule> | ||
</domain_access_rules> | ||
</dds> | ||
|
||
------F43F382375A0826FABA8FE7FAAB5A1CB | ||
Content-Type: application/x-pkcs7-signature; name="smime.p7s" | ||
Content-Transfer-Encoding: base64 | ||
Content-Disposition: attachment; filename="smime.p7s" | ||
|
||
MIIEeQYJKoZIhvcNAQcCoIIEajCCBGYCAQExDzANBglghkgBZQMEAgEFADALBgkq | ||
hkiG9w0BBwGgggJAMIICPDCCAeOgAwIBAgIJALZwpgo2sxthMAoGCCqGSM49BAMC | ||
MIGaMQswCQYDVQQGEwJFUzELMAkGA1UECAwCTUExFDASBgNVBAcMC1RyZXMgQ2Fu | ||
dG9zMREwDwYDVQQKDAhlUHJvc2ltYTERMA8GA1UECwwIZVByb3NpbWExHjAcBgNV | ||
BAMMFWVQcm9zaW1hIE1haW4gVGVzdCBDQTEiMCAGCSqGSIb3DQEJARYTbWFpbmNh | ||
QGVwcm9zaW1hLmNvbTAeFw0xNzA5MDYwOTAzMDNaFw0yNzA5MDQwOTAzMDNaMIGa | ||
MQswCQYDVQQGEwJFUzELMAkGA1UECAwCTUExFDASBgNVBAcMC1RyZXMgQ2FudG9z | ||
MREwDwYDVQQKDAhlUHJvc2ltYTERMA8GA1UECwwIZVByb3NpbWExHjAcBgNVBAMM | ||
FWVQcm9zaW1hIE1haW4gVGVzdCBDQTEiMCAGCSqGSIb3DQEJARYTbWFpbmNhQGVw | ||
cm9zaW1hLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGLlhB3WQ8l1fpUE | ||
3DfOoulA/de38Zfj7hmpKtOnxiH2q6RJbwhxvJeA7R7mkmAKaJKmzx695BjyiXVS | ||
7bE7vgejEDAOMAwGA1UdEwQFMAMBAf8wCgYIKoZIzj0EAwIDRwAwRAIgVTY1BEvT | ||
4pw3GyBMzaUqmp69wi0kBkyOgq04OhyJ13UCICR125vvt0fUhXsXaxOAx28E4Ac9 | ||
SVxpI+3UYs2kV5n0MYIB/TCCAfkCAQEwgagwgZoxCzAJBgNVBAYTAkVTMQswCQYD | ||
VQQIDAJNQTEUMBIGA1UEBwwLVHJlcyBDYW50b3MxETAPBgNVBAoMCGVQcm9zaW1h | ||
MREwDwYDVQQLDAhlUHJvc2ltYTEeMBwGA1UEAwwVZVByb3NpbWEgTWFpbiBUZXN0 | ||
IENBMSIwIAYJKoZIhvcNAQkBFhNtYWluY2FAZXByb3NpbWEuY29tAgkAtnCmCjaz | ||
G2EwDQYJYIZIAWUDBAIBBQCggeQwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAc | ||
BgkqhkiG9w0BCQUxDxcNMTgwNDIwMDgyMDQ2WjAvBgkqhkiG9w0BCQQxIgQgeV8j | ||
PJHH8Gg7wfTMPR1+2k6an80T7+wAv/2B5p04GioweQYJKoZIhvcNAQkPMWwwajAL | ||
BglghkgBZQMEASowCwYJYIZIAWUDBAEWMAsGCWCGSAFlAwQBAjAKBggqhkiG9w0D | ||
BzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcwDQYIKoZI | ||
hvcNAwICASgwCgYIKoZIzj0EAwIERzBFAiEAvzBGtFCtU3Y4kxT1B/yrEdSzFxgU | ||
pjd1kI2z4Z92BnUCIGacA/Mi9qW5ezSNgL1qMr+F3RP1QVsugFndssz7OdQN | ||
|
||
------F43F382375A0826FABA8FE7FAAB5A1CB-- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="omg_shared_ca_domain_governance.xsd"> | ||
<domain_access_rules> | ||
<domain_rule> | ||
<domains> | ||
<id_range> | ||
<min>0</min> | ||
<max>230</max> | ||
</id_range> | ||
</domains> | ||
<allow_unauthenticated_participants>false</allow_unauthenticated_participants> | ||
<enable_join_access_control>true</enable_join_access_control> | ||
<discovery_protection_kind>ENCRYPT</discovery_protection_kind> | ||
<liveliness_protection_kind>ENCRYPT</liveliness_protection_kind> | ||
<rtps_protection_kind>ENCRYPT</rtps_protection_kind> | ||
<topic_access_rules> | ||
<topic_rule> | ||
<topic_expression>HelloWorldTopic</topic_expression> | ||
<enable_discovery_protection>true</enable_discovery_protection> | ||
<enable_liveliness_protection>false</enable_liveliness_protection> | ||
<enable_read_access_control>true</enable_read_access_control> | ||
<enable_write_access_control>true</enable_write_access_control> | ||
<metadata_protection_kind>ENCRYPT</metadata_protection_kind> | ||
<data_protection_kind>ENCRYPT</data_protection_kind> | ||
</topic_rule> | ||
</topic_access_rules> | ||
</domain_rule> | ||
</domain_access_rules> | ||
</dds> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgRaipe1KYZNzj+35E | ||
N2jvtzjRsQ7n9Me/vm35UKGuVI6hRANCAARi5YQd1kPJdX6VBNw3zqLpQP3Xt/GX | ||
4+4ZqSrTp8Yh9qukSW8IcbyXgO0e5pJgCmiSps8eveQY8ol1Uu2xO74H | ||
-----END PRIVATE KEY----- |
88 changes: 88 additions & 0 deletions
88
examples/C++/SecureHelloWorldExample/certs/permissions.smime
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
MIME-Version: 1.0 | ||
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="sha-256"; boundary="----F47A2A15090FF0128FA1D352597E1AD4" | ||
|
||
This is an S/MIME signed message | ||
|
||
------F47A2A15090FF0128FA1D352597E1AD4 | ||
Content-Type: text/plain | ||
|
||
<?xml version="1.0" encoding="utf-8"?> | ||
<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.omg.org/spec/DDS-Security/20170801/omg_shared_ca_permissions.xsd"> | ||
<permissions> | ||
<grant name="PublisherPermissions"> | ||
<subject_name>emailAddress=mainpub@eprosima.com, CN=Main Publisher, OU=eProsima, O=eProsima, ST=MA, C=ES</subject_name> | ||
<validity> | ||
<not_before>2013-06-01T13:00:00</not_before> | ||
<not_after>2038-06-01T13:00:00</not_after> | ||
</validity> | ||
<allow_rule> | ||
<domains> | ||
<id_range> | ||
<min>0</min> | ||
<max>230</max> | ||
</id_range> | ||
</domains> | ||
<publish> | ||
<topics> | ||
<topic>HelloWorldTopic</topic> | ||
</topics> | ||
</publish> | ||
</allow_rule> | ||
<default>DENY</default> | ||
</grant> | ||
<grant name="SubscriberPermissions"> | ||
<subject_name> emailAddress=mainsub@eprosima.com, CN=Main Subscriber, OU=eProsima, O=eProsima, ST=MA, C=ES</subject_name> | ||
<validity> | ||
<not_before>2013-06-01T13:00:00</not_before> | ||
<not_after>2038-06-01T13:00:00</not_after> | ||
</validity> | ||
<allow_rule> | ||
<domains> | ||
<id_range> | ||
<min>0</min> | ||
<max>230</max> | ||
</id_range> | ||
</domains> | ||
<subscribe> | ||
<topics> | ||
<topic>HelloWorldTopic</topic> | ||
</topics> | ||
</subscribe> | ||
</allow_rule> | ||
<default>DENY</default> | ||
</grant> | ||
</permissions> | ||
</dds> | ||
|
||
------F47A2A15090FF0128FA1D352597E1AD4 | ||
Content-Type: application/x-pkcs7-signature; name="smime.p7s" | ||
Content-Transfer-Encoding: base64 | ||
Content-Disposition: attachment; filename="smime.p7s" | ||
|
||
MIIEeQYJKoZIhvcNAQcCoIIEajCCBGYCAQExDzANBglghkgBZQMEAgEFADALBgkq | ||
hkiG9w0BBwGgggJAMIICPDCCAeOgAwIBAgIJALZwpgo2sxthMAoGCCqGSM49BAMC | ||
MIGaMQswCQYDVQQGEwJFUzELMAkGA1UECAwCTUExFDASBgNVBAcMC1RyZXMgQ2Fu | ||
dG9zMREwDwYDVQQKDAhlUHJvc2ltYTERMA8GA1UECwwIZVByb3NpbWExHjAcBgNV | ||
BAMMFWVQcm9zaW1hIE1haW4gVGVzdCBDQTEiMCAGCSqGSIb3DQEJARYTbWFpbmNh | ||
QGVwcm9zaW1hLmNvbTAeFw0xNzA5MDYwOTAzMDNaFw0yNzA5MDQwOTAzMDNaMIGa | ||
MQswCQYDVQQGEwJFUzELMAkGA1UECAwCTUExFDASBgNVBAcMC1RyZXMgQ2FudG9z | ||
MREwDwYDVQQKDAhlUHJvc2ltYTERMA8GA1UECwwIZVByb3NpbWExHjAcBgNVBAMM | ||
FWVQcm9zaW1hIE1haW4gVGVzdCBDQTEiMCAGCSqGSIb3DQEJARYTbWFpbmNhQGVw | ||
cm9zaW1hLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGLlhB3WQ8l1fpUE | ||
3DfOoulA/de38Zfj7hmpKtOnxiH2q6RJbwhxvJeA7R7mkmAKaJKmzx695BjyiXVS | ||
7bE7vgejEDAOMAwGA1UdEwQFMAMBAf8wCgYIKoZIzj0EAwIDRwAwRAIgVTY1BEvT | ||
4pw3GyBMzaUqmp69wi0kBkyOgq04OhyJ13UCICR125vvt0fUhXsXaxOAx28E4Ac9 | ||
SVxpI+3UYs2kV5n0MYIB/TCCAfkCAQEwgagwgZoxCzAJBgNVBAYTAkVTMQswCQYD | ||
VQQIDAJNQTEUMBIGA1UEBwwLVHJlcyBDYW50b3MxETAPBgNVBAoMCGVQcm9zaW1h | ||
MREwDwYDVQQLDAhlUHJvc2ltYTEeMBwGA1UEAwwVZVByb3NpbWEgTWFpbiBUZXN0 | ||
IENBMSIwIAYJKoZIhvcNAQkBFhNtYWluY2FAZXByb3NpbWEuY29tAgkAtnCmCjaz | ||
G2EwDQYJYIZIAWUDBAIBBQCggeQwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAc | ||
BgkqhkiG9w0BCQUxDxcNMTgwNDIwMDgyMjIzWjAvBgkqhkiG9w0BCQQxIgQgILQU | ||
ebFR+2LG5xPwhlrTUf3b8T0MkR3aZjpsi/yptTMweQYJKoZIhvcNAQkPMWwwajAL | ||
BglghkgBZQMEASowCwYJYIZIAWUDBAEWMAsGCWCGSAFlAwQBAjAKBggqhkiG9w0D | ||
BzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcwDQYIKoZI | ||
hvcNAwICASgwCgYIKoZIzj0EAwIERzBFAiEA2lSxk6YvQsqrx+LEjVwZI9/V6o5c | ||
ggok/gGrVlbsEq0CIFWg6QFkrgny+OkJV2TNY3rSTr8YOvJa7Hm13pe9NqkP | ||
|
||
------F47A2A15090FF0128FA1D352597E1AD4-- | ||
|
47 changes: 47 additions & 0 deletions
47
examples/C++/SecureHelloWorldExample/certs/permissions.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.omg.org/spec/DDS-Security/20170801/omg_shared_ca_permissions.xsd"> | ||
<permissions> | ||
<grant name="PublisherPermissions"> | ||
<subject_name>emailAddress=mainpub@eprosima.com, CN=Main Publisher, OU=eProsima, O=eProsima, ST=MA, C=ES</subject_name> | ||
<validity> | ||
<not_before>2013-06-01T13:00:00</not_before> | ||
<not_after>2038-06-01T13:00:00</not_after> | ||
</validity> | ||
<allow_rule> | ||
<domains> | ||
<id_range> | ||
<min>0</min> | ||
<max>230</max> | ||
</id_range> | ||
</domains> | ||
<publish> | ||
<topics> | ||
<topic>HelloWorldTopic</topic> | ||
</topics> | ||
</publish> | ||
</allow_rule> | ||
<default>DENY</default> | ||
</grant> | ||
<grant name="SubscriberPermissions"> | ||
<subject_name> emailAddress=mainsub@eprosima.com, CN=Main Subscriber, OU=eProsima, O=eProsima, ST=MA, C=ES</subject_name> | ||
<validity> | ||
<not_before>2013-06-01T13:00:00</not_before> | ||
<not_after>2038-06-01T13:00:00</not_after> | ||
</validity> | ||
<allow_rule> | ||
<domains> | ||
<id_range> | ||
<min>0</min> | ||
<max>230</max> | ||
</id_range> | ||
</domains> | ||
<subscribe> | ||
<topics> | ||
<topic>HelloWorldTopic</topic> | ||
</topics> | ||
</subscribe> | ||
</allow_rule> | ||
<default>DENY</default> | ||
</grant> | ||
</permissions> | ||
</dds> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.