Skip to content

Commit

Permalink
update cose typ language
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe committed Oct 24, 2024
1 parent 1dd153d commit 34e39f2
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@ <h2 id="securing-with-jose">Securing JSON-LD Verifiable Credentials
<code>vc</code>.
The <code>cty</code> header parameter value can be used to differentiate
between secured content of different types when using <code>vc+jwt</code>.
Other more specific media types MAY be used, if they are available.
See <a data-cite="RFC7515#section-4.1">Registered Header Parameter Names</a>
for additional details regarding usage of <code>typ</code> and <code>cty</code>.
</p>
Expand Down Expand Up @@ -501,6 +502,7 @@ <h2 id="securing-vps-with-jose">Securing JSON-LD
<code>vp</code>.
The <code>cty</code> header parameter value can be used to differentiate
between secured content of different types when using <code>vp+jwt</code>.
Other more specific media types MAY be used, if they are available.
See <a data-cite="RFC7515#section-4.1">Registered Header Parameter Names</a>
for additional details regarding usage of <code>typ</code> and <code>cty</code>.
</p>
Expand Down Expand Up @@ -668,6 +670,7 @@ <h2 id="securing-with-sd-jwt">Securing JSON-LD Verifiable Credentials with SD-JW
When present, the <code>cty</code> header parameter SHOULD be <code>vc</code>.
The <code>cty</code> header parameter value can be used to differentiate
between secured content of different types when using <code>vc+sd-jwt</code>.
Other more specific media types MAY be used, if they are available.
See <a data-cite="RFC7515#section-4.1">Registered Header Parameter Names</a>
for additional details regarding usage of <code>typ</code> and <code>cty</code>.
</p>
Expand Down Expand Up @@ -740,6 +743,7 @@ <h2 id="securing-vps-sd-jwt">Securing JSON-LD Verifiable Presentations with SD-J
When present, the <code>cty</code> header parameter SHOULD be <code>vp</code>.
The <code>cty</code> header parameter value can be used to differentiate
between secured content of different types when using <code>vp+sd-jwt</code>.
Other more specific media types MAY be used, if they are available.
See <a data-cite="RFC7515#section-4.1">Registered Header Parameter Names</a>
for additional details regarding usage of <code>typ</code> and <code>cty</code>.
</p>
Expand Down Expand Up @@ -849,11 +853,11 @@ <h2 id="securing-vcs-with-cose">Securing JSON-LD
The <code>typ</code> header parameter, as described in
<a data-cite="RFC9596#section-2">COSE "typ" (type) Header Parameter</a>,
SHOULD be <code>application/vc+cose</code>.
When present, the <code>content type (3)</code> header parameter
SHOULD be <code>application/vc</code>.
The <code>type (16)</code> header parameter SHOULD be <code>application/vc</code>.
The <code>content type (3)</code> header parameter value can be used
to differentiate between secured content of different types when using
<code>application/vc+cose</code>.
Other more specific media types MAY be used, if they are available.
See <a data-cite="RFC9052#section-3.1">Common COSE Header Parameters</a>
for additional details.
</p>
Expand Down Expand Up @@ -919,9 +923,10 @@ <h2 id="securing-vps-with-cose">Securing JSON-LD Verifiable Presentations with C
</p>
<p>
The <code>typ</code> header parameter SHOULD be <code>application/vp+cose</code>.
When present, the <code>content type (3)</code> header parameter SHOULD be <code>application/vp</code>.
The <code>type (16)</code> header parameter SHOULD be <code>application/vp</code>.
The <code>content type (3)</code> header parameter value can be used to differentiate
between secured content of different types when using <code>application/vp+cose</code>.
Other more specific media types MAY be used, if they are available.
See <a data-cite="RFC9052#section-3.1">Common COSE Header Parameters</a>
for additional details.
</p>
Expand Down

0 comments on commit 34e39f2

Please sign in to comment.