pub enum AlgorithmType {
SymmetricKeyWrapping,
AsymmetricKeyEncryption,
DirectKeyAgreement,
KeyAgreementWithKeyWrapping,
DirectEncryption,
}
Expand description
Describes the type of operations that the key management algorithm supports with respect to a Content Encryption Key (CEK)
Variants§
SymmetricKeyWrapping
Wraps a randomly generated CEK using a symmetric encryption algorithm
AsymmetricKeyEncryption
Encrypt a randomly generated CEK using an asymmetric encryption algorithm,
DirectKeyAgreement
A key agreement algorithm to pick a CEK
KeyAgreementWithKeyWrapping
A key agreement algorithm used to pick a symmetric CEK and wrap the CEK with a symmetric encryption algorithm
DirectEncryption
A user defined symmetric shared key is the CEK
Trait Implementations§
Source§impl Clone for AlgorithmType
impl Clone for AlgorithmType
Source§fn clone(&self) -> AlgorithmType
fn clone(&self) -> AlgorithmType
Returns a duplicate 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 AlgorithmType
impl Debug for AlgorithmType
Source§impl<'de> Deserialize<'de> for AlgorithmType
impl<'de> Deserialize<'de> for AlgorithmType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AlgorithmType
impl PartialEq for AlgorithmType
Source§impl Serialize for AlgorithmType
impl Serialize for AlgorithmType
impl Copy for AlgorithmType
impl Eq for AlgorithmType
impl StructuralPartialEq for AlgorithmType
Auto Trait Implementations§
impl Freeze for AlgorithmType
impl RefUnwindSafe for AlgorithmType
impl Send for AlgorithmType
impl Sync for AlgorithmType
impl Unpin for AlgorithmType
impl UnwindSafe for AlgorithmType
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.