[][src]Struct rc_crypto::hmac::VerificationKey

pub struct VerificationKey {
    wrapped: SigningKey,
}

A key to use for HMAC authentication.

Fields

wrapped: SigningKey

Implementations

impl VerificationKey[src]

pub fn new(digest_alg: &'static Algorithm, key_value: &[u8]) -> Self[src]

pub fn digest_algorithm(&self) -> &'static Algorithm[src]

Auto Trait Implementations

impl RefUnwindSafe for VerificationKey

impl Send for VerificationKey

impl Sync for VerificationKey

impl Unpin for VerificationKey

impl UnwindSafe for VerificationKey

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, 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.