pub struct KeyAgreeRecipientInfo {
pub version: CmsVersion,
pub originator: OriginatorIdentifierOrKey,
pub ukm: Option<UserKeyingMaterial>,
pub key_encryption_algorithm: KeyEncryptionAlgorithmIdentifier,
pub recipient_encrypted_keys: Vec<RecipientEncryptedKey>,
}
Expand description
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: CmsVersion
§originator: OriginatorIdentifierOrKey
§ukm: Option<UserKeyingMaterial>
§key_encryption_algorithm: KeyEncryptionAlgorithmIdentifier
§recipient_encrypted_keys: Vec<RecipientEncryptedKey>
Trait Implementations§
source§impl Clone for KeyAgreeRecipientInfo
impl Clone for KeyAgreeRecipientInfo
source§fn clone(&self) -> KeyAgreeRecipientInfo
fn clone(&self) -> KeyAgreeRecipientInfo
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 KeyAgreeRecipientInfo
impl Debug for KeyAgreeRecipientInfo
source§impl PartialEq for KeyAgreeRecipientInfo
impl PartialEq for KeyAgreeRecipientInfo
source§fn eq(&self, other: &KeyAgreeRecipientInfo) -> bool
fn eq(&self, other: &KeyAgreeRecipientInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for KeyAgreeRecipientInfo
impl StructuralEq for KeyAgreeRecipientInfo
impl StructuralPartialEq for KeyAgreeRecipientInfo
Auto Trait Implementations§
impl RefUnwindSafe for KeyAgreeRecipientInfo
impl Send for KeyAgreeRecipientInfo
impl Sync for KeyAgreeRecipientInfo
impl Unpin for KeyAgreeRecipientInfo
impl UnwindSafe for KeyAgreeRecipientInfo
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.