Skip to main content

Module message

Module message 

Source
Expand description

Wire message types for the OpenAgent Core Protocol identity flow.

These types implement the abstract message model defined normatively by the OpenAgent Core Protocol Specification, Section 15 (openagents/openagent.id/OPENAGENT-CORE-SPEC.md). This crate does not define a protocol; it implements one. If a field here disagrees with the specification, the specification is correct and this file is wrong.

The identity flow is three messages:

  1. IdentityChallenge — server issues a cryptographic challenge
  2. IdentityProof — agent proves identity by signing the challenge
  3. IdentityVerified — server confirms identity and issues a session

Structs§

IdentityChallenge
Server → Agent: a cryptographic challenge (Section 15.2).
IdentityProof
Agent → Server: the cryptographic proof of identity (Section 15.3).
IdentityVerified
Server → Agent: identity confirmed; session issued (Section 15.4).

Enums§

KeyType
Signature scheme used for an IdentityProof (Section 15.3).
TrustTier
The resolution tier the server assigns after verification (Section 15.4).

Constants§

CHALLENGE_TYPE
The literal type value of an IdentityChallenge, per Section 15.2.