pub struct EnvelopeHeader {
pub kem: KemAlgorithm,
pub aead: AeadAlgorithm,
pub kem_ct_len: usize,
}Expand description
Parsed envelope header metadata (inspectable before decryption for routing / CBOM telemetry).
Fields§
§kem: KemAlgorithmKEM algorithm used to encapsulate the envelope key.
aead: AeadAlgorithm256-bit AEAD algorithm used to encrypt the payload.
kem_ct_len: usizeKEM ciphertext byte length.
Trait Implementations§
Source§impl Clone for EnvelopeHeader
impl Clone for EnvelopeHeader
impl Copy for EnvelopeHeader
Source§impl Debug for EnvelopeHeader
impl Debug for EnvelopeHeader
impl Eq for EnvelopeHeader
Source§impl PartialEq for EnvelopeHeader
impl PartialEq for EnvelopeHeader
impl StructuralPartialEq for EnvelopeHeader
Auto Trait Implementations§
impl Freeze for EnvelopeHeader
impl RefUnwindSafe for EnvelopeHeader
impl Send for EnvelopeHeader
impl Sync for EnvelopeHeader
impl Unpin for EnvelopeHeader
impl UnsafeUnpin for EnvelopeHeader
impl UnwindSafe for EnvelopeHeader
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