Struct makiko::pubkey::Ed25519Privkey
source · pub struct Ed25519Privkey { /* private fields */ }
Expand description
Ed25519 keypair from RFC 8032.
This key is compatible with SSH_ED25519
. You can convert it to and from
ed25519_dalek::SigningKey
using from()
/into()
.
Implementations§
source§impl Ed25519Privkey
impl Ed25519Privkey
sourcepub fn pubkey(&self) -> Ed25519Pubkey
pub fn pubkey(&self) -> Ed25519Pubkey
Get the public associated with this private key.
Trait Implementations§
source§impl Clone for Ed25519Privkey
impl Clone for Ed25519Privkey
source§impl From<Ed25519Privkey> for SigningKey
impl From<Ed25519Privkey> for SigningKey
source§fn from(privkey: Ed25519Privkey) -> Self
fn from(privkey: Ed25519Privkey) -> Self
Converts to this type from the input type.
source§impl From<SigningKey> for Ed25519Privkey
impl From<SigningKey> for Ed25519Privkey
source§fn from(signing: SigningKey) -> Self
fn from(signing: SigningKey) -> Self
Converts to this type from the input type.
source§impl PartialEq<Ed25519Privkey> for Ed25519Privkey
impl PartialEq<Ed25519Privkey> for Ed25519Privkey
impl Eq for Ed25519Privkey
Auto Trait Implementations§
impl RefUnwindSafe for Ed25519Privkey
impl Send for Ed25519Privkey
impl Sync for Ed25519Privkey
impl Unpin for Ed25519Privkey
impl UnwindSafe for Ed25519Privkey
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