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: CmsVersionrid: RecipientIdentifierkey_encryption_algorithm: KeyEncryptionAlgorithmIdentifierencrypted_key: EncryptedKeyTrait Implementations
sourceimpl Clone for KeyTransRecipientInfo
impl Clone for KeyTransRecipientInfo
sourcefn clone(&self) -> KeyTransRecipientInfo
fn clone(&self) -> KeyTransRecipientInfo
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 KeyTransRecipientInfo
impl Debug for KeyTransRecipientInfo
sourceimpl PartialEq<KeyTransRecipientInfo> for KeyTransRecipientInfo
impl PartialEq<KeyTransRecipientInfo> for KeyTransRecipientInfo
sourcefn eq(&self, other: &KeyTransRecipientInfo) -> bool
fn eq(&self, other: &KeyTransRecipientInfo) -> bool
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
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.