pub struct Ed25519SigningKey(/* private fields */);Expand description
A signing key.
Implementations§
Source§impl Ed25519SigningKey
impl Ed25519SigningKey
Sourcepub fn from_slice(raw: &[u8]) -> Result<Ed25519SigningKey>
pub fn from_slice(raw: &[u8]) -> Result<Ed25519SigningKey>
Create a signing key from a slice.
Sourcepub fn to_verifying_key(&self) -> PublicKey
pub fn to_verifying_key(&self) -> PublicKey
Convert a signing key to a verification key.
Trait Implementations§
Source§impl AsRef<SecretKey> for Ed25519SigningKey
impl AsRef<SecretKey> 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 UnsafeUnpin 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