/* (c) Copyright, Real-Time Innovations, 2017. All rights reserved. No duplications, whole or partial, manual or electronic, may be made without express written permission. Any such copies, or revisions thereof, must display this notice unaltered. This code contains trade secrets of Real-Time Innovations, Inc. ===================================================================== */ #ifndef security_infrastructure_h #define security_infrastructure_h /* * SEC-1214: used for backward compatibility with respect to DH. * RTI Connext Pro below 6.1.0 uses legacy DH parameters. * RTI Connext Micro below 3.1.0 uses legacy DH parameters. */ #define RTI_SECURITY_VENDOR_ID_RTI_0 0x01 #define RTI_SECURITY_VENDOR_ID_RTI_1 0x01 #define RTI_SECURITY_VENDOR_ID_RTI_MICRO_0 0x01 #define RTI_SECURITY_VENDOR_ID_RTI_MICRO_1 0x0a #define RTI_SECURITY_RTI_PRODUCT_VERSION_MAJOR_RFC5114 6 #define RTI_SECURITY_RTI_PRODUCT_VERSION_MINOR_RFC5114 1 #define RTI_SECURITY_RTI_MICRO_PRODUCT_VERSION_MAJOR_RFC5114 3 #define RTI_SECURITY_RTI_MICRO_PRODUCT_VERSION_MINOR_RFC5114 1 /* * Micro 3.0.3 supports security with an older version of the Security Plugins * that isn't patched with SEC-2473. Newer releases propagate and understand the * 1.2 class id, but will still use the 1.0 class id when communicating with * micro versions <= 3.0.3 (for backward compatibility). */ #define RTI_SECURITY_RTI_MICRO_WITH_SECURITY_PRODUCT_VERSION_MAJOR 3 #define RTI_SECURITY_RTI_MICRO_WITH_SECURITY_PRODUCT_VERSION_MINOR 0 #define RTI_SECURITY_RTI_MICRO_WITH_SECURITY_PRODUCT_VERSION_RELEASE 3 /* * SEC-850: used for backward interoperability with respect to precedence for * conflicting domain rules in the permissions document. * RTI Connext Pro below 6.1.1 uses legacy precedence. * RTI Connext Micro below 3.1.0 uses legacy precedence. */ #define RTI_SECURITY_RTI_PRODUCT_VERSION_MAJOR_FIRST_DOMAIN_RULE_PERMISSIONS_PRECEDENCE 6 #define RTI_SECURITY_RTI_PRODUCT_VERSION_MINOR_FIRST_DOMAIN_RULE_PERMISSIONS_PRECEDENCE 1 #define RTI_SECURITY_RTI_PRODUCT_VERSION_RELEASE_FIRST_DOMAIN_RULE_PERMISSIONS_PRECEDENCE 1 #define RTI_SECURITY_RTI_MICRO_PRODUCT_VERSION_MAJOR_FIRST_DOMAIN_RULE_PERMISSIONS_PRECEDENCE 3 #define RTI_SECURITY_RTI_MICRO_PRODUCT_VERSION_MINOR_FIRST_DOMAIN_RULE_PERMISSIONS_PRECEDENCE 1 /* * RTI releases >= 7.3.1 should use the new dsign and kagree algorithm values * and propagate the 1.2 plugin class id. * * RTI releases [7.0.0, 7.3.1) should use the new values and propagate 1.0 * plugin class id. * * RTI releases < 7.0.0 should use legacy values and propagate 1.0 plugin class * id. */ #define RTI_SECURITY_RTI_PRODUCT_VERSION_MAJOR_SPEC_12_CLASS_ID 7 #define RTI_SECURITY_RTI_PRODUCT_VERSION_MINOR_SPEC_12_CLASS_ID 3 #define RTI_SECURITY_RTI_PRODUCT_VERSION_RELEASE_SPEC_12_CLASS_ID 1 #define RTI_SECURITY_FILES_POLL_INTERVAL_DEFAULT ((DDS_UnsignedLong) 5) /* in s. */ #ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus } /* extern "C" */ #endif #include "security/security_infrastructure_psm.h" #endif /* security_infrastructure_h */