Trait forest_crypto::Signer[][src]

pub trait Signer {
    fn sign_bytes(
        &self,
        data: &[u8],
        address: &Address
    ) -> Result<Signature, Box<dyn Error>>; }
Expand description

Signer is a trait which allows a key implementation to sign data for an address

Required methods

Function signs any arbitrary data given the Address.

Implementors