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.
source§fn encode(&self, writer: &mut impl Writer) -> Result<()>
fn encode(&self, writer: &mut impl Writer) -> Result<()>
Encode this value using the provided
Writer.source§fn encoded_len_prefixed(&self) -> Result<usize, Self::Error>
fn encoded_len_prefixed(&self) -> Result<usize, Self::Error>
Return the length of this type after encoding when prepended with a
uint32 length prefix.source§fn encode_prefixed(&self, writer: &mut impl Writer) -> Result<(), Self::Error>
fn encode_prefixed(&self, writer: &mut impl Writer) -> Result<(), Self::Error>
Encode this value, first prepending a
uint32 length prefix
set to Encode::encoded_len.source§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
source§impl PartialEq<SkEd25519> for SkEd25519
impl PartialEq<SkEd25519> for SkEd25519
source§impl PartialOrd<SkEd25519> for SkEd25519
impl PartialOrd<SkEd25519> for SkEd25519
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more