Skip to content

Commit

Permalink
Clarify context requirement for enveloped VCs.
Browse files Browse the repository at this point in the history
  • Loading branch information
msporny committed Dec 16, 2023
1 parent 0074a89 commit 2ffb884
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2344,11 +2344,14 @@ <h4>Enveloped Verifiable Credentials</h4>
<dd>
Used to associate an object containing an enveloped <a>verifiable credential</a>
with the `verifiableCredential` property in a <a>verifiable presentation</a>.
The `@context` value of the object MUST follow all of the "MUST" statements in
Section <a href="#contexts"></a>. The `id` value of the object MUST be a `data:`
URL [[RFC2397]] that expresses a secured <a>verifiable credential</a> using an enveloping
security scheme, such as [[[VC-JOSE-COSE]]] [[VC-JOSE-COSE]]. The `type` value
of the object MUST be `EnvelopedVerifiableCredential`.
The `@context` property of the object MUST be present and include a context,
such as the <a href="#base-context">base context for this specification</a>,
that defines at least the `id`, `type`, and `EnvelopedVerifiableCredential`
terms as defined by the base context provided by this specification. The `id`
value of the object MUST be a `data:` URL [[RFC2397]] that expresses a secured
<a>verifiable credential</a> using an enveloping security scheme, such as
[[[VC-JOSE-COSE]]] [[VC-JOSE-COSE]]. The `type` value of the object MUST be
`EnvelopedVerifiableCredential`.
</dd>
</dl>

Expand Down Expand Up @@ -3988,7 +3991,8 @@ <h3>Verifiable Credential Graphs</h3>
the <a>default graph</a>. For <a>presentations</a>, each value associated with
the `verifiableCredential` property of the <a>presentation</a> is a separate
<a>named graph</a> of type <dfn class="export">VerifiableCredentialGraph</dfn>
which contains a single <a>verifiable credential</a>.
which contains a single <a>verifiable credential</a> or an
<a href="#enveloped-verifiable-credentials">enveloped verifiable credential</a>.
</p>
<p>
Using these <a>graphs</a> has a concrete effect when performing JSON-LD
Expand Down

0 comments on commit 2ffb884

Please sign in to comment.