Core types and primitives for the Agent Identity & Trust Protocol (AITP).
This crate is pure — no I/O, no crypto, no transport. It defines:
- The [
Aid] newtype: a validated AITP Agent Identifier. - The [
AitpEnvelope] message wrapper. - JSON canonicalization per RFC 8785 ([
jcs]). - Strict unpadded base64url codec ([
base64url]). - The [
Timestamp] newtype for Unix-second timestamps. - The [
ExtensionsMap] type for forward-compatible extensions. - The [
AitpError] and [ErrorCode] taxonomy from RFC-AITP-0001.
Higher-level protocol crates (aitp-manifest, aitp-tct, aitp-handshake,
aitp-delegation) build on these primitives.