pub struct S4E4Header<'a> {
pub key_id: &'a str,
pub wrapped_dek: &'a [u8],
pub nonce: &'a [u8],
pub tag: &'a [u8],
pub ciphertext: &'a [u8],
}Expand description
Parsed view of an S4E4 frame’s variable-length header. Returned
by parse_s4e4_header so both the async decrypt_with_kms
path and any future inspection code (e.g. an admin tool that
needs to enumerate object → KMS-key bindings) can reuse the same
parser without re-implementing offset math.
Fields§
§key_id: &'a str§wrapped_dek: &'a [u8]§nonce: &'a [u8]§tag: &'a [u8]§ciphertext: &'a [u8]Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for S4E4Header<'a>
impl<'a> RefUnwindSafe for S4E4Header<'a>
impl<'a> Send for S4E4Header<'a>
impl<'a> Sync for S4E4Header<'a>
impl<'a> Unpin for S4E4Header<'a>
impl<'a> UnsafeUnpin for S4E4Header<'a>
impl<'a> UnwindSafe for S4E4Header<'a>
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