pub enum KeyEncryptionKeySource<'a> {
Encapsulation(&'a EncapsulationMechanism),
Direct,
Encrypted(&'a EncryptedKey),
Agreement(&'a AgreementMethod),
Derived(&'a DerivedKey),
}Expand description
Supplies a content-encryption key for parsed XMLEnc data. A source resolved for a wrapping algorithm. Its output is never implicitly treated as a CEK or exported from a non-exportable provider handle.
Variants§
Encapsulation(&'a EncapsulationMechanism)
Experimental KEM producing this operation’s wrapping key.
Direct
Application-owned key material without transported establishment hints.
Encrypted(&'a EncryptedKey)
A key transporting this operation’s wrapping key.
Agreement(&'a AgreementMethod)
Agreement producing this operation’s wrapping key.
Derived(&'a DerivedKey)
Derivation producing this operation’s wrapping key.
Auto Trait Implementations§
impl<'a> Freeze for KeyEncryptionKeySource<'a>
impl<'a> RefUnwindSafe for KeyEncryptionKeySource<'a>
impl<'a> Send for KeyEncryptionKeySource<'a>
impl<'a> Sync for KeyEncryptionKeySource<'a>
impl<'a> Unpin for KeyEncryptionKeySource<'a>
impl<'a> UnsafeUnpin for KeyEncryptionKeySource<'a>
impl<'a> UnwindSafe for KeyEncryptionKeySource<'a>
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