Struct cryptographic_message_syntax::asn1::rfc5652::KeyAgreeRecipientInfo[][src]

pub struct KeyAgreeRecipientInfo {
    pub version: CmsVersion,
    pub originator: OriginatorIdentifierOrKey,
    pub ukm: Option<UserKeyingMaterial>,
    pub key_encryption_algorithm: KeyEncryptionAlgorithmIdentifier,
    pub recipient_encrypted_keys: Vec<RecipientEncryptedKey>,
}

Key agreement recipient info.

KeyAgreeRecipientInfo ::= SEQUENCE {
  version CMSVersion,  -- always set to 3
  originator [0] EXPLICIT OriginatorIdentifierOrKey,
  ukm [1] EXPLICIT UserKeyingMaterial OPTIONAL,
  keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier,
  recipientEncryptedKeys RecipientEncryptedKeys }

Fields

version: CmsVersionoriginator: OriginatorIdentifierOrKeyukm: Option<UserKeyingMaterial>key_encryption_algorithm: KeyEncryptionAlgorithmIdentifierrecipient_encrypted_keys: Vec<RecipientEncryptedKey>

Trait Implementations

impl Clone for KeyAgreeRecipientInfo[src]

impl Debug for KeyAgreeRecipientInfo[src]

impl Eq for KeyAgreeRecipientInfo[src]

impl PartialEq<KeyAgreeRecipientInfo> for KeyAgreeRecipientInfo[src]

impl StructuralEq for KeyAgreeRecipientInfo[src]

impl StructuralPartialEq for KeyAgreeRecipientInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.