pub struct KeyTransRecipientInfo {
pub version: CmsVersion,
pub rid: RecipientIdentifier,
pub key_encryption_algorithm: KeyEncryptionAlgorithmIdentifier,
pub encrypted_key: EncryptedKey,
}
Expand description
Key trans recipient info.
KeyTransRecipientInfo ::= SEQUENCE {
version CMSVersion, -- always set to 0 or 2
rid RecipientIdentifier,
keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier,
encryptedKey EncryptedKey }
Fields§
§version: CmsVersion
§rid: RecipientIdentifier
§key_encryption_algorithm: KeyEncryptionAlgorithmIdentifier
§encrypted_key: EncryptedKey
Trait Implementations§
source§impl Clone for KeyTransRecipientInfo
impl Clone for KeyTransRecipientInfo
source§fn clone(&self) -> KeyTransRecipientInfo
fn clone(&self) -> KeyTransRecipientInfo
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 KeyTransRecipientInfo
impl Debug for KeyTransRecipientInfo
source§impl PartialEq for KeyTransRecipientInfo
impl PartialEq for KeyTransRecipientInfo
source§fn eq(&self, other: &KeyTransRecipientInfo) -> bool
fn eq(&self, other: &KeyTransRecipientInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for KeyTransRecipientInfo
impl StructuralEq for KeyTransRecipientInfo
impl StructuralPartialEq for KeyTransRecipientInfo
Auto Trait Implementations§
impl RefUnwindSafe for KeyTransRecipientInfo
impl Send for KeyTransRecipientInfo
impl Sync for KeyTransRecipientInfo
impl Unpin for KeyTransRecipientInfo
impl UnwindSafe for KeyTransRecipientInfo
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.