pub struct SkEd25519 { /* private fields */ }Available on crate feature
alloc only.Expand description
Security Key (FIDO/U2F) Ed25519 private key as specified in PROTOCOL.u2f.
Implementations§
Trait Implementations§
Source§impl Encode for SkEd25519
impl Encode for SkEd25519
Source§fn encoded_len(&self) -> Result<usize>
fn encoded_len(&self) -> Result<usize>
Get the length of this type encoded in bytes, prior to Base64 encoding. Read more
Source§fn encoded_len_prefixed(&self) -> Result<usize, Error>
fn encoded_len_prefixed(&self) -> Result<usize, Error>
Return the length of this type after encoding when prepended with a
uint32 length prefix. Read moreSource§impl From<SkEd25519> for KeypairData
impl From<SkEd25519> for KeypairData
Source§fn from(keypair: SkEd25519) -> KeypairData
fn from(keypair: SkEd25519) -> KeypairData
Converts to this type from the input type.
Source§impl From<SkEd25519> for PrivateKey
impl From<SkEd25519> for PrivateKey
Source§fn from(keypair: SkEd25519) -> PrivateKey
fn from(keypair: SkEd25519) -> PrivateKey
Converts to this type from the input type.
Source§impl Ord for SkEd25519
impl Ord for SkEd25519
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for SkEd25519
impl PartialOrd for SkEd25519
impl Eq for SkEd25519
impl StructuralPartialEq for SkEd25519
Auto Trait Implementations§
impl Freeze for SkEd25519
impl RefUnwindSafe for SkEd25519
impl Send for SkEd25519
impl Sync for SkEd25519
impl Unpin for SkEd25519
impl UnsafeUnpin for SkEd25519
impl UnwindSafe for SkEd25519
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