Trait iota_types::crypto::Signer
pub trait Signer<Sig> {
// Required method
fn sign(&self, msg: &[u8]) -> Sig;
}
Expand description
Trait impl’d by a key/keypair that can create signatures.
pub trait Signer<Sig> {
// Required method
fn sign(&self, msg: &[u8]) -> Sig;
}
Trait impl’d by a key/keypair that can create signatures.