Expand description
Decentralized Trust Graph (DTG) Credentials
Modules§
- authority
- Verifying a chain of Verifiable Authority Credentials.
- create
- Builder methods for creating new entities.
- delegation
- Verifying a chain of Verifiable Delegation Credentials.
Structs§
- Authority
Grant - The
authorityobject a CredentialSubject::Authority carries. - Credential
Subject Authority - Verifiable Authority Credential (VAC) subject.
- Credential
Subject Basic - id of the credential subject only
- Credential
Subject Delegation - Delegation Credential subject
- Credential
Subject Endorsement - Endorsement Credential subject
- Credential
Subject Membership - Membership Credential subject
- Credential
SubjectR Card Deprecated - R-Card Credential subject
- Credential
Subject Witness - Witness Credential subject
- DTGCommon
- All DTG Credentials follow a common structure.
- DTGCredential
- Defined DTG Credentials
- Delegation
Grant - The
delegationobject a CredentialSubject::Delegation carries. - Witness
Context - Witness Credential Context
Enums§
- Credential
Subject - This represents all possible credential subjects The order of the enum is important as it will match on first match
- DTGCredential
Error - Errors related to DTG Credentials
- DTGCredential
Type - TDG VC Type Identifiers
- W3CVC
Version - What W3C VC Format is the credential using?
Functions§
- decode_
digest_ multibase - Decodes a
digestMultibasevalue into the algorithm it names and the raw digest bytes. - digest_
json Deprecated - A credential’s digest in the superseded
sha256:<hex>encoding. - digest_
multibase_ json - The digest a DTG credential carries of another credential, computed over that credential in its wire form.
- digests_
match - Do two
digestMultibasevalues refer to the same credential?