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
impl Eq for KeyAgreeRecipientInfo
impl StructuralPartialEq for KeyAgreeRecipientInfo
Auto Trait Implementations§
impl !Freeze for KeyAgreeRecipientInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)