Crate trustchain_core

Source
Expand description

Core traits and logic (data layer independent).

Modules§

attestor
DID attestor API.
chain
Chain API and DIDChain type with default implementation.
commitment
Commitment scheme API with default implementation.
controller
DID controller API.
data
Test fixtures for crate.
display
Utilities to display DID.
graph
Graph API for constructing networks from DIDChain.
holder
DID issuer API.
issuer
DID issuer API.
key_manager
Key management API with default implementations.
resolver
DID resolution and DIDResolver implementation.
subject
DID subject API.
utils
Core utilities.
vc
Verifiable credential functionality for Trustchain.
verifier
DID verifier API and default implementation.
vp
Verifiable presentation functionality for Trustchain.

Constants§

JSON_FILE_EXTENSION
String slice for JSON file extension for consistency.
TRUSTCHAIN_CONFIG
Environment variable name for Trustchain config file.
TRUSTCHAIN_DATA
Environment variable name for Trustchain data.
TRUSTCHAIN_PROOF_SERVICE_ID_VALUE
The value used for identifying a service containing a Trustchain controller proof within a DID document.
TRUSTCHAIN_PROOF_SERVICE_TYPE_VALUE
The value of the type for the service containing a Trustchain controller proof within a DID document.
TRUSTCHAIN_SERVICE_ID_VALUE
The value used in a DID document to identify the default Trustchain service endpoint.