18 #ifndef FASTDDS_RTPS_ATTRIBUTES__ENDPOINTSECURITYATTRIBUTES_HPP
19 #define FASTDDS_RTPS_ATTRIBUTES__ENDPOINTSECURITYATTRIBUTES_HPP
30 #define PLUGIN_ENDPOINT_SECURITY_ATTRIBUTES_FLAG_IS_SUBMESSAGE_ENCRYPTED (0x00000001UL << 0)
31 #define PLUGIN_ENDPOINT_SECURITY_ATTRIBUTES_FLAG_IS_PAYLOAD_ENCRYPTED (0x00000001UL << 1)
32 #define PLUGIN_ENDPOINT_SECURITY_ATTRIBUTES_FLAG_IS_SUBMESSAGE_ORIGIN_AUTHENTICATED (0x00000001UL << 2)
33 #define PLUGIN_ENDPOINT_SECURITY_ATTRIBUTES_FLAG_IS_VALID (0x00000001UL << 31)
35 #define PLUGIN_ENDPOINT_SECURITY_ATTRIBUTES_MASK_DEFAULT PLUGIN_ENDPOINT_SECURITY_ATTRIBUTES_FLAG_IS_VALID
50 PLUGIN_ENDPOINT_SECURITY_ATTRIBUTES_FLAG_IS_SUBMESSAGE_ORIGIN_AUTHENTICATED) != 0)
65 #define ENDPOINT_SECURITY_ATTRIBUTES_FLAG_IS_READ_PROTECTED (0x00000001UL << 0)
66 #define ENDPOINT_SECURITY_ATTRIBUTES_FLAG_IS_WRITE_PROTECTED (0x00000001UL << 1)
67 #define ENDPOINT_SECURITY_ATTRIBUTES_FLAG_IS_DISCOVERY_PROTECTED (0x00000001UL << 2)
68 #define ENDPOINT_SECURITY_ATTRIBUTES_FLAG_IS_SUBMESSAGE_PROTECTED (0x00000001UL << 3)
69 #define ENDPOINT_SECURITY_ATTRIBUTES_FLAG_IS_PAYLOAD_PROTECTED (0x00000001UL << 4)
70 #define ENDPOINT_SECURITY_ATTRIBUTES_FLAG_IS_KEY_PROTECTED (0x00000001UL << 5)
71 #define ENDPOINT_SECURITY_ATTRIBUTES_FLAG_IS_LIVELINESS_PROTECTED (0x00000001UL << 6)
72 #define ENDPOINT_SECURITY_ATTRIBUTES_FLAG_IS_VALID (0x00000001UL << 31)
uint32_t PluginEndpointSecurityAttributesMask
Definition: EndpointSecurityAttributes.hpp:28
uint32_t EndpointSecurityAttributesMask
Definition: EndpointSecurityAttributes.hpp:63
Definition: EndpointSecurityAttributes.hpp:75
PluginEndpointSecurityAttributesMask plugin_endpoint_attributes
Definition: EndpointSecurityAttributes.hpp:115
EndpointSecurityAttributes(const EndpointSecurityAttributesMask mask)
Definition: EndpointSecurityAttributes.hpp:88
bool is_payload_protected
Definition: EndpointSecurityAttributes.hpp:111
bool is_liveliness_protected
Definition: EndpointSecurityAttributes.hpp:107
bool match(const EndpointSecurityAttributesMask remoteMask, const PluginEndpointSecurityAttributesMask remotePluginMask) const
bool is_read_protected
Definition: EndpointSecurityAttributes.hpp:101
EndpointSecurityAttributes()
Definition: EndpointSecurityAttributes.hpp:76
bool is_key_protected
Definition: EndpointSecurityAttributes.hpp:113
bool is_write_protected
Definition: EndpointSecurityAttributes.hpp:103
bool is_submessage_protected
Definition: EndpointSecurityAttributes.hpp:109
EndpointSecurityAttributesMask mask() const
bool is_discovery_protected
Definition: EndpointSecurityAttributes.hpp:105
Definition: EndpointSecurityAttributes.hpp:38
PluginEndpointSecurityAttributesMask mask() const
PluginEndpointSecurityAttributes(const PluginEndpointSecurityAttributesMask mask)
Definition: EndpointSecurityAttributes.hpp:46
PluginEndpointSecurityAttributes()
Definition: EndpointSecurityAttributes.hpp:39
bool is_payload_encrypted
Definition: EndpointSecurityAttributes.hpp:57
bool is_submessage_encrypted
Definition: EndpointSecurityAttributes.hpp:55
bool is_submessage_origin_authenticated
Definition: EndpointSecurityAttributes.hpp:56