pub struct OpenedDnt {
pub header: DntHeader,
pub payload: Vec<u8>,
pub encrypted_metadata: Vec<u8>,
}Expand description
Authenticated and decoded DNT content.
Fields§
§header: DntHeaderAuthenticated header.
payload: Vec<u8>Decoded payload bytes.
encrypted_metadata: Vec<u8>Authenticated encrypted metadata.
Implementations§
Source§impl OpenedDnt
impl OpenedDnt
Sourcepub fn zeroize_plaintext(&mut self)
pub fn zeroize_plaintext(&mut self)
Zeroizes the returned plaintext payload and encrypted metadata buffers.
Trait Implementations§
impl Eq for OpenedDnt
impl StructuralPartialEq for OpenedDnt
Auto Trait Implementations§
impl Freeze for OpenedDnt
impl RefUnwindSafe for OpenedDnt
impl Send for OpenedDnt
impl Sync for OpenedDnt
impl Unpin for OpenedDnt
impl UnsafeUnpin for OpenedDnt
impl UnwindSafe for OpenedDnt
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