Enum jsonwebtoken::jwk::KeyOperations [−][src]
pub enum KeyOperations {
Sign,
Verify,
Encrypt,
Decrypt,
WrapKey,
UnwrapKey,
DeriveKey,
DeriveBits,
Other(String),
}Expand description
Operations that the key is intended to be used for. This enum is serialized untagged
Variants
Computer digital signature or MAC
Verify digital signature or MAC
Encrypt content
Decrypt content and validate decryption, if applicable
Encrypt key
Decrypt key and validate decryption, if applicable
Derive key
Derive bits not to be used as a key
Other(String)Other operation
Tuple Fields of Other
0: StringTrait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for KeyOperations
impl Send for KeyOperations
impl Sync for KeyOperations
impl Unpin for KeyOperations
impl UnwindSafe for KeyOperations
Blanket Implementations
Mutably borrows from an owned value. Read more