pub enum OwnedIdentity {
PKCS12 {
der: Vec<u8>,
password: String,
},
PKCS8 {
pem: Vec<u8>,
key: Vec<u8>,
},
}
Expand description
Holds one of:
- PKCS#12 DER-encoded identity and decryption password
- PKCS#8 PEM-encoded certificate and key (without decryption password)
Variants§
PKCS12
PKCS#12 DER-encoded identity with decryption password
PKCS8
PKCS#8 encoded DER private key with PEM encoded certificate
Implementations§
Trait Implementations§
Source§impl Debug for OwnedIdentity
impl Debug for OwnedIdentity
Source§impl PartialEq for OwnedIdentity
impl PartialEq for OwnedIdentity
impl StructuralPartialEq for OwnedIdentity
Auto Trait Implementations§
impl Freeze for OwnedIdentity
impl RefUnwindSafe for OwnedIdentity
impl Send for OwnedIdentity
impl Sync for OwnedIdentity
impl Unpin for OwnedIdentity
impl UnwindSafe for OwnedIdentity
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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