[][src]Trait splinter::signing::Signer

pub trait Signer {
    fn sign(&self, message: &[u8]) -> Result<Vec<u8>, Error>;
fn public_key(&self) -> &[u8]; }

Signs messages and returns the signers public key

Required methods

fn sign(&self, message: &[u8]) -> Result<Vec<u8>, Error>

fn public_key(&self) -> &[u8]

Loading content...

Implementors

impl Signer for HashSigner[src]

impl<'c> Signer for SawtoothSecp256k1RefSigner<'c>[src]

Loading content...