Struct openid::biscuit::jwk::CommonParameters[][src]

pub struct CommonParameters {
    pub public_key_use: Option<PublicKeyUse>,
    pub key_operations: Option<Vec<KeyOperations, Global>>,
    pub algorithm: Option<Algorithm>,
    pub key_id: Option<String>,
    pub x509_url: Option<String>,
    pub x509_chain: Option<Vec<String, Global>>,
    pub x509_fingerprint: Option<String>,
}

Common JWK parameters

Fields

public_key_use: Option<PublicKeyUse>

The intended use of the public key. Should not be specified with key_operations. See sections 4.2 and 4.3 of RFC7517.

key_operations: Option<Vec<KeyOperations, Global>>

The “key_ops” (key operations) parameter identifies the operation(s) for which the key is intended to be used. The “key_ops” parameter is intended for use cases in which public, private, or symmetric keys may be present. Should not be specified with public_key_use. See sections 4.2 and 4.3 of RFC7517.

algorithm: Option<Algorithm>

The algorithm intended for use with the key

key_id: Option<String>

The case sensitive Key ID for the key

x509_url: Option<String>

X.509 Public key cerfificate URL. This is currently not implemented (correctly). Serialized to x5u.

x509_chain: Option<Vec<String, Global>>

X.509 public key certificate chain. This is currently not implemented (correctly). Serialized to x5c.

x509_fingerprint: Option<String>

X.509 Certificate thumbprint. This is currently not implemented (correctly). Also not implemented, is the SHA-256 thumbprint variant of this header. Serialized to x5t.

Trait Implementations

impl Clone for CommonParameters[src]

impl Debug for CommonParameters[src]

impl Default for CommonParameters[src]

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

impl Eq for CommonParameters[src]

impl PartialEq<CommonParameters> for CommonParameters[src]

impl Serialize for CommonParameters[src]

impl StructuralEq for CommonParameters[src]

impl StructuralPartialEq for CommonParameters[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.