pub trait FromJwk: Sized {
    fn from_jwk_parts(jwk: JwkParts<'_>) -> Result<Self, Error>;

    fn from_jwk(jwk: &str) -> Result<Self, Error> { ... }
    fn from_jwk_slice(jwk: &[u8]) -> Result<Self, Error> { ... }
}
Expand description

Support for loading a key instance from a JWK

Required Methods

Import the key from a pre-parsed JWK

Provided Methods

Import the key from a JWK string reference

Import the key from a JWK byte slice

Implementations on Foreign Types

Implementors