pub struct EncryptedData {
pub encapsulation_methods: Vec<EncapsulationMechanism>,
pub id: Option<String>,
pub encrypted_type: Option<EncryptedDataType>,
pub key_name: Option<String>,
pub encryption_method: EncryptionMethod,
pub encrypted_keys: Vec<EncryptedKey>,
pub derived_keys: Vec<DerivedKey>,
pub agreement_methods: Vec<AgreementMethod>,
pub cipher_data: CipherData,
}Expand description
Parsed EncryptedData document fragment.
Fields§
§encapsulation_methods: Vec<EncapsulationMechanism>Experimental KEM sources; never silently treated as raw content keys.
id: Option<String>Optional XML identifier.
encrypted_type: Option<EncryptedDataType>Optional plaintext representation hint.
key_name: Option<String>Optional direct ds:KeyName hint from KeyInfo.
encryption_method: EncryptionMethodContent-encryption method.
encrypted_keys: Vec<EncryptedKey>Embedded recipient session keys in KeyInfo document order.
derived_keys: Vec<DerivedKey>Ordered XML derivation candidates. Master material remains request-owned.
agreement_methods: Vec<AgreementMethod>Agreement candidates; trusted private keys remain in request context.
cipher_data: CipherDataContent ciphertext in base64 form.
Trait Implementations§
Source§impl Clone for EncryptedData
impl Clone for EncryptedData
Source§impl Debug for EncryptedData
impl Debug for EncryptedData
impl Eq for EncryptedData
Source§impl PartialEq for EncryptedData
impl PartialEq for EncryptedData
impl StructuralPartialEq for EncryptedData
Auto Trait Implementations§
impl Freeze for EncryptedData
impl RefUnwindSafe for EncryptedData
impl Send for EncryptedData
impl Sync for EncryptedData
impl Unpin for EncryptedData
impl UnsafeUnpin for EncryptedData
impl UnwindSafe for EncryptedData
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