Struct parity_crypto::hmac::Signer [−][src]
pub struct Signer<T>(_, _);
Stateful HMAC computation.
Methods
impl<T> Signer<T>
[src]
impl<T> Signer<T>
pub fn with(key: &SigKey<T>) -> Signer<T>
[src]
pub fn with(key: &SigKey<T>) -> Signer<T>
pub fn update(&mut self, data: &[u8])
[src]
pub fn update(&mut self, data: &[u8])
pub fn sign(self) -> Signature<T>
[src]
pub fn sign(self) -> Signature<T>