pub struct JWKPublicKey {
    pub alg: String,
    pub crv: String,
    pub kid: String,
    pub kty: String,
    pub use_: String,
    pub x: String,
    pub y: String,
    pub created_at: i64,
    pub expired_at: Option<i64>,
}

Fields

alg: String

The alg member identifies the cryptographic algorithm family used with the key.

crv: String

The crv member identifies the cryptographic curve used with the key.

kid: String

The kid (Key ID) member can be used to match a specific key. This can be used, for instance, to choose among a set of keys within the JWK during key rollover.

kty: String

The kty (key type) parameter identifies the cryptographic algorithm family used with the key, such as RSA or EC.

use_: String

The use (public key use) parameter identifies the intended use of the public key.

x: String

The x member contains the x coordinate for the elliptic curve point.

y: String

The y member contains the y coordinate for the elliptic curve point.

created_at: i64

The timestamp when the key was created, in Unix time.

expired_at: Option<i64>

The timestamp when the key expired, in Unix time.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more