-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update plugin to use respec-vc (#280)
* not working yet * some progress * plugin needs to be updated * update latest * update to new version * one more update
- Loading branch information
1 parent
46c4e0e
commit f083eaa
Showing
13 changed files
with
13 additions
and
16,345 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,7 @@ | |
<meta http-equiv='Content-Type' content='text/html;charset=utf-8'/> | ||
<title>Securing Verifiable Credentials using JOSE and COSE</title> | ||
<script src="https://www.w3.org/Tools/respec/respec-w3c" class="remove"></script> | ||
<script class="remove" | ||
src="https://cdn.jsdelivr.net/gh/w3c/vc-jose-cose@e7f73ef0060c2c8e4c1319ed6f3024eb8b622cf2/plugin/dist/main.js"></script> | ||
<script class="remove" src="https://cdn.jsdelivr.net/gh/digitalbazaar/[email protected]/dist/main.js"></script> | ||
<script class="remove"> | ||
// See https://github.com/w3c/respec/wiki/ for how to configure | ||
// ReSpec | ||
|
@@ -81,7 +80,7 @@ | |
|
||
maxTocLevel: 3, | ||
inlineCSS: true, | ||
postProcess: [window.respecVcJoseCose.processVcJoseCose], | ||
postProcess: [window.respecVc.createVcExamples], | ||
license: "w3c-software-doc", | ||
xref: true, | ||
otherLinks: [{ | ||
|
@@ -264,7 +263,7 @@ <h2 id="securing-with-jose">Securing JSON-LD Verifiable Credentials with JOSE</h | |
A [=conforming JWS verifier implementation=] MUST use [[RFC7515]] to verify [=conforming JWS documents=] | ||
that use this media type. | ||
</p> | ||
<pre class="example vc-jose-cose-jwt" title="A simple example of a verifiable credential secured with JOSE"> | ||
<pre class="example nohighlight vc" data-vc-tabs="jose" title="A simple example of a verifiable credential secured with JOSE"> | ||
{ | ||
"@context": [ | ||
"https://www.w3.org/ns/credentials/v2", | ||
|
@@ -329,7 +328,7 @@ <h2 id="securing-vps-with-jose">Securing JSON-LD Verifiable Presentations with J | |
These credentials are secured using JWS in this case. | ||
<p> | ||
|
||
<pre class="example vc-jose-cose-jwt" | ||
<pre class="example nohighlight vc" data-vc-tabs="jose" | ||
title="A simple example of a verifiable presentation secured with JOSE"> | ||
{ | ||
"@context": [ | ||
|
@@ -449,7 +448,7 @@ <h2 id="securing-with-sd-jwt">Securing JSON-LD Verifiable Credentials with SD-JW | |
documents=] that use this media type. | ||
</p> | ||
|
||
<pre class="example vc-jose-cose-sd-jwt" | ||
<pre class="example nohighlight vc" data-vc-tabs="sd-jwt" | ||
title="A simple example of a verifiable credential secured with SD-JWT"> | ||
{ | ||
"@context": [ | ||
|
@@ -514,7 +513,7 @@ <h2 id="securing-vps-sd-jwt">Securing JSON-LD Verifiable Presentations with SD-J | |
Credentials in verifiable presentations MUST be secured. | ||
These credentials are secured using SD-JWT in this case. | ||
<p> | ||
<pre class="example vc-jose-cose-sd-jwt" | ||
<pre class="example nohighlight vc" data-vc-tabs="sd-jwt" | ||
title="A simple example of a verifiable presentation secured with SD-JWT"> | ||
{ | ||
"@context": [ | ||
|
@@ -573,7 +572,7 @@ <h2 id="securing-vcs-with-cose">Securing JSON-LD Verifiable Credentials with COS | |
A [=conforming COSE verifier implementation=] MUST use COSE_Sign1 as specified in [[RFC9052]] to verify | ||
[=conforming COSE documents=] that use this media type. | ||
</p> | ||
<pre class="example vc-jose-cose-cose" | ||
<pre class="example nohighlight vc" data-vc-tabs="cose" | ||
title="A simple example of a verifiable credential secured with COSE"> | ||
{ | ||
"@context": [ | ||
|
@@ -636,7 +635,7 @@ <h2 id="securing-vps-with-cose">Securing JSON-LD Verifiable Presentations with C | |
Credentials in verifiable presentations MUST be secured. | ||
These credentials are secured using COSE in this case. | ||
<p> | ||
<pre class="example vc-jose-cose-cose" | ||
<pre class="example nohighlight vc" data-vc-tabs="cose" | ||
title="A simple example of a verifiable presentation secured with COSE"> | ||
{ | ||
"@context": [ | ||
|
@@ -1693,7 +1692,7 @@ <h2 id="vc-ld-json-cose"><code>application/vc-ld+cose</code></h2> | |
<td>Security considerations:</td> | ||
<td> | ||
<p>As defined in this specification. See also the security | ||
considerations in [[RFC9052]]</a>.</p> | ||
considerations in [[RFC9052]].</p> | ||
</td> | ||
</tr> | ||
<tr> | ||
|
@@ -1739,7 +1738,7 @@ <h2 id="vp-ld-json-cose"><code>application/vp-ld+cose</code></h2> | |
<td>Security considerations:</td> | ||
<td> | ||
<p>As defined in this specification. See also the security | ||
considerations in [[RFC9052]]</a>.</p> | ||
considerations in [[RFC9052]].</p> | ||
</td> | ||
</tr> | ||
<tr> | ||
|
@@ -2008,7 +2007,7 @@ <h2 id="controllers">Controllers</h2> | |
</section> | ||
<section> | ||
<h3 id="credentials">Credentials</h3> | ||
<pre class="example vc-jose-cose" title="A revocable credential with multiple subjects"> | ||
<pre class="example nohighlight vc" data-vc-tabs="jose sd-jwt cose" title="A revocable credential with multiple subjects"> | ||
{ | ||
"@context": ["https://www.w3.org/ns/credentials/v2", | ||
"https://www.w3.org/ns/credentials/examples/v2" | ||
|
@@ -2036,7 +2035,7 @@ <h3 id="credentials">Credentials</h3> | |
} | ||
</pre> | ||
|
||
<pre class="example vc-jose-cose" title="A credential with a schema"> | ||
<pre class="example nohighlight vc" data-vc-tabs="jose sd-jwt cose" title="A credential with a schema"> | ||
{ | ||
"@context": [ | ||
"https://www.w3.org/ns/credentials/v2", | ||
|
@@ -2062,7 +2061,7 @@ <h3 id="credentials">Credentials</h3> | |
<section> | ||
<h2 id="presentations">Presentations</h2> | ||
|
||
<pre class="example vc-jose-cose" title="Presentation"> | ||
<pre class="example nohighlight vc" data-vc-tabs="jose sd-jwt cose" title="Presentation"> | ||
{ | ||
"@context": [ | ||
"https://www.w3.org/ns/credentials/v2", | ||
|
@@ -2357,7 +2356,6 @@ <h3 id="alg-cose">Algorithm for Verifying a Credential or Presentation Secured w | |
</li> | ||
</ol> | ||
</li> | ||
</li> | ||
</ol> | ||
</section> | ||
|
||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.