Trait SigningKey
pub trait SigningKey: PublicKeyData {
// Required method
fn sign(&self, msg: &[u8]) -> Result<Vec<u8>, Error>;
}Available on (crate features
rustls or boring or acme) and crate feature rustls only.Expand description
A key that can be used to sign messages
Required Methods§
Implementations on Foreign Types§
§impl<S> SigningKey for &Swhere
S: SigningKey + ?Sized,
impl<S> SigningKey for &Swhere
S: SigningKey + ?Sized,
Implementors§
impl SigningKey for KeyPair
Available on crate feature
crypto only.