pub enum KemContentAuthentication {
RequireAuthenticatedCipher,
ExternalAuthenticated,
}Expand description
Authentication boundary for content encrypted directly with a KEM secret.
Variants§
RequireAuthenticatedCipher
Require an authenticated content cipher, such as AES-GCM.
ExternalAuthenticated
Compatibility permission: the caller authenticates the complete encrypted input before decryption and binds external integrity protection of output to its encryption key. CBC padding never proves KEM ciphertext validity or sender identity.
Trait Implementations§
Source§impl Clone for KemContentAuthentication
impl Clone for KemContentAuthentication
impl Copy for KemContentAuthentication
Source§impl Debug for KemContentAuthentication
impl Debug for KemContentAuthentication
Source§impl Default for KemContentAuthentication
impl Default for KemContentAuthentication
impl Eq for KemContentAuthentication
Source§impl PartialEq for KemContentAuthentication
impl PartialEq for KemContentAuthentication
impl StructuralPartialEq for KemContentAuthentication
Auto Trait Implementations§
impl Freeze for KemContentAuthentication
impl RefUnwindSafe for KemContentAuthentication
impl Send for KemContentAuthentication
impl Sync for KemContentAuthentication
impl Unpin for KemContentAuthentication
impl UnsafeUnpin for KemContentAuthentication
impl UnwindSafe for KemContentAuthentication
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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