[][src]Struct rc_crypto::hmac::SigningKey

pub struct SigningKey {
    pub(crate) digest_alg: &'static Algorithm,
    pub(crate) key_value: Vec<u8>,
}

A key to use for HMAC signing.

Fields

digest_alg: &'static Algorithmkey_value: Vec<u8>

Implementations

impl SigningKey[src]

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

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

Trait Implementations

impl HmacKey for SigningKey[src]

Auto Trait Implementations

impl RefUnwindSafe for SigningKey

impl Send for SigningKey

impl Sync for SigningKey

impl Unpin for SigningKey

impl UnwindSafe for SigningKey

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.