Trait mas_oidc_client::jose::constraints::Constrainable
source · pub trait Constrainable {
// Required method
fn kty(&self) -> JsonWebKeyType;
// Provided methods
fn alg(&self) -> Option<&JsonWebSignatureAlg> { ... }
fn algs(&self) -> &[JsonWebSignatureAlg] { ... }
fn kid(&self) -> Option<&str> { ... }
fn use_(&self) -> Option<&JsonWebKeyUse> { ... }
}
Required Methods§
sourcefn kty(&self) -> JsonWebKeyType
fn kty(&self) -> JsonWebKeyType
Key type (kty
) of this key
Provided Methods§
fn alg(&self) -> Option<&JsonWebSignatureAlg>
sourcefn algs(&self) -> &[JsonWebSignatureAlg]
fn algs(&self) -> &[JsonWebSignatureAlg]
List of available algorithms for this key
sourcefn use_(&self) -> Option<&JsonWebKeyUse>
fn use_(&self) -> Option<&JsonWebKeyUse>
Usage specified for this key