Struct jwt_simple::algorithms::Ed25519PublicKey
source · pub struct Ed25519PublicKey { /* private fields */ }
Implementations§
source§impl Ed25519PublicKey
impl Ed25519PublicKey
pub fn from_bytes(raw: &[u8]) -> Result<Self, Error>
pub fn from_der(der: &[u8]) -> Result<Self, Error>
pub fn from_pem(pem: &str) -> Result<Self, Error>
pub fn to_bytes(&self) -> Vec<u8>
pub fn to_der(&self) -> Vec<u8>
pub fn to_pem(&self) -> String
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 Ed25519PublicKey
impl Clone for Ed25519PublicKey
source§fn clone(&self) -> Ed25519PublicKey
fn clone(&self) -> Ed25519PublicKey
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