Enum win_crypto_ng::hash::MacAlgorithmId
source · pub enum MacAlgorithmId {
AesCmac,
AesGmac,
}
Expand description
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§
source§impl AlgorithmKind for MacAlgorithmId
impl AlgorithmKind for MacAlgorithmId
source§impl Clone for MacAlgorithmId
impl Clone for MacAlgorithmId
source§fn clone(&self) -> MacAlgorithmId
fn clone(&self) -> MacAlgorithmId
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MacAlgorithmId
impl Debug for MacAlgorithmId
source§impl PartialEq<MacAlgorithmId> for MacAlgorithmId
impl PartialEq<MacAlgorithmId> for MacAlgorithmId
source§fn eq(&self, other: &MacAlgorithmId) -> bool
fn eq(&self, other: &MacAlgorithmId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<MacAlgorithmId> for MacAlgorithmId
impl PartialOrd<MacAlgorithmId> for MacAlgorithmId
source§fn partial_cmp(&self, other: &MacAlgorithmId) -> Option<Ordering>
fn partial_cmp(&self, other: &MacAlgorithmId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<'a> TryFrom<&'a str> for MacAlgorithmId
impl<'a> TryFrom<&'a str> for MacAlgorithmId
impl Copy for MacAlgorithmId
impl StructuralPartialEq for MacAlgorithmId
Auto Trait Implementations§
impl RefUnwindSafe for MacAlgorithmId
impl Send for MacAlgorithmId
impl Sync for MacAlgorithmId
impl Unpin for MacAlgorithmId
impl UnwindSafe for MacAlgorithmId
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more