pub struct EncryptedPrivateKey { /* private fields */ }Expand description
Encrypted PKCS#8 private key (EncryptedPrivateKeyInfo) per RFC 5958 §3.
EncryptedPrivateKeyInfo ::= SEQUENCE {
encryptionAlgorithm AlgorithmIdentifier {{ KeyEncryptionAlgorithms }},
encryptedData EncryptedData
}Used when the server-generated private key is encrypted with a password or key-wrapping mechanism before transport.
Implementations§
Trait Implementations§
Source§impl Clone for EncryptedPrivateKey
impl Clone for EncryptedPrivateKey
Source§fn clone(&self) -> EncryptedPrivateKey
fn clone(&self) -> EncryptedPrivateKey
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EncryptedPrivateKey
impl Debug for EncryptedPrivateKey
Source§impl PartialEq for EncryptedPrivateKey
impl PartialEq for EncryptedPrivateKey
impl Eq for EncryptedPrivateKey
impl StructuralPartialEq for EncryptedPrivateKey
Auto Trait Implementations§
impl Freeze for EncryptedPrivateKey
impl RefUnwindSafe for EncryptedPrivateKey
impl Send for EncryptedPrivateKey
impl Sync for EncryptedPrivateKey
impl Unpin for EncryptedPrivateKey
impl UnsafeUnpin for EncryptedPrivateKey
impl UnwindSafe for EncryptedPrivateKey
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