pub enum AnyES {
ES256K,
ES256KR,
ESKeccakK,
ESKeccakKR,
}Expand description
ECDSA using secp256k1 (K-256) and SHA-256, with or without recovery bit.
Variants§
ES256K
ECDSA using secp256k1 (K-256) and SHA-256, without recovery bit.
ES256KR
ECDSA using secp256k1 (K-256) and SHA-256, with recovery bit.
ESKeccakK
ESKeccakKR
ECDSA using secp256k1 (K-256) and Keccak-256 with a recovery bit.
Like ES256K-R but using Keccak-256 instead of SHA-256.
Trait Implementations§
Source§impl Ord for AnyES
impl Ord for AnyES
Source§impl PartialOrd for AnyES
impl PartialOrd for AnyES
Source§impl SignatureAlgorithmInstance for AnyES
impl SignatureAlgorithmInstance for AnyES
impl Copy for AnyES
impl Eq for AnyES
impl StructuralPartialEq for AnyES
Auto Trait Implementations§
impl Freeze for AnyES
impl RefUnwindSafe for AnyES
impl Send for AnyES
impl Sync for AnyES
impl Unpin for AnyES
impl UnwindSafe for AnyES
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