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
source§fn eq(&self, other: &PasswordRecipientInfo) -> bool
fn eq(&self, other: &PasswordRecipientInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.