Struct jws::crypto::MacSigner

source ·
pub struct MacSigner<M>(pub M);
Expand description

Message signer that supports the HS256, HS384 and HS512 algorithms using rust-crypto.

Tuple Fields

0: M

Trait Implementations

Set the header parameters to indicate how the message should be verified. Read more
Compute the Message Authentication Code for the encoded protected header and encoded payload. Read more
Set the header parameters to indicate how the message should be verified. Read more
Compute the Message Authentication Code for the encoded protected header and encoded payload. Read more
Set the header parameters to indicate how the message should be verified. Read more
Compute the Message Authentication Code for the encoded protected header and encoded payload. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.