Skip to main content

Signer

Trait Signer 

Source
pub trait Signer: Send + Sync {
    // Required method
    fn sign(&self, string_to_sign: &[u8]) -> Result<Vec<u8>>;
}
Expand description

Sign a payload, see CryptoProvider::sign

Required Methods§

Source

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

Sign the provided payload

Implementors§