#[repr(u32)]pub enum CryptoTransformKind {
None = 0,
Aes128Gmac = 1,
Aes128Gcm = 2,
Aes256Gmac = 3,
Aes256Gcm = 4,
}Expand description
Spec §10.5.2.1: CryptoTransformKind — 4-Byte-Identifier.
CRYPTO_TRANSFORMATION_KIND_NONE = {0,0,0,0}
CRYPTO_TRANSFORMATION_KIND_AES128_GMAC = {0,0,0,1}
CRYPTO_TRANSFORMATION_KIND_AES128_GCM = {0,0,0,2}
CRYPTO_TRANSFORMATION_KIND_AES256_GMAC = {0,0,0,3}
CRYPTO_TRANSFORMATION_KIND_AES256_GCM = {0,0,0,4}Variants§
None = 0
Kein Transform — Submessage unsigned.
Aes128Gmac = 1
AES-128-GMAC (nur Authentication, kein Encrypt).
Aes128Gcm = 2
AES-128-GCM (Authentication + Encrypt).
Aes256Gmac = 3
AES-256-GMAC.
Aes256Gcm = 4
AES-256-GCM.
Implementations§
Source§impl CryptoTransformKind
impl CryptoTransformKind
Trait Implementations§
Source§impl Clone for CryptoTransformKind
impl Clone for CryptoTransformKind
Source§fn clone(&self) -> CryptoTransformKind
fn clone(&self) -> CryptoTransformKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CryptoTransformKind
impl Debug for CryptoTransformKind
Source§impl Hash for CryptoTransformKind
impl Hash for CryptoTransformKind
Source§impl PartialEq for CryptoTransformKind
impl PartialEq for CryptoTransformKind
Source§fn eq(&self, other: &CryptoTransformKind) -> bool
fn eq(&self, other: &CryptoTransformKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CryptoTransformKind
impl Eq for CryptoTransformKind
impl StructuralPartialEq for CryptoTransformKind
Auto Trait Implementations§
impl Freeze for CryptoTransformKind
impl RefUnwindSafe for CryptoTransformKind
impl Send for CryptoTransformKind
impl Sync for CryptoTransformKind
impl Unpin for CryptoTransformKind
impl UnsafeUnpin for CryptoTransformKind
impl UnwindSafe for CryptoTransformKind
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