Trait ruma::signatures::KeyPair
source · pub trait KeyPair: Sized {
// Required method
fn sign(&self, message: &[u8]) -> Signature;
}
Available on crate feature
signatures
only.Expand description
A cryptographic key pair for digitally signing data.
Required Methods§
Object Safety§
This trait is not object safe.