[][src]Trait dsf_core::crypto::Signer

pub trait Signer {
    type Error;
    fn sign(&mut self, id: &Id, data: &[u8]) -> Result<Signature, Self::Error>;
}

Signer trait, used for generating page signatures

Associated Types

type Error

Loading content...

Required methods

fn sign(&mut self, id: &Id, data: &[u8]) -> Result<Signature, Self::Error>

Loading content...

Implementors

Loading content...