pub struct DecryptOwed {
pub destination: DestinationHash,
pub context: WireContext,
pub arrived_at: InstantMillis,
pub source_interface: InterfaceId,
pub identity: IdentityHash,
pub proof_strategy: ProofStrategy,
pub packet_hash: PacketHash,
pub encryption_secret: X25519SecretKey,
pub ephemeral_public: X25519PublicKey,
pub token: Vec<u8, prns_core::::routing::ingress::upstream_delivery::DecryptOwed::{constant#0}>,
}Expand description
Owns the material needed to finish an identity-keyed decrypt after deferred Diffie-Hellman.
Fields§
§destination: DestinationHash§context: WireContext§arrived_at: InstantMillis§source_interface: InterfaceId§identity: IdentityHash§proof_strategy: ProofStrategy§packet_hash: PacketHash§encryption_secret: X25519SecretKey§ephemeral_public: X25519PublicKey§token: Vec<u8, prns_core::::routing::ingress::upstream_delivery::DecryptOwed::{constant#0}>Auto Trait Implementations§
impl Freeze for DecryptOwed
impl RefUnwindSafe for DecryptOwed
impl Send for DecryptOwed
impl Sync for DecryptOwed
impl Unpin for DecryptOwed
impl UnsafeUnpin for DecryptOwed
impl UnwindSafe for DecryptOwed
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