Skip to content

Commit

Permalink
Add revocation example. Related to #9 and #59.
Browse files Browse the repository at this point in the history
  • Loading branch information
msporny committed Jul 27, 2017
1 parent b72fc0b commit 66e09fd
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ <h2>Issuer</h2>
information associated with the <var>claim</var> property became valid.
</dd>
</dl>
<pre class="example nohighlight" title="foo">
<pre class="example nohighlight" title="Usage of issuer properties">
{
"@context": "https://w3id.org/security/v1",
"id": "http://dmv.example.gov/credentials/3732",
Expand Down Expand Up @@ -581,8 +581,28 @@ <h2>Revocation</h2>
The group is currently determining whether or not they should publish a
very simple scheme for revocation as a part of this specification.
</p>

<pre class="example nohighlight" title="Usage of revocation property">
{
"@context": "https://w3id.org/security/v1",
"id": "http://dmv.example.gov/credentials/3732",
"type": ["Credential", "ProofOfAgeCredential"],
"issuer": "https://dmv.example.gov/issuers/14",
"issued": "2010-01-01T19:73:24Z",
"claim": {
"id": "did:example:ebfeb1f712ebc6f1c276e12ec21",
"ageOver": 21
},
<span class="highlight">"revocation": {
"id": "https://dmv.example.gov/revocation/24,
"type": "RevocationList2017"
}</span>,
"signature": { ... }
}
</pre>
</section>


</section>

<section>
Expand Down

0 comments on commit 66e09fd

Please sign in to comment.