-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add expires example to proof. #314
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Attempting to increase the clarity of the title
@@ -926,6 +926,27 @@ <h3>Proofs</h3> | |||
representing time values to individuals. | |||
</p> | |||
|
|||
<pre class="example nohighlight" | |||
title="A proof attached to a data document that uses the 'expires' property"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
title="A proof attached to a data document that uses the 'expires' property"> | |
title="A proof that uses the 'expires' property, attached to a data document"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or
title="A proof attached to a data document that uses the 'expires' property"> | |
title="A data document with an attached proof that uses the 'expires' property"> |
"type": "DataIntegrityProof", | ||
"cryptosuite": "ecdsa-rdfc-2019", | ||
"created": "2020-06-11T19:14:04Z", | ||
<span class="comment">// the proof expires a month after it was issued</span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<span class="comment">// the proof expires a month after it was issued</span> | |
<span class="comment">// the proof expires a month after it was created</span> |
"cryptosuite": "ecdsa-rdfc-2019", | ||
"created": "2020-06-11T19:14:04Z", | ||
<span class="comment">// the proof expires a month after it was issued</span> | ||
<span class="highlight">expires": "2020-07-11T19:14:04Z"</span>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<span class="highlight">expires": "2020-07-11T19:14:04Z"</span>, | |
<span class="highlight">"expires": "2020-07-11T19:14:04Z"</span>, |
This PR is an attempt to address issue #313 by adding a proof to the specification that uses the
expires
property./cc @filip26
Preview | Diff