Trait tpfs_krypt::Signing
source · pub trait Signing: Send + Sync {
// Required method
fn sign(
&self,
address: &KeyIdentifier,
message: &[u8]
) -> Result<Box<dyn Signature>>;
}Expand description
A trait that specifies any of the signing portions which is shared publicly via KeyManagement trait.