Skip to main content

pair_session_finalize

Function pair_session_finalize 

Source
pub fn pair_session_finalize(
    s: &mut PairSessionState,
    timeout_secs: u64,
) -> Result<Value>
Expand description

Stage 4. Seal+exchange bootstrap, AEAD-open peer’s, pin peer.

Caller must have called pair_session_confirm_sas first (or, for CLI where the y/n prompt serves the same role, must set s.sas_confirmed before calling this).

Returns a JSON summary suitable for printing or returning as MCP result.