pub struct RecipientEntry {
pub machine_fp: [u8; 32],
pub ephemeral_pk: [u8; 32],
pub wrapped_key: [u8; 40],
}Expand description
One machine recipient entry.
Fields§
§machine_fp: [u8; 32]SHA-256 fingerprint of the recipient’s public key.
ephemeral_pk: [u8; 32]The sender’s ephemeral X25519 public key.
wrapped_key: [u8; 40]The session key wrapped with the ECDH-derived KEK.
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RecipientEntry
Source§impl Debug for RecipientEntry
impl Debug for RecipientEntry
impl Eq for RecipientEntry
Source§impl PartialEq for RecipientEntry
impl PartialEq for RecipientEntry
impl StructuralPartialEq for RecipientEntry
Auto Trait Implementations§
impl Freeze for RecipientEntry
impl RefUnwindSafe for RecipientEntry
impl Send for RecipientEntry
impl Sync for RecipientEntry
impl Unpin for RecipientEntry
impl UnsafeUnpin 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