Expand description
§baseid-anoncreds
Hyperledger AnonCreds support for BaseID.
Provides AnonCreds credential schema definition, credential issuance/holding, proof request matching, and proof response construction. Enables interoperability with the Canadian Aries ecosystem (BC Wallet, ACA-Py).
§Features
- Schema & CredentialDefinition: Define credential types with validation.
- AnonCredsCredential: Parse ACA-Py JSON, map to W3C VC for unified display.
- ProofRequest / ProofResponse: Match credentials to proof requests and build responses.
- CredentialHolder: Store credentials and respond to proof requests.
§Design Decision
AnonCreds uses CL (Camenisch-Lysyanskaya) signatures which are
mathematically complex. This crate provides the data model and holder logic;
actual CL proof generation would wrap the Hyperledger anoncreds-rs library.
Re-exports§
pub use credential::AnonCredsCredential;pub use holder::CredentialHolder;pub use proof::ProofRequest;pub use proof::ProofResponse;pub use schema::CredentialDefinition;pub use schema::Schema;
Modules§
- credential
- AnonCreds credential types with ACA-Py interop and W3C VC mapping.
- holder
- AnonCreds credential holder for storing credentials and responding to proof requests.
- proof
- AnonCreds proof request and response types.
- schema
- AnonCreds schema and credential definition types.