Modules§
- http
- HTTP binding for 7h3 Protocol — signs and verifies per-request envelopes.
- keys
- Key infrastructure for 7h3 Protocol — discovery, rotation, revocation.
- queue
- Queue binding — signed message envelope for Kafka/SQS/Pub-Sub transit.
- webhook
- Webhook binding — lightweight per-payload Ed25519/HMAC signing. Signs “${timestamp_ms}.${body}” to bind time and content together.
Structs§
- AipMcp
Gateway Options - AipMcp
Gateway Runtime - Json
RpcBridge Config - Json
RpcError - Json
RpcPolicy Context - Json
RpcRequest Like - Json
RpcResponse Like - Protocol
Body - Protocol
Diagnostic - Protocol
Envelope - Protocol
Header - Protocol
Signature
Enums§
Constants§
- MAX_
CLOCK_ SKEW_ MS - How far into the future a timestamp may sit before it is rejected. Without
this ceiling
MAX_TTL_MSbounds nothing: a sender can post-datetimestamp_msby a year and still pass a 24httl_ms, keeping the envelope valid — and replayable — long after any replay store has forgotten its nonce. - MAX_
TTL_ MS - Ceiling on ttlMs — a huge TTL keeps an envelope replayable (and its nonce pinned in every replay store) far beyond any legitimate messaging window.
Functions§
- canonicalize_
envelope - create_
aip_ mcp_ gateway_ runtime - create_
envelope - create_
signed_ task_ from_ jsonrpc - decode_
envelope - encode_
envelope_ compact - jsonrpc_
response_ from_ envelope - random_
nonce - Cryptographically secure random nonce (96 bits, hex-encoded). Nonces back replay protection, so they must come from the OS CSPRNG — never a timestamp or a non-cryptographic PRNG.
- sign_
canonical_ payload_ ed25519 - sign_
canonical_ payload_ hmac - sign_
envelope_ ed25519 - sign_
envelope_ hmac - validate_
envelope - verify_
canonical_ payload_ ed25519 - verify_
canonical_ payload_ hmac - verify_
envelope_ ed25519 - verify_
envelope_ hmac