Skip to content

Commit

Permalink
clarify data uri encoding for cose
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe committed Sep 30, 2024
1 parent 43b532b commit f2ff030
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -820,8 +820,7 @@ <h2 id="securing-vcs-with-cose">Securing JSON-LD Verifiable Credentials with COS
<p>
When including [=verifiable credentials=] secured with COSE in [=verifiable presentations=]
as <a
data-cite="VC-DATA-MODEL-2.0/#defn-EnvelopedVerifiableCredential">Enveloped Verifiable Credentials</a>, the credentials MUST be encoded using hexadecimal
as specified in [[RFC4648]].
data-cite="VC-DATA-MODEL-2.0/#defn-EnvelopedVerifiableCredential">Enveloped Verifiable Credentials</a>, the credentials MUST be encoded using base64 as specified in [[RFC2397]].
</p>
<p>
To encrypt a secured [=verifiable credential=]
Expand Down Expand Up @@ -2037,7 +2036,7 @@ <h2 id="presentations">Presentations</h2>
"verifiableCredential": [
{
"@context": "https://www.w3.org/ns/credentials/v2",
"id": "data:application/vc+cose,QzVjV...RMjU",
"id": "data:application/vc+cose;base64,QzVjV...RMjU",
"type": "EnvelopedVerifiableCredential"
},
{
Expand Down

0 comments on commit f2ff030

Please sign in to comment.