Struct mail_auth::common::crypto::Ed25519Key
source · pub struct Ed25519Key { /* private fields */ }Implementations§
source§impl Ed25519Key
impl Ed25519Key
pub fn from_pkcs8_der(pkcs8_der: &[u8]) -> Result<Self>
pub fn from_pkcs8_maybe_unchecked_der(pkcs8_der: &[u8]) -> Result<Self>
pub fn from_seed_and_public_key(seed: &[u8], public_key: &[u8]) -> Result<Self>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Ed25519Key
impl Send for Ed25519Key
impl Sync for Ed25519Key
impl Unpin for Ed25519Key
impl UnwindSafe for Ed25519Key
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