Skip to main content

build_session_context

Function build_session_context 

Source
pub fn build_session_context(
    inputs: &SessionContextInputs,
) -> Result<Vec<u8>, String>
Expand description

The 32-byte session_context: SHA-256 over the SPEC §6.4.9 session-context bytes — what a session-bound deployment passes as VerifyOptions.session_context (and what the agent side includes in the challenge signing bytes, SPEC §6.4.2). Verification receipts and audit records bind this hash, never the preimage.