Structs§
- AgentId
- Agent
Signer - Client
Nonce Manager - Envelope
- Event
- Live
Write Options - Memory
Nonce Store - Nonce
Record - Request
Auth Context - Request
Binding - Request
JwtClaims - Request
JwtHeader
Constants§
- AGENT_
ID_ PREFIX - DEFAULT_
LIVE_ WRITE_ WINDOW_ MS - DEFAULT_
NONCE_ TTL_ MS - DEFAULT_
REQUEST_ JWT_ TTL_ SECS - MAX_
NONCE_ HEADER - MAX_
SAFE_ NONCE
Traits§
Functions§
- canonical_
event_ bytes - event_
hash - event_
hash_ bytes - service_
origin - Derives the request JWT
audfrom a request URL: the service origin — scheme, host, and non-default port, with no path (Agent Identity Section 8). - sign_
event - sign_
event_ hash - Signs a precomputed 32-byte event hash. Signing a digest supplied by
another component without seeing the event it commits to (blind signing) is
NOT RECOMMENDED:
actorand all event content are inside the digest, so a blind signer can be tricked into signing arbitrary events attributed to its key. Prefersign_event, which canonicalizes and hashes the event. - unix_ms
- unix_
secs - validate_
nonce - verify_
envelope - verify_
event_ hash - verify_
event_ hash_ signature - verify_
live_ envelope - verify_
request_ jwt - verify_
signature - verify_
timestamp