Skip to content

Commit

Permalink
Update CBORLD examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
wes-smith authored and BigBlueHat committed Sep 18, 2024
1 parent 544e6d2 commit 8f22687
Showing 1 changed file with 12 additions and 22 deletions.
34 changes: 12 additions & 22 deletions json-ld-recharter/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,7 @@ <h2>CBOR-LD Compression Table</h2>
</section>

<section class="slide" id="cbor-ld-utopia-vc">
<h2>Utopia Driver's License</h2>
<a style="font-size: xx-small;" href="https://w3c-ccg.github.io/vc-barcodes/#example-a-json-ld-vc-for-a-utopia-driver-s-license-vcb">
https://w3c-ccg.github.io/vc-barcodes/#example-a-json-ld-vc-for-a-utopia-driver-s-license-vcb
</a>
<h2>Utopia Driver's License VC</h2>
<pre style="font-size: 10%;"><code>{
"@context": [
"https://www.w3.org/ns/credentials/v2",
Expand All @@ -194,19 +191,11 @@ <h2>Utopia Driver's License</h2>
"protectedComponentIndex": "uggAg"
},
"issuer": "did:key:zDnaeWjKfs1ob9QcgasjYSPEMkwq31hmvSAWPVAgnrt1e9GKj",
"credentialStatus": {
"type": "TerseBitstringStatusListEntry",
"terseStatusListBaseUrl": "https://sandbox.platform.veres.dev/statuses/z19rJ4oGrbFCqf3cNTVDHSbNd/status-lists",
"terseStatusListIndex": 3851559041
},
"proof": {
"type": "DataIntegrityProof",
"verificationMethod": "did:key:zDnaeWjKfs1ob9QcgasjYSPEMkwq31hmvSAWPVAgnrt1e9GKj#zDnaeWjKfs1ob9QcgasjYSPEMkwq31hmvSAWPVAgnrt1e9GKj",
"cryptosuite": "ecdsa-xi-2023",
"proofPurpose": "assertionMethod",
"proofValue": "z4g6G3dAZhhtPxPWgFvkiRv7krtCaeJxjokvL46fchAFCXEY3FeX2vn46MDgBaw779g1E1jswZJxxreZDCrtHg2qH"
}
...
}</code></pre>
<a style="font-size: xx-small;" href="https://w3c-ccg.github.io/vc-barcodes/#example-a-json-ld-vc-for-a-utopia-driver-s-license-vcb">
https://w3c-ccg.github.io/vc-barcodes/#example-a-json-ld-vc-for-a-utopia-driver-s-license-vcb
</a>
</section>

<section class="slide" id="cbor-ld-">
Expand All @@ -226,9 +215,6 @@ <h2>The term to ID map created by CBOR-LD when compressing a Utopia DL.</h2>

<section class="slide" id="cbor-ld-">
<h2>CBOR-LD parameters</h2>
<a style="font-size: xx-small;" href="https://w3c-ccg.github.io/vc-barcodes/#example-cbor-ld-encoding-parameters">
https://w3c-ccg.github.io/vc-barcodes/#example-cbor-ld-encoding-parameters
</a>
<pre style="font-size: 10%;"><code>registryEntryId: 100
typeTable:
{
Expand All @@ -246,13 +232,14 @@ <h2>CBOR-LD parameters</h2>
"ecdsa-xi-2023": 4
}
}</code></pre>
<a style="font-size: xx-small;" href="https://w3c-ccg.github.io/vc-barcodes/#example-cbor-ld-encoding-parameters">
https://w3c-ccg.github.io/vc-barcodes/#example-cbor-ld-encoding-parameters
</a>
</section>

<section class="slide" id="cbor-ld-">
<h2>A CBOR-LD compressed Utopia Driver's License VC</h2>
<a style="font-size: xx-small;" href="https://w3c-ccg.github.io/vc-barcodes/#example-a-cbor-ld-compressed-utopia-driver-s-license-vc">
https://w3c-ccg.github.io/vc-barcodes/#example-a-cbor-ld-compressed-utopia-driver-s-license-vc
</a>

<pre style="font-size: 65%;"><code>d90664a60183198000198001198002189d82187618a418b8a3189c18a618...

Diagnostic:
Expand All @@ -265,6 +252,9 @@ <h2>A CBOR-LD compressed Utopia Driver's License VC</h2>
190: 170,
...
</code></pre>
<a style="font-size: xx-small;" href="https://w3c-ccg.github.io/vc-barcodes/#example-a-cbor-ld-compressed-utopia-driver-s-license-vc">
https://w3c-ccg.github.io/vc-barcodes/#example-a-cbor-ld-compressed-utopia-driver-s-license-vc
</a>
</section>

<section class="slide" id="cbor-ld-">
Expand Down

0 comments on commit 8f22687

Please sign in to comment.