pub fn verify_dpop_proof(
proof: &DpopProof,
capability: &CapabilityToken,
expected_tool_server: &str,
expected_tool_name: &str,
expected_action_hash: &str,
nonce_store: &DpopNonceStore,
config: &DpopConfig,
) -> Result<(), KernelError>Expand description
Verify a DPoP proof against the given capability and invocation context.
All six verification steps must pass; the first failure returns an error.
ยงArguments
proof- the signed DPoP proof from the agentcapability- the capability token being used for this invocationexpected_tool_server-server_idthe kernel expectsexpected_tool_name- tool name the kernel expectsexpected_action_hash- SHA-256 hex of the serialized tool argumentsnonce_store- shared replay-rejection storeconfig- TTL and clock-skew bounds