pub trait AesType: 'static {
type KeySize: ArrayLength<u8>;
const ALG_TYPE: AesTypes;
const JWK_ALG: &'static str;
}Available on crate feature
aes only.Expand description
Trait implemented by supported AES authenticated encryption algorithms
Required Associated Constants§
Required Associated Types§
Sourcetype KeySize: ArrayLength<u8>
type KeySize: ArrayLength<u8>
The size of the key secret bytes
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.