pub struct SecurityProfileConfig {
pub domain_id: u32,
pub identity_ca_pem: PathBuf,
pub identity_cert_pem: PathBuf,
pub identity_key_pem: PathBuf,
pub permissions_ca_pem: PathBuf,
pub governance_p7s: PathBuf,
pub permissions_p7s: PathBuf,
}Expand description
File-path-based configuration for a SecurityProfile.
All paths must be readable and contain the usual DDS-Security 1.2 file formats:
identity_ca_pem— PEM bundle of the identity CAidentity_cert_pem— PEM with the participant’s identity certificateidentity_key_pem— PKCS#8 PEM with the private keypermissions_ca_pem— PEM bundle of the permissions CA (often = identity_ca)governance_p7s— CMS-signed governance XML (.p7s)permissions_p7s— CMS-signed permissions XML (.p7s)
Fields§
§domain_id: u32DDS domain id (decides the match in the governance).
identity_ca_pem: PathBufPEM bundle of the identity CA (trust anchors for remote certs).
identity_cert_pem: PathBufPEM with the identity cert of the local participant.
identity_key_pem: PathBufPKCS#8 PEM private key of the local participant.
permissions_ca_pem: PathBufPEM bundle of the permissions CA (signs governance/permissions).
governance_p7s: PathBufCMS-signed governance XML.
permissions_p7s: PathBufCMS-signed permissions XML.
Trait Implementations§
Source§impl Clone for SecurityProfileConfig
impl Clone for SecurityProfileConfig
Source§fn clone(&self) -> SecurityProfileConfig
fn clone(&self) -> SecurityProfileConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SecurityProfileConfig
impl RefUnwindSafe for SecurityProfileConfig
impl Send for SecurityProfileConfig
impl Sync for SecurityProfileConfig
impl Unpin for SecurityProfileConfig
impl UnsafeUnpin for SecurityProfileConfig
impl UnwindSafe for SecurityProfileConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more