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

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

Common JWK parameters

Fields

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

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.

The algorithm intended for use with the key

The case sensitive Key ID for the key

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

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

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 Debug for CommonParameters
[src]

[src]

Formats the value using the given formatter.

impl Clone for CommonParameters
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for CommonParameters
[src]

impl PartialEq for CommonParameters
[src]

[src]

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

[src]

This method tests for !=.

impl Default for CommonParameters
[src]

[src]

Returns the "default value" for a type. Read more