Skip to main content

Crate dtg_credentials

Crate dtg_credentials 

Source
Expand description

Decentralized Trust Graph (DTG) Credentials

Modules§

authority
Verifying a chain of Verifiable Authority Credentials.
create
Builder methods for creating new entities.

Structs§

AuthorityGrant
The authority object a CredentialSubject::Authority carries.
CredentialSubjectAuthority
Verifiable Authority Credential (VAC) subject.
CredentialSubjectBasic
id of the credential subject only
CredentialSubjectEndorsement
Endorsement Credential subject
CredentialSubjectMembership
Membership Credential subject
CredentialSubjectRCardDeprecated
R-Card Credential subject
CredentialSubjectWitness
Witness Credential subject
DTGCommon
All DTG Credentials follow a common structure.
DTGCredential
Defined DTG Credentials
WitnessContext
Witness Credential Context

Enums§

CredentialSubject
This represents all possible credential subjects The order of the enum is important as it will match on first match
DTGCredentialError
Errors related to DTG Credentials
DTGCredentialType
TDG VC Type Identifiers
W3CVCVersion
What W3C VC Format is the credential using?

Functions§

digest_json
The digest a DTG credential carries of another credential, computed over a credential in its wire form.