-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GITBOOK-320: Update links and add VC Trust Registry
- Loading branch information
1 parent
26ead21
commit 4c3dba2
Showing
4 changed files
with
33 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Referencing Trust Registry within a Verifiable Credential | ||
|
||
Trust Registries are referenced within **Accreditaiton Policies** in the Verifiable Credential body. This enables Relying Parties to traverse the trust chain and verify that the **issuer**, accrediting entity (**TAO**) and Root of Trust (**rTAO**) are all legitimate entities. | ||
|
||
Within the body of the Verifiable Credential, issuers will need to configure the `termsOfUse` section to reference DIDs or DID URLs of trust registry entries, for example: | ||
|
||
```json | ||
{ | ||
"@context": [ | ||
"https://www.w3.org/ns/credentials/v2", | ||
"https://www.w3.org/ns/credentials/examples/v2" | ||
], | ||
"id": "http://university.example/credentials/3732", | ||
"type": ["VerifiableCredential", "ExampleDegreeCredential"], | ||
"issuer": "did:cheqd:testnet:c2f18b6b-32e2-48d1-a5a8-5f5d2d9798f0", | ||
"validFrom": "2010-01-01T00:00:00Z", | ||
"credentialSubject": { | ||
"id": "did:cheqd:testnet:b4902745-5b5b-423e-820a-0773b033f2b9", | ||
"degree": { | ||
"type": "ExampleBachelorDegree", | ||
"name": "Bachelor of Science and Arts" | ||
"termsOfUse": { | ||
"type": "AccreditationPolicy", | ||
"parentAccreditation": "did:cheqd:testnet:c2f18b6b-32e2-48d1-a5a8-5f5d2d9798f0/resources/58c01595-f884-4a3b-add4-8c691e16b8ee", | ||
"rootAuthorisation": "did:cheqd:testnet:c2f18b6b-32e2-48d1-a5a8-5f5d2d9798f0/resources/58c01595-f884-4a3b-add4-8c691e16b8ee", | ||
"trustFramework": "cheqd Governance Framework" | ||
} | ||
} | ||
``` |