Enum openid::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

Sign

Computer digitial signature or MAC

Verify

Verify digital signature or MAC

Encrypt

Encrypt content

Decrypt

Decrypt content and validate decryption, if applicable

WrapKey

Encrypt key

UnwrapKey

Decrypt key and validate decryption, if applicable

DeriveKey

Derive key

DeriveBits

Derive bits not to be used as a key

Other(String)

Other operation

Trait Implementations

impl Clone for KeyOperations[src]

impl Debug for KeyOperations[src]

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

impl Eq for KeyOperations[src]

impl PartialEq<KeyOperations> for KeyOperations[src]

impl Serialize for KeyOperations[src]

impl StructuralEq for KeyOperations[src]

impl StructuralPartialEq for KeyOperations[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.