Struct jwt_simple::algorithms::RS256PublicKey
source · pub struct RS256PublicKey { /* private fields */ }
Implementations§
source§impl RS256PublicKey
impl RS256PublicKey
pub fn from_der(der: &[u8]) -> Result<Self, Error>
pub fn from_pem(pem: &str) -> Result<Self, Error>
pub fn from_components(n: &[u8], e: &[u8]) -> Result<Self, Error>
pub fn to_der(&self) -> Result<Vec<u8>, Error>
pub fn to_pem(&self) -> Result<String, Error>
pub fn to_components(&self) -> RSAPublicKeyComponents
pub fn with_key_id(self, key_id: &str) -> Self
pub fn sha1_thumbprint(&self) -> String
pub fn sha256_thumbprint(&self) -> String
Trait Implementations§
source§impl Clone for RS256PublicKey
impl Clone for RS256PublicKey
source§fn clone(&self) -> RS256PublicKey
fn clone(&self) -> RS256PublicKey
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more