Skip to content

Commit

Permalink
Adding contexts for JWK examples
Browse files Browse the repository at this point in the history
  • Loading branch information
iherman authored Jan 30, 2024
1 parent 3c476fc commit c95f2ef
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,8 @@ <h2>Verification Methods</h2>
{
"@context": [
"https://www.w3.org/ns/did/v1",
"https://www.w3.org/ns/credentials/v2"
"https://www.w3.org/ns/credentials/v2",
"https://w3id.org/security/jwk/v1"
]
"id": "did:example:123456789abcdefghi",
<span class="comment">...</span>
Expand Down Expand Up @@ -785,7 +786,8 @@ <h3>Verification Material</h3>
{
"@context": [
"https://www.w3.org/ns/did/v1",
"https://www.w3.org/ns/credentials/v2"
"https://www.w3.org/ns/credentials/v2",
"https://w3id.org/security/jwk/v1"
]
"id": "did:example:123456789abcdefghi",
<span class="comment">...</span>
Expand Down Expand Up @@ -1546,9 +1548,13 @@ <h2>Controllers</h2>

<pre class="example" title="A verifiable credential controller document">
{
"@context": ["https://www.w3.org/ns/did/v1", {
"@vocab": "https://vendor.example#"
}],
"@context": [
"https://www.w3.org/ns/did/v1",
"https://w3id.org/security/jwk/v1",
{
"@vocab": "https://vendor.example#"
}
],
"id": "did:web:vendor.example",
"alsoKnownAs": ["https://vendor.example",
"did:jwk:eyJraWQiOiJ1cm46aWV0ZjpwYXJhbXM6b2F1dGg6andrLXRodW1icHJpbnQ6c2hhLTI1NjpGZk1iek9qTW1RNGVmVDZrdndUSUpqZWxUcWpsMHhqRUlXUTJxb2JzUk1NIiwia3R5IjoiT0tQIiwiY3J2IjoiRWQyNTUxOSIsImFsZyI6IkVkRFNBIiwieCI6IkFOUmpIX3p4Y0tCeHNqUlBVdHpSYnA3RlNWTEtKWFE5QVBYOU1QMWo3azQifQ"
Expand Down Expand Up @@ -1841,4 +1847,4 @@ <h2>Validation Algorithm</h2>
</section>
</body>

</html>
</html>

0 comments on commit c95f2ef

Please sign in to comment.