pub struct Ed25519KeyPair { /* private fields */ }Implementations§
Source§impl Ed25519KeyPair
impl Ed25519KeyPair
pub fn generate() -> Self
pub fn generate_with_kid(kid: &str) -> Self
pub fn thumbprint(&self) -> &str
pub fn kid(&self) -> Option<&str>
pub fn public_jwk(&self) -> OkpJwk
pub fn signing_jwk(&self) -> OkpSigningJwk
pub fn encoding_key(&self) -> EncodingKey
pub fn jwk_set(&self) -> JwkSet
Trait Implementations§
Source§impl Clone for Ed25519KeyPair
impl Clone for Ed25519KeyPair
Source§fn clone(&self) -> Ed25519KeyPair
fn clone(&self) -> Ed25519KeyPair
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl OkpSigningKey for Ed25519KeyPair
impl OkpSigningKey for Ed25519KeyPair
fn thumbprint(&self) -> &str
fn kid(&self) -> Option<&str>
fn public_jwk(&self) -> OkpJwk
fn signing_jwk(&self) -> OkpSigningJwk
fn encoding_key(&self) -> EncodingKey
fn jwk_set(&self) -> JwkSet
Auto Trait Implementations§
impl Freeze for Ed25519KeyPair
impl RefUnwindSafe for Ed25519KeyPair
impl Send for Ed25519KeyPair
impl Sync for Ed25519KeyPair
impl Unpin for Ed25519KeyPair
impl UnsafeUnpin for Ed25519KeyPair
impl UnwindSafe for Ed25519KeyPair
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more