pub struct AeadEncryptedDisclosure {
pub nonce: Vec<u8>,
pub ciphertext: Vec<u8>,
pub tag: Vec<u8>,
pub key_context: Option<AeadKeyContext>,
}Expand description
One sd_aead_encrypted_claims entry.
Fields§
§nonce: Vec<u8>Nonce of N_MIN octets for the selected AEAD.
ciphertext: Vec<u8>Ciphertext output for one bstr-encoded Salted Disclosed Claim.
tag: Vec<u8>AEAD authentication tag.
key_context: Option<AeadKeyContext>Optional context used by profiles to select the correct AEAD key.
Implementations§
Trait Implementations§
Source§impl Clone for AeadEncryptedDisclosure
impl Clone for AeadEncryptedDisclosure
Source§fn clone(&self) -> AeadEncryptedDisclosure
fn clone(&self) -> AeadEncryptedDisclosure
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AeadEncryptedDisclosure
impl Debug for AeadEncryptedDisclosure
Source§impl PartialEq for AeadEncryptedDisclosure
impl PartialEq for AeadEncryptedDisclosure
Source§fn eq(&self, other: &AeadEncryptedDisclosure) -> bool
fn eq(&self, other: &AeadEncryptedDisclosure) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AeadEncryptedDisclosure
Auto Trait Implementations§
impl Freeze for AeadEncryptedDisclosure
impl RefUnwindSafe for AeadEncryptedDisclosure
impl Send for AeadEncryptedDisclosure
impl Sync for AeadEncryptedDisclosure
impl Unpin for AeadEncryptedDisclosure
impl UnsafeUnpin for AeadEncryptedDisclosure
impl UnwindSafe for AeadEncryptedDisclosure
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