Trait SigningKey
pub trait SigningKey: PublicKeyData {
// Required method
fn sign(&self, msg: &[u8]) -> Result<Vec<u8>, Error>;
}Available on crate feature
crypto only.Expand description
A key that can be used to sign messages