Enum kmip_protocol::types::common::CryptographicUsageMask [−][src]
#[repr(u32)]
#[non_exhaustive]
pub enum CryptographicUsageMask {
Show 20 variants
Sign,
Verify,
Encrypt,
Decrypt,
WrapKey,
UnwrapKey,
Export,
MacGenerate,
MacVerify,
DeriveKey,
ContentCommitmentNonRepudiation,
KeyAgreement,
CertificateSign,
CrlSign,
GenerateCryptogram,
ValidateCryptogram,
TranslateEncrypt,
TranslateDecrypt,
TranslateWrap,
TranslateUnwrap,
}
Expand description
See KMIP 1.0 section 3.14 Cryptographic Usage Mask.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations
Trait Implementations
Performs the &=
operation. Read more
Performs the |=
operation. Read more
Performs the ^=
operation. Read more
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
Performs the -=
operation. Read more
Auto Trait Implementations
impl RefUnwindSafe for CryptographicUsageMask
impl Send for CryptographicUsageMask
impl Sync for CryptographicUsageMask
impl Unpin for CryptographicUsageMask
impl UnwindSafe for CryptographicUsageMask
Blanket Implementations
Mutably borrows from an owned value. Read more