pub enum AesTypes {
A128Gcm,
A256Gcm,
A128CbcHs256,
A256CbcHs512,
A128Kw,
A256Kw,
}Expand description
Supported algorithms for AES
Variants§
A128Gcm
128-bit AES-GCM
A256Gcm
256-bit AES-GCM
A128CbcHs256
128-bit AES-CBC with HMAC-256
A256CbcHs512
256-bit AES-CBC with HMAC-512
A128Kw
128-bit AES Key Wrap
A256Kw
256-bit AES Key Wrap
Trait Implementations§
Source§impl Ord for AesTypes
impl Ord for AesTypes
Source§impl PartialOrd for AesTypes
impl PartialOrd for AesTypes
impl Copy for AesTypes
impl Eq for AesTypes
impl StructuralPartialEq for AesTypes
Auto Trait Implementations§
impl Freeze for AesTypes
impl RefUnwindSafe for AesTypes
impl Send for AesTypes
impl Sync for AesTypes
impl Unpin for AesTypes
impl UnwindSafe for AesTypes
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