mas_jose::jwk

Type Alias PublicJsonWebKey

Source
pub type PublicJsonWebKey = JsonWebKey<JsonWebKeyPublicParameters>;

Aliased Type§

struct PublicJsonWebKey { /* private fields */ }

Trait Implementations§

Source§

impl TryFrom<JsonWebKey<JsonWebKeyPrivateParameters>> for PublicJsonWebKey

Source§

type Error = SymetricKeyError

The type returned in the event of a conversion error.
Source§

fn try_from(value: PrivateJsonWebKey) -> Result<Self, Self::Error>

Performs the conversion.