pub struct NestedSeal {
pub outer: Vec<u8>,
pub inner_ciphertext: Vec<u8>,
pub hq_transport: NoiseTransport,
pub node_transport: NoiseTransport,
pub handshake_msg1: Vec<u8>,
pub handshake_msg2: Vec<u8>,
}Expand description
Result of a nested seal for tests / one-shot helpers.
Fields§
§outer: Vec<u8>Outer-sealed blob (what the node sends on the uplink).
inner_ciphertext: Vec<u8>Inner Noise transport ciphertext (what C2 sees after stripping outer).
hq_transport: NoiseTransportHQ transport ready to decrypt inner_ciphertext.
node_transport: NoiseTransportNode transport (for further messages on the same session).
handshake_msg1: Vec<u8>§handshake_msg2: Vec<u8>Auto Trait Implementations§
impl !RefUnwindSafe for NestedSeal
impl !UnwindSafe for NestedSeal
impl Freeze for NestedSeal
impl Send for NestedSeal
impl Sync for NestedSeal
impl Unpin for NestedSeal
impl UnsafeUnpin for NestedSeal
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