pub struct Ed25519SigningKey { /* private fields */ }Trait Implementations§
Source§impl Debug for Ed25519SigningKey
impl Debug for Ed25519SigningKey
Source§impl SigningKey for Ed25519SigningKey
impl SigningKey for Ed25519SigningKey
Source§fn choose_scheme(&self, offered: &[SignatureScheme]) -> Option<Box<dyn Signer>>
fn choose_scheme(&self, offered: &[SignatureScheme]) -> Option<Box<dyn Signer>>
Choose a
SignatureScheme from those offered. Read moreSource§fn algorithm(&self) -> SignatureAlgorithm
fn algorithm(&self) -> SignatureAlgorithm
What kind of key we have.
Source§fn public_key(&self) -> Option<SubjectPublicKeyInfoDer<'_>>
fn public_key(&self) -> Option<SubjectPublicKeyInfoDer<'_>>
Get the RFC 5280-compliant SubjectPublicKeyInfo (SPKI) of this
SigningKey if available.Source§impl TryFrom<&PrivateKeyDer<'_>> for Ed25519SigningKey
impl TryFrom<&PrivateKeyDer<'_>> for Ed25519SigningKey
Auto Trait Implementations§
impl Freeze for Ed25519SigningKey
impl RefUnwindSafe for Ed25519SigningKey
impl Send for Ed25519SigningKey
impl Sync for Ed25519SigningKey
impl Unpin for Ed25519SigningKey
impl UnwindSafe for Ed25519SigningKey
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