[−][src]Struct jws::hmac::Hs512Signer
Message signer using HMAC-SHA-512.
Methods
impl<K: AsRef<[u8]>> Hs512Signer<K>
[src]
Trait Implementations
impl<Key: Clone + AsRef<[u8]>> Clone for Hs512Signer<Key>
[src]
fn clone(&self) -> Hs512Signer<Key>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<Key: Debug + AsRef<[u8]>> Debug for Hs512Signer<Key>
[src]
impl<K: AsRef<[u8]>> Signer for Hs512Signer<K>
[src]
fn set_header_params(&self, header: &mut JsonObject)
[src]
fn compute_mac(
&self,
encoded_header: &[u8],
encoded_payload: &[u8]
) -> Result<Vec<u8>>
[src]
&self,
encoded_header: &[u8],
encoded_payload: &[u8]
) -> Result<Vec<u8>>
Auto Trait Implementations
impl<Key> RefUnwindSafe for Hs512Signer<Key> where
Key: RefUnwindSafe,
Key: RefUnwindSafe,
impl<Key> Send for Hs512Signer<Key> where
Key: Send,
Key: Send,
impl<Key> Sync for Hs512Signer<Key> where
Key: Sync,
Key: Sync,
impl<Key> Unpin for Hs512Signer<Key> where
Key: Unpin,
Key: Unpin,
impl<Key> UnwindSafe for Hs512Signer<Key> where
Key: UnwindSafe,
Key: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,