Trait jwt_simple::algorithms::RSAPublicKeyLike[][src]

pub trait RSAPublicKeyLike {
    fn jwt_alg_name() -> &'static str;
fn public_key(&self) -> &RSAPublicKey;
fn key_id(&self) -> &Option<String>;
fn set_key_id(&mut self, key_id: String);
fn hash(message: &[u8]) -> Vec<u8>;
fn padding_scheme(&self) -> PaddingScheme; fn verify_token<CustomClaims: Serialize + DeserializeOwned>(
        &self,
        token: &str,
        options: Option<VerificationOptions>
    ) -> Result<JWTClaims<CustomClaims>, Error> { ... } }

Required methods

Provided methods

Implementors