[][src]Enum win_crypto_ng::hash::MacAlgorithmId

pub enum MacAlgorithmId {
    AesCmac,
    AesGmac,
}

MAC (Message authentication code) algorithm identifiers

Variants

AesCmac

The advanced encryption standard (AES) cipher based message authentication code (CMAC) symmetric encryption algorithm.

Standard: SP 800-38B.

Windows 8: Support for this algorithm begins.

AesGmac

The advanced encryption standard (AES) Galois message authentication code (GMAC) symmetric encryption algorithm.

Standard: SP800-38D.

Windows Vista: This algorithm is supported beginning with Windows Vista with SP1.

Trait Implementations

impl AlgorithmKind for MacAlgorithmId[src]

impl Clone for MacAlgorithmId[src]

impl Copy for MacAlgorithmId[src]

impl Debug for MacAlgorithmId[src]

impl PartialEq<MacAlgorithmId> for MacAlgorithmId[src]

impl PartialOrd<MacAlgorithmId> for MacAlgorithmId[src]

impl StructuralPartialEq for MacAlgorithmId[src]

impl<'a> TryFrom<&'a str> for MacAlgorithmId[src]

type Error = &'a str

The type returned in the event of a conversion error.

Auto Trait Implementations

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