Crate ubl_id

Crate ubl_id 

Source
Expand description

§ubl-id — Universal Business Ledger Identity Primitives

The identity kernel for the UBL ecosystem. Provides:

  • DIDs (did:ubl:*, did:key:*) for entities (users, orgs, agents, apps, wallets)
  • CIDs (cid:blake3:*) for content-addressed data (chips, blueprints, proofs)
  • Wallets for ephemeral session keys with PoP (Proof-of-Possession) headers

§LLM-First Design

Uses json_atomic for canonical JSON serialization, ensuring deterministic hashing across all platforms. When an LLM generates JSON, the server gets identical bytes → identical hash → zero-trust verification works.

Re-exports§

pub use did::Did;
pub use did::DidMethod;
pub use did::DidType;
pub use cid::Cid;
pub use wallet::Wallet;
pub use pop::Pop;
pub use pop::PopPayloadV1;
pub use pop::PopError;
pub use pop::build_pop_header;
pub use pop::verify_pop;
pub use ident::Ident;
pub use json_atomic;

Modules§

cid
CID (Content Identifier) for content-addressed data
did
DID (Decentralized Identifier) types and utilities
ident
Unified identifier type for the UBL ecosystem
pop
PoP (Proof-of-Possession) headers for request signing — RFC-0001 compliant
wallet
Ephemeral Wallet for session-based signing