agent-id-core 0.1.0

Core identity primitives for the Agent Identity Protocol
Documentation
//! # 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

pub mod delegation;
pub mod did;
pub mod document;
pub mod error;
pub mod keys;
pub mod lifecycle;
pub mod receipt;
pub mod signing;

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

/// Result type for agent-id-core operations.
pub type Result<T> = std::result::Result<T, Error>;