Crate atproto_identity

Crate atproto_identity 

Source
Expand description

AT Protocol identity management for DID resolution, handle resolution, and cryptographic operations.

This crate provides core identity functionality for AT Protocol applications including multi-method DID resolution (plc, web, key), DNS/HTTP handle resolution, and P-256/P-384/K-256 key operations.

When built with the clap feature, provides comprehensive CLI tools:

  • atproto-identity-resolve: Resolve AT Protocol handles and DIDs to canonical identifiers
  • atproto-identity-key: Generate and manage cryptographic keys (P-256, P-384, K-256)
  • atproto-identity-sign: Create cryptographic signatures of JSON data
  • atproto-identity-validate: Validate cryptographic signatures

Modulesยง

config
Configuration management for AT Protocol identity operations.
errors
Structured Error Types
key
Cryptographic key operations for AT Protocol identity.
model
Data structures for DID documents and AT Protocol entities.
plc
PLC directory client for did:plc resolution.
resolve
AT Protocol identity resolution for handles and DIDs.
storage
DID document storage abstraction.
storage_lru
LRU cache implementation for DID document storage.
url
URL construction utilities for HTTP endpoints.
validation
Input validation for AT Protocol handles and DIDs.
web
Web DID client for did:web resolution.