Skip to content

Commit

Permalink
Deployed d6d2fcf to main with MkDocs 1.6.0 and mike 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jun 12, 2024
1 parent c7a9dc2 commit e2c012e
Show file tree
Hide file tree
Showing 8 changed files with 647 additions and 470 deletions.
2 changes: 1 addition & 1 deletion main/RFCindex/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4557,6 +4557,7 @@ <h2 id="adopted"><a href="../#adopted">ADOPTED</a><a class="headerlink" href="#a
<li><a href="../concepts/0441-present-proof-best-practices/">0441: Prover and Verifier Best Practices for Proof Presentation</a> (2024-05-01 &mdash; <a href="../tags/#concept"><code>concept</code></a> <a href="../tags/#credentials"><code>credentials</code></a>)</li>
<li><a href="../features/0453-issue-credential-v2/">0453: Issue Credential Protocol 2.0</a> (2021-04-15 &mdash; <a href="../tags/#feature"><code>feature</code></a> <a href="../tags/#decorator"><code>decorator</code></a> <a href="../tags/#protocol"><code>protocol</code></a> <a href="../tags/#credentials"><code>credentials</code></a> <a href="../tags/#test-anomaly"><code>test-anomaly</code></a>)</li>
<li><a href="../features/0454-present-proof-v2/">0454: Present Proof Protocol 2.0</a> (2021-04-15 &mdash; <a href="../tags/#feature"><code>feature</code></a> <a href="../tags/#protocol"><code>protocol</code></a> <a href="../tags/#credentials"><code>credentials</code></a> <a href="../tags/#test-anomaly"><code>test-anomaly</code></a>)</li>
<li><a href="../features/0496-transition-to-oob-and-did-exchange/">0496: Transition to the Out of Band Protocol</a> (2021-11-24 &mdash; <a href="../tags/#feature"><code>feature</code></a> <a href="../tags/#community-update"><code>community-update</code></a> <a href="../tags/#test-anomaly"><code>test-anomaly</code></a>)</li>
<li><a href="../features/0510-dif-pres-exch-attach/">0510: Presentation-Exchange Attachment format for requesting and presenting proofs</a> (2020-07-21 &mdash; <a href="../tags/#feature"><code>feature</code></a> <a href="../tags/#protocol"><code>protocol</code></a> <a href="../tags/#credentials"><code>credentials</code></a> <a href="../tags/#test-anomaly"><code>test-anomaly</code></a>)</li>
<li><a href="../features/0557-discover-features-v2/">0557: Discover Features Protocol v2.x</a> (2024-05-01 &mdash; <a href="../tags/#feature"><code>feature</code></a> <a href="../tags/#protocol"><code>protocol</code></a> <a href="../tags/#test-anomaly"><code>test-anomaly</code></a>)</li>
<li><a href="../features/0592-indy-attachments/">0592: Indy Attachment Formats for Requesting and Presenting Credentials</a> (2021-04-15 &mdash; <a href="../tags/#feature"><code>feature</code></a> <a href="../tags/#protocol"><code>protocol</code></a> <a href="../tags/#credentials"><code>credentials</code></a> <a href="../tags/#test-anomaly"><code>test-anomaly</code></a>)</li>
Expand All @@ -4572,7 +4573,6 @@ <h2 id="accepted"><a href="../#accepted">ACCEPTED</a><a class="headerlink" href=
<li><a href="../concepts/0049-repudiation/">0049: Repudiation</a> (2019-03-01 &mdash; <a href="../tags/#concept"><code>concept</code></a>)</li>
<li><a href="../concepts/0050-wallets/">0050: Wallets</a> (2018-07-01, <a href="../concepts/0050-wallets/#implementations">1 impl</a> &mdash; <a href="../tags/#concept"><code>concept</code></a>)</li>
<li><a href="../features/0183-revocation-notification/">0183: Revocation Notification 1.0</a> (2024-05-01 &mdash; <a href="../tags/#feature"><code>feature</code></a> <a href="../tags/#protocol"><code>protocol</code></a>)</li>
<li><a href="../features/0496-transition-to-oob-and-did-exchange/">0496: Transition to the Out of Band and DID Exchange Protocols</a> (2021-11-24 &mdash; <a href="../tags/#feature"><code>feature</code></a> <a href="../tags/#community-update"><code>community-update</code></a> <a href="../tags/#test-anomaly"><code>test-anomaly</code></a>)</li>
<li><a href="../concepts/0519-goal-codes/">0519: Goal Codes</a> (2021-04-15 &mdash; <a href="../tags/#concept"><code>concept</code></a>)</li>
<li><a href="../features/0587-encryption-envelope-v2/">0587: Encryption Envelope v2</a> (2021-04-15 &mdash; <a href="../tags/#feature"><code>feature</code></a>)</li>
<li><a href="../features/0646-bbs-credentials/">0646: W3C Credential Exchange using BBS+ Signatures</a> (2021-04-28 &mdash; <a href="../tags/#feature"><code>feature</code></a>)</li>
Expand Down
20 changes: 10 additions & 10 deletions main/features/0056-service-decorator/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4598,17 +4598,17 @@ <h2 id="motivation">Motivation<a class="headerlink" href="#motivation" title="Pe
<p>The <code>~service</code> decorator on a message contains the service definition that you might expect to find in a DID Document. These values function the same way.</p>
<h2 id="tutorial">Tutorial<a class="headerlink" href="#tutorial" title="Permanent link">&para;</a></h2>
<p>Usage looks like this, with the contents defined the <a href="https://w3c-ccg.github.io/did-spec/#service-endpoints">Service Endpoint section of the DID Spec</a>:</p>
<p><code>json=
{
"@type": "somemessagetype",
"~service": {
"recipientKeys": ["8HH5gYEeNc3z7PYXmd54d4x6qAfCNrqQqEB3nS7Zfu7K"],
"routingKeys": ["8HH5gYEeNc3z7PYXmd54d4x6qAfCNrqQqEB3nS7Zfu7K"]
"serviceEndpoint": "https://example.com/endpoint"
}
}</code></p>
<div class="highlight"><pre><span></span><code><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="p">{</span>
<a id="__codelineno-0-2" name="__codelineno-0-2" href="#__codelineno-0-2"></a><span class="w"> </span><span class="nt">&quot;@type&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;somemessagetype&quot;</span><span class="p">,</span>
<a id="__codelineno-0-3" name="__codelineno-0-3" href="#__codelineno-0-3"></a><span class="w"> </span><span class="nt">&quot;~service&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">{</span>
<a id="__codelineno-0-4" name="__codelineno-0-4" href="#__codelineno-0-4"></a><span class="w"> </span><span class="nt">&quot;recipientKeys&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="s2">&quot;8HH5gYEeNc3z7PYXmd54d4x6qAfCNrqQqEB3nS7Zfu7K&quot;</span><span class="p">],</span>
<a id="__codelineno-0-5" name="__codelineno-0-5" href="#__codelineno-0-5"></a><span class="w"> </span><span class="nt">&quot;routingKeys&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="s2">&quot;8HH5gYEeNc3z7PYXmd54d4x6qAfCNrqQqEB3nS7Zfu7K&quot;</span><span class="p">]</span>
<a id="__codelineno-0-6" name="__codelineno-0-6" href="#__codelineno-0-6"></a><span class="w"> </span><span class="nt">&quot;serviceEndpoint&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;https://example.com/endpoint&quot;</span>
<a id="__codelineno-0-7" name="__codelineno-0-7" href="#__codelineno-0-7"></a><span class="w"> </span><span class="p">}</span>
<a id="__codelineno-0-8" name="__codelineno-0-8" href="#__codelineno-0-8"></a><span class="p">}</span>
</code></pre></div>
<h2 id="reference">Reference<a class="headerlink" href="#reference" title="Permanent link">&para;</a></h2>
<p>The contents of the <code>~service</code> decorator are defined by the <a href="https://w3c-ccg.github.io/did-spec/#service-endpoints">Service Endpoint section of the DID Spec</a>.</p>
<p>The contents of the <code>~service</code> decorator are defined by the <a href="https://w3c-ccg.github.io/did-spec/#service-endpoints">Service Endpoint section of the DID Spec</a>.</p>
<p>The decorator should not be used when the message recipient already has a service endpoint.</p>
<h2 id="drawbacks">Drawbacks<a class="headerlink" href="#drawbacks" title="Permanent link">&para;</a></h2>
<p>The current service block definition is not very compact, and could cause problems when attempting to transfer a message via QR code.</p>
Expand Down
Loading

0 comments on commit e2c012e

Please sign in to comment.