pub struct RecipientEntry {
pub label: String,
pub mlkem_ct: Vec<u8>,
pub wrap: Vec<u8>,
pub wrapped_dek: Vec<u8>,
pub wrap_nonce: [u8; 12],
pub x25519_pk_fpr: [u8; 8],
pub x25519_pub: Vec<u8>,
}Fields§
§label: StringHuman-readable label
mlkem_ct: Vec<u8>ML-KEM ciphertext
wrap: Vec<u8>Legacy wrapped CEK (pre-GCM, 32 bytes) — kept for backward-compat
wrapped_dek: Vec<u8>AES-GCM-wrapped DEK (must be 48 bytes)
wrap_nonce: [u8; 12]Nonce for wrapped_dek (12 bytes)
x25519_pk_fpr: [u8; 8]X25519 recipient PK fingerprint (first 8 of BLAKE3)
x25519_pub: Vec<u8>X25519 recipient PK (legacy/debug; presence indicates hybrid used)
Trait Implementations§
Source§impl Clone for RecipientEntry
impl Clone for RecipientEntry
Source§fn clone(&self) -> RecipientEntry
fn clone(&self) -> RecipientEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 RecipientEntry
impl Debug for RecipientEntry
Source§impl<'de> Deserialize<'de> for RecipientEntry
impl<'de> Deserialize<'de> for RecipientEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RecipientEntry
impl RefUnwindSafe for RecipientEntry
impl Send for RecipientEntry
impl Sync for RecipientEntry
impl Unpin for RecipientEntry
impl UnwindSafe for RecipientEntry
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