[][src]Struct tink_mac::subtle::AesCmac

pub struct AesCmac { /* fields omitted */ }

AesCmac represents an AES-CMAC struct that implements the tink_core::Mac interface.

Implementations

impl AesCmac[src]

pub fn new(key: &[u8], tag_size: usize) -> Result<AesCmac, TinkError>[src]

Create a new AesCmac object that implements the tink_core::Mac interface.

Trait Implementations

impl Clone for AesCmac[src]

impl Mac for AesCmac[src]

Auto Trait Implementations

impl RefUnwindSafe for AesCmac

impl Send for AesCmac

impl Sync for AesCmac

impl Unpin for AesCmac

impl UnwindSafe for AesCmac

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> MacBoxClone for T where
    T: 'static + Mac + Clone
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,