Struct plaid::model::JwkPublicKey
source · pub struct JwkPublicKey {
pub alg: String,
pub created_at: i64,
pub crv: String,
pub expired_at: Option<i64>,
pub kid: String,
pub kty: String,
pub use_: String,
pub x: String,
pub y: String,
}
Expand description
A JSON Web Key (JWK) that can be used in conjunction with JWT libraries to verify Plaid webhooks
Fields§
§alg: String
The alg member identifies the cryptographic algorithm family used with the key.
created_at: i64
The timestamp when the key was created, in Unix time.
crv: String
The crv member identifies the cryptographic curve used with the key.
expired_at: Option<i64>
The timestamp when the key expired, in Unix time.
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, provided as a base64url-encoded string of the coordinate’s big endian representation.
y: String
The y member contains the y coordinate for the elliptic curve point, provided as a base64url-encoded string of the coordinate’s big endian representation.
Trait Implementations§
source§impl Clone for JwkPublicKey
impl Clone for JwkPublicKey
source§fn clone(&self) -> JwkPublicKey
fn clone(&self) -> JwkPublicKey
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more