pub enum EllipticKey {
ES256(ES256),
ES384(ES384),
ES512(ES512),
}Expand description
A known elliptic key
Variants§
ES256(ES256)
ECDSA using the prime-256 curve
ES384(ES384)
ECDSA using the prime-384 curve
ES512(ES512)
ECDSA using the prime-521 curve
Trait Implementations§
Source§impl SignMessage for EllipticKey
impl SignMessage for EllipticKey
Source§impl ToVerifier for EllipticKey
impl ToVerifier for EllipticKey
Source§type Key = EllipticKey
type Key = EllipticKey
The verifying key
Source§fn verifying_key(&self) -> Self::Key
fn verifying_key(&self) -> Self::Key
Create a verifying key from this key.
Auto Trait Implementations§
impl Freeze for EllipticKey
impl RefUnwindSafe for EllipticKey
impl Send for EllipticKey
impl Sync for EllipticKey
impl Unpin for EllipticKey
impl UnwindSafe for EllipticKey
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