Enum httpsig_hyper::prelude::SecretKey
source · pub enum SecretKey {
EcdsaP384Sha384(SecretKey<NistP384>),
EcdsaP256Sha256(SecretKey<NistP256>),
Ed25519(SecretKey),
}Expand description
Secret key for http signature Name conventions follow the IETF draft
Variants§
EcdsaP384Sha384(SecretKey<NistP384>)
ecdsa-p384-sha384
EcdsaP256Sha256(SecretKey<NistP256>)
ecdsa-p256-sha256
Ed25519(SecretKey)
ed25519
Implementations§
Trait Implementations§
source§impl SigningKey for SecretKey
impl SigningKey for SecretKey
Auto Trait Implementations§
impl RefUnwindSafe for SecretKey
impl Send for SecretKey
impl Sync for SecretKey
impl Unpin for SecretKey
impl UnwindSafe for SecretKey
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