[][src]Trait itsdangerous::algorithm::Signer

pub trait Signer: Sized {
    type OutputSize: ArrayLength<u8>;
    fn new(key: &[u8]) -> Self;
fn input(&mut self, value: &[u8]);
fn sign(self) -> Signature<Self::OutputSize>; fn input_chained(self, value: &[u8]) -> Self { ... } }

A trait which implements a Signer, which you can append inputs to, and then generate a final signature with.

Associated Types

Loading content...

Required methods

fn new(key: &[u8]) -> Self

fn input(&mut self, value: &[u8])

fn sign(self) -> Signature<Self::OutputSize>

Loading content...

Provided methods

fn input_chained(self, value: &[u8]) -> Self

Loading content...

Implementors

Loading content...