Enum biscuit::jwk::KeyOperations [] [src]

pub enum KeyOperations {
    Sign,
    Verify,
    Encrypt,
    Decrypt,
    WrapKey,
    UnwrapKey,
    DeriveKey,
    DeriveBits,
    Other(String),
}

Operations that the key is intended to be used for. This enum is serialized untagged

Variants

Computer digitial 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 operation

Trait Implementations

impl Clone for KeyOperations
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for KeyOperations
[src]

Formats the value using the given formatter.

impl Eq for KeyOperations
[src]

impl PartialEq for KeyOperations
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Serialize for KeyOperations
[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for KeyOperations
[src]

Deserialize this value from the given Serde deserializer. Read more