pub struct EncryptedKey {
pub sources: EncryptionKeySources,
pub id: Option<String>,
pub recipient: Option<String>,
pub key_name: Option<String>,
pub encryption_method: EncryptionMethod,
pub cipher_data: CipherData,
pub reference_list: Option<ReferenceList>,
pub carried_key_name: Option<String>,
}Expand description
Parsed embedded EncryptedKey used to recover a content-encryption key.
Fields§
§sources: EncryptionKeySourcesSources of the key which protects this transported key. These are not alternative content keys: their output feeds this key’s EncryptionMethod.
id: Option<String>Optional XML identifier.
recipient: Option<String>Optional recipient hint.
key_name: Option<String>Optional direct ds:KeyName hint from the key’s KeyInfo.
encryption_method: EncryptionMethodMethod which wrapped the session key.
cipher_data: CipherDataWrapped session-key bytes in base64 form.
reference_list: Option<ReferenceList>Optional references identifying data or keys associated with this key.
carried_key_name: Option<String>Optional name associated with the transported plaintext key.
Trait Implementations§
Source§impl Clone for EncryptedKey
impl Clone for EncryptedKey
Source§impl Debug for EncryptedKey
impl Debug for EncryptedKey
impl Eq for EncryptedKey
Source§impl PartialEq for EncryptedKey
impl PartialEq for EncryptedKey
impl StructuralPartialEq for EncryptedKey
Auto Trait Implementations§
impl Freeze for EncryptedKey
impl RefUnwindSafe for EncryptedKey
impl Send for EncryptedKey
impl Sync for EncryptedKey
impl Unpin for EncryptedKey
impl UnsafeUnpin for EncryptedKey
impl UnwindSafe for EncryptedKey
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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