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