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: CmsVersionkey_derivation_algorithm: Option<KeyDerivationAlgorithmIdentifier>key_encryption_algorithm: KeyEncryptionAlgorithmIdentifierencrypted_key: EncryptedKeyTrait Implementations
sourceimpl Clone for PasswordRecipientInfo
impl Clone for PasswordRecipientInfo
sourcefn clone(&self) -> PasswordRecipientInfo
fn clone(&self) -> PasswordRecipientInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for PasswordRecipientInfo
impl Debug for PasswordRecipientInfo
sourceimpl PartialEq<PasswordRecipientInfo> for PasswordRecipientInfo
impl PartialEq<PasswordRecipientInfo> for PasswordRecipientInfo
sourcefn eq(&self, other: &PasswordRecipientInfo) -> bool
fn eq(&self, other: &PasswordRecipientInfo) -> bool
impl Eq for PasswordRecipientInfo
impl StructuralEq for PasswordRecipientInfo
impl StructuralPartialEq for PasswordRecipientInfo
Auto Trait Implementations
impl RefUnwindSafe for PasswordRecipientInfo
impl Send for PasswordRecipientInfo
impl Sync for PasswordRecipientInfo
impl Unpin for PasswordRecipientInfo
impl UnwindSafe for PasswordRecipientInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.