Trait jwt_simple::algorithms::RSAKeyPairLike[][src]

pub trait RSAKeyPairLike {
    fn jwt_alg_name() -> &'static str;
fn key_pair(&self) -> &RSAKeyPair;
fn key_id(&self) -> &Option<String>;
fn hash(message: &[u8]) -> Vec<u8>;
fn padding_scheme(&self) -> PaddingScheme; fn sign<CustomClaims: Serialize + DeserializeOwned>(
        &self,
        claims: JWTClaims<CustomClaims>
    ) -> Result<String, Error> { ... } }

Required methods

Provided methods

Implementors