Skip to main content

Crate agent_id_core

Crate agent_id_core 

Source
Expand description

§agent-id-core

Core identity primitives for the Agent Identity Protocol.

This crate provides:

  • Ed25519 key generation and management
  • DID creation and parsing
  • DID Document structure and signing
  • JCS canonicalization and signing
  • Delegation tokens
  • Key lifecycle management (rotation, revocation)
  • Interaction receipts

Re-exports§

pub use did::Did;
pub use document::DidDocument;
pub use error::Error;
pub use keys::RootKey;
pub use keys::SessionKey;
pub use lifecycle::KeyRotation;
pub use lifecycle::Revocation;
pub use receipt::InteractionContext;
pub use receipt::InteractionOutcome;
pub use receipt::InteractionReceipt;
pub use receipt::InteractionType;

Modules§

delegation
Delegation tokens for session and service keys.
did
Decentralized Identifier (DID) handling.
document
DID Document structure and signing.
error
Error types for agent-id-core.
keys
Key management for AIP identities.
lifecycle
Key lifecycle management: rotation and revocation.
receipt
Interaction receipts for recording agent-to-agent interactions.
signing
JCS canonicalization and message signing.

Type Aliases§

Result
Result type for agent-id-core operations.