pub struct IdentityConfig {
pub identity_cert_pem: Vec<u8>,
pub identity_ca_pem: Vec<u8>,
pub identity_key_pem: Option<Vec<u8>>,
}Expand description
One input for crate::PkiAuthenticationPlugin::validate_with_config:
identity certificate + associated CA (both PEM).
Fields§
§identity_cert_pem: Vec<u8>PEM-encoded X.509 identity certificate (a single cert).
identity_ca_pem: Vec<u8>PEM-encoded CA bundle (may contain multiple trust anchors).
identity_key_pem: Option<Vec<u8>>PKCS8-PEM-encoded private key matching the identity cert.
Used for signing handshake tokens and delegation links.
None = validation-only mode (no handshake sign
possible).
Trait Implementations§
Source§impl Clone for IdentityConfig
impl Clone for IdentityConfig
Source§fn clone(&self) -> IdentityConfig
fn clone(&self) -> IdentityConfig
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 IdentityConfig
impl RefUnwindSafe for IdentityConfig
impl Send for IdentityConfig
impl Sync for IdentityConfig
impl Unpin for IdentityConfig
impl UnsafeUnpin for IdentityConfig
impl UnwindSafe for IdentityConfig
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