pub struct CaseSessionOutput {
pub keys: CaseSessionKeys,
pub peer: PeerInfo,
pub local: LocalInfo,
pub resumption_record: Option<ResumptionRecord>,
}Expand description
Output of a successful CASE handshake.
Fields§
§keys: CaseSessionKeysPure key material for the symmetric cipher (consumed by M5 transport).
peer: PeerInfoPeer’s identity discovered during the handshake.
local: LocalInfoOur side’s identity (mirror; included for symmetry).
resumption_record: Option<ResumptionRecord>Resumption record for next-time fast-path. Populated on every
completed handshake: on the full path from the resumption_id
exchanged in TBEData2 plus the session’s ECDH secret, and on the
resumption path with the fresh id from Sigma2_Resume. The caller
persists it (keyed by peer node id) so a later Sigma1 carrying
resumption fields can be matched and accepted.
Trait Implementations§
Source§impl Clone for CaseSessionOutput
impl Clone for CaseSessionOutput
Source§fn clone(&self) -> CaseSessionOutput
fn clone(&self) -> CaseSessionOutput
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 moreAuto Trait Implementations§
impl Freeze for CaseSessionOutput
impl RefUnwindSafe for CaseSessionOutput
impl Send for CaseSessionOutput
impl Sync for CaseSessionOutput
impl Unpin for CaseSessionOutput
impl UnsafeUnpin for CaseSessionOutput
impl UnwindSafe for CaseSessionOutput
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