pub enum SigningKey {
Rsa(RsaSigningKey),
Elliptic(EllipticSigningKey),
Edwards(EdwardsSigningKey),
}Expand description
Any supported signing key.
Variants§
Rsa(RsaSigningKey)
An RSA key.
Elliptic(EllipticSigningKey)
An elliptic curve key.
Edwards(EdwardsSigningKey)
And Edwards curve key.
Implementations§
Source§impl SigningKey
impl SigningKey
Sourcepub fn verifying_key(&self) -> VerifyingKey
pub fn verifying_key(&self) -> VerifyingKey
Get the verifying key for this signing 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