Struct jws::hmac::Hs256Signer
source · Expand description
Message signer using HMAC-SHA-256.
Implementations
Trait Implementations
sourceimpl<Key: Clone + AsRef<[u8]>> Clone for Hs256Signer<Key>
impl<Key: Clone + AsRef<[u8]>> Clone for Hs256Signer<Key>
sourcefn clone(&self) -> Hs256Signer<Key>
fn clone(&self) -> Hs256Signer<Key>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<K: AsRef<[u8]>> Signer for Hs256Signer<K>
impl<K: AsRef<[u8]>> Signer for Hs256Signer<K>
sourcefn set_header_params(&self, header: &mut JsonObject)
fn set_header_params(&self, header: &mut JsonObject)
Set the header parameters to indicate how the message should be verified. Read more
Auto Trait Implementations
impl<Key> RefUnwindSafe for Hs256Signer<Key>where
Key: RefUnwindSafe,
impl<Key> Send for Hs256Signer<Key>where
Key: Send,
impl<Key> Sync for Hs256Signer<Key>where
Key: Sync,
impl<Key> Unpin for Hs256Signer<Key>where
Key: Unpin,
impl<Key> UnwindSafe for Hs256Signer<Key>where
Key: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more