[−][src]Crate caelum_vcdm
Verifiable Credential Data Model
This crates implements w3's
Verifiable Credential Data Model
specifications.
This means it will create, read, update and delete (a.k.a. CRUD) all properties of a
Verifiable Credential
and a Verifiable Presentation
. As well as interacting with other
Verifiable Credential
and Verifiable Presentation
.
A
Verifiable Credential
or aVerifiable Presentation
can represent all of the same information that a physical credential represents. The addition of technologies, such as digital signatures, makes verifiable credentials more tamper-evident and more trustworthy than their physical counterparts.
In the physical world, a credential might consist of:
- Information related to identifying the subject of the credential (for example, a photo, name, or identification number)
- Information related to the issuing authority (for example, a city government, national agency, or certification body)
- Information related to the type of credential this is (for example, a Dutch passport, an American driving license, or a health insurance card)
- Information related to specific attributes or properties being asserted by the issuing authority about the subject (for example, nationality, the classes of vehicle entitled to drive, or date of birth)
- Evidence related to how the credential was derived
- Information related to constraints on the credential (for example, expiration date, or terms of use).
We want to help developers create these scenarios and making it easy to interact with other following the same specifications.
Modules
claims | |
proofs | |
utils | |
verifiable_credential | Struct representing a |
verifiable_presentation | Struct representing a |
Structs
VClaim | WebAssembly gateway for Claims |
VCredential | WebAssembly gateway for Verifiable Credentials |
VNonRevocationProof | WebAssembly gateway for ZenroomProofs |
VPresentation | WebAssembly gateway for Verifiable Presentation |
VProof | WebAssembly gateway for Proofs |