pub struct PasswordRecipientInfo {
pub version: CmsVersion,
pub key_derivation_algorithm: Option<KeyDerivationAlgorithmIdentifier>,
pub key_encryption_algorithm: KeyEncryptionAlgorithmIdentifier,
pub encrypted_key: EncryptedKey,
}
Expand description
Password recipient info.
PasswordRecipientInfo ::= SEQUENCE {
version CMSVersion, -- Always set to 0
keyDerivationAlgorithm [0] KeyDerivationAlgorithmIdentifier
OPTIONAL,
keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier,
encryptedKey EncryptedKey }
Fields§
§version: CmsVersion
§key_derivation_algorithm: Option<KeyDerivationAlgorithmIdentifier>
§key_encryption_algorithm: KeyEncryptionAlgorithmIdentifier
§encrypted_key: EncryptedKey
Trait Implementations§
Source§impl Clone for PasswordRecipientInfo
impl Clone for PasswordRecipientInfo
Source§fn clone(&self) -> PasswordRecipientInfo
fn clone(&self) -> PasswordRecipientInfo
Returns a copy 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 PasswordRecipientInfo
impl Debug for PasswordRecipientInfo
Source§impl PartialEq for PasswordRecipientInfo
impl PartialEq for PasswordRecipientInfo
impl Eq for PasswordRecipientInfo
impl StructuralPartialEq for PasswordRecipientInfo
Auto Trait Implementations§
impl !Freeze for PasswordRecipientInfo
impl RefUnwindSafe for PasswordRecipientInfo
impl Send for PasswordRecipientInfo
impl Sync for PasswordRecipientInfo
impl Unpin for PasswordRecipientInfo
impl UnwindSafe for PasswordRecipientInfo
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