pub enum SigningKey {
Elliptic(EllipticKey),
Edwards(EdwardsKey),
Rsa(RsaKey),
}Expand description
A known signing key
Variants§
Trait Implementations§
Source§impl FromDer for SigningKey
impl FromDer for SigningKey
Source§impl SignMessage for SigningKey
impl SignMessage for SigningKey
Source§impl ToVerifier for SigningKey
impl ToVerifier for SigningKey
Source§type Key = VerifyingKey
type Key = VerifyingKey
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 SigningKey
impl RefUnwindSafe for SigningKey
impl Send for SigningKey
impl Sync for SigningKey
impl Unpin for SigningKey
impl UnwindSafe for SigningKey
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