pub struct IdentityConfig {
pub identity_cert_pem: Vec<u8>,
pub identity_ca_pem: Vec<u8>,
pub identity_key_pem: Option<Vec<u8>>,
}Expand description
Ein-Input fuer crate::PkiAuthenticationPlugin::validate_with_config:
Identity-Zertifikat + zugehoerige CA (beide PEM).
Fields§
§identity_cert_pem: Vec<u8>PEM-kodiertes X.509-Identity-Zertifikat (einzelnes Cert).
identity_ca_pem: Vec<u8>PEM-kodiertes CA-Bundle (kann mehrere Trust-Anchors enthalten).
identity_key_pem: Option<Vec<u8>>PKCS8-PEM-kodierter Private-Key passend zum Identity-Cert.
Wird zum Signieren von Handshake-Tokens und Delegation-Links
verwendet. None = nur Validation-Modus (kein Handshake-Sign
moeglich).
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