[][src]Struct jws::hmac::Hs384Signer

pub struct Hs384Signer<Key: AsRef<[u8]>> { /* fields omitted */ }

Message signer using HMAC-SHA-384.

Methods

impl<K: AsRef<[u8]>> Hs384Signer<K>[src]

pub fn new(key: K) -> Self[src]

Create a HS384 signer.

Trait Implementations

impl<Key: Clone + AsRef<[u8]>> Clone for Hs384Signer<Key>[src]

impl<Key: Debug + AsRef<[u8]>> Debug for Hs384Signer<Key>[src]

impl<K: AsRef<[u8]>> Signer for Hs384Signer<K>[src]

Auto Trait Implementations

impl<Key> RefUnwindSafe for Hs384Signer<Key> where
    Key: RefUnwindSafe

impl<Key> Send for Hs384Signer<Key> where
    Key: Send

impl<Key> Sync for Hs384Signer<Key> where
    Key: Sync

impl<Key> Unpin for Hs384Signer<Key> where
    Key: Unpin

impl<Key> UnwindSafe for Hs384Signer<Key> where
    Key: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.