Enum biscuit::jwa::KeyManagementAlgorithmType
[−]
[src]
pub enum KeyManagementAlgorithmType { SymmetricKeyWrapping, AsymmetricKeyEncryption, DirectKeyAgreement, KeyAgreementWithKeyWrapping, DirectEncryption, }
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
impl Debug for KeyManagementAlgorithmType
[src]
impl Eq for KeyManagementAlgorithmType
[src]
impl PartialEq for KeyManagementAlgorithmType
[src]
fn eq(&self, __arg_0: &KeyManagementAlgorithmType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Copy for KeyManagementAlgorithmType
[src]
impl Clone for KeyManagementAlgorithmType
[src]
fn clone(&self) -> KeyManagementAlgorithmType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more