pub struct EdDSA;
Expand description
Edwards-curve Digital Signature Algorithm (EdDSA) using SHA-256.
The following curves are defined for use with EdDSA
:
Ed25519
Ed448
Trait Implementations§
Source§impl From<EdDSA> for AlgorithmInstance
impl From<EdDSA> for AlgorithmInstance
Source§impl SignatureAlgorithmInstance for EdDSA
impl SignatureAlgorithmInstance for EdDSA
Source§impl TryFrom<AlgorithmInstance> for EdDSA
impl TryFrom<AlgorithmInstance> for EdDSA
Source§type Error = UnsupportedAlgorithm
type Error = UnsupportedAlgorithm
The type returned in the event of a conversion error.
impl Copy for EdDSA
impl Eq for EdDSA
impl StructuralPartialEq for EdDSA
Auto Trait Implementations§
impl Freeze for EdDSA
impl RefUnwindSafe for EdDSA
impl Send for EdDSA
impl Sync for EdDSA
impl Unpin for EdDSA
impl UnwindSafe for EdDSA
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more