CINXE.COM

IPLD ♦

<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="/css/layout.css?1738557326388"> <link rel="stylesheet" href="/css/nav.css?1738557326388"> <link rel="stylesheet" href="/css/style.css?1738557326388"> <link rel="stylesheet" href="/css/prismjs@1.24-themes-prism.css"> <title>IPLD ♦ </title> </head> <body> <header> <div class="sidebar-button" onclick="document.getElementById('sidebar').classList.toggle('sidebar-open')"> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"> <path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path> </svg> </div> <a href="/" class="logo">IPLD</a> <aside id=breadcrumbs> <ul> <li><a href="/specs">specs</a></li> <li><a href="/specs/codecs">codecs</a></li> <li><a href="/specs/codecs/dag-jose">dag-jose</a></li> <li><a href="/specs/codecs/dag-jose/fixtures/">fixtures</a></li> </ul> </aside> </header> <aside id=sidebar> <nav> <ul> <li> <a href="/docs/">Docs</a><ul> <li> <a href="/docs/intro/">Intro</a><ul> <li> <a href="/docs/intro/hello-world/">Hello, World</a></li> <li> <a href="/docs/intro/primer/">The Brief Primer</a></li> <li> <a href="/docs/intro/ecosystem/">InterPlanetary Ecosystem Overview</a></li> <li> <a href="/docs/intro/community/">Finding Community</a></li></ul></li> <li> <a href="/docs/motivation/">Motivation</a><ul> <li> <a href="/docs/motivation/benefits-of-content-addressing/">Benefits of Content Addressing</a></li> <li> <a href="/docs/motivation/data-to-data-structures/">From Data to Data Structures</a></li></ul></li> <li> <a href="/docs/codecs/">Codecs</a><ul> <li> <a href="/docs/codecs/known/">Known Codecs</a><ul> <li> <a href="/docs/codecs/known/dag-cbor/">DAG-CBOR</a></li> <li> <a href="/docs/codecs/known/dag-json/">DAG-JSON</a></li> <li> <a href="/docs/codecs/known/dag-pb/">DAG-PB</a></li></ul></li></ul></li> <li> <a href="/docs/data-model/">Data Model</a><ul> <li> <a href="/docs/data-model/node/">Nodes</a></li> <li> <a href="/docs/data-model/kinds/">Kinds</a></li> <li> <a href="/docs/data-model/pathing/">Pathing</a></li> <li> <a href="/docs/data-model/traversal/">Traversal</a></li></ul></li> <li> <a href="/docs/advanced-data-layouts/">Advanced Data Layouts</a><ul> <li> <a href="/docs/advanced-data-layouts/intro/">Intro to ADLs</a></li> <li> <a href="/docs/advanced-data-layouts/naming/">ADL Naming</a></li> <li> <a href="/docs/advanced-data-layouts/signalling/">Signalling ADLs</a></li> <li> <a href="/docs/advanced-data-layouts/dynamic-loading/">Dynamic Loading</a></li> <li> <a href="/docs/advanced-data-layouts/known/">Known ADLs</a></li></ul></li> <li> <a href="/docs/schemas/">Schemas</a><ul> <li> <a href="/docs/schemas/intro/">Introduction</a><ul> <li> <a href="/docs/schemas/intro/compare/">compare</a></li> <li> <a href="/docs/schemas/intro/goals/">Goals</a></li> <li> <a href="/docs/schemas/intro/feature-summary/">Feature Summary</a></li></ul></li> <li> <a href="/docs/schemas/features/">Features</a><ul> <li> <a href="/docs/schemas/features/typekinds/">Type Kinds</a></li> <li> <a href="/docs/schemas/features/representation-strategies/">Representation Strategies</a></li> <li> <a href="/docs/schemas/features/links/">Links</a></li> <li> <a href="/docs/schemas/features/indicating-adls/">Using ADLs in Schemas</a></li></ul></li> <li> <a href="/docs/schemas/using/">Using Wisely</a><ul> <li> <a href="/docs/schemas/using/authoring-guide/">Authoring Guide</a></li> <li> <a href="/docs/schemas/using/migrations/">Migrations</a></li></ul></li></ul></li> <li> <a href="/docs/synthesis/">Synthesis</a><ul> <li> <a href="/docs/synthesis/gtd/">Getting Things Done</a></li> <li> <a href="/docs/synthesis/building-in-alignment/">Building in Alignment</a></li> <li> <a href="/docs/synthesis/how-ipfs-web-gateways-work/">How IPFS Web Gateways Work</a></li> <li> <a href="/docs/synthesis/encryption/">Working With Encryption</a></li></ul></li></ul></li> <li> <a href="/specs/">Specs</a><ul> <li> <a href="/specs/about/">About the Specifications</a></li> <li> <a href="/specs/codecs/">Codecs</a><ul> <li> <a href="/specs/codecs/dag-cbor/">DAG-CBOR</a><ul> <li> <a href="/specs/codecs/dag-cbor/spec/">Spec</a></li> <li> <a href="/specs/codecs/dag-cbor/fixtures/">DAG-CBOR Test Fixtures</a><ul> <li> <a href="/specs/codecs/dag-cbor/fixtures/cross-codec/">cross-codec</a></li></ul></li></ul></li> <li> <a href="/specs/codecs/dag-cosmos/">DAG-COSMOS</a><ul> <li> <a href="/specs/codecs/dag-cosmos/basic_types/">basic_types</a></li> <li> <a href="/specs/codecs/dag-cosmos/cosmos_state/">cosmos_state</a></li> <li> <a href="/specs/codecs/dag-cosmos/crypto_types/">crypto_types</a></li> <li> <a href="/specs/codecs/dag-cosmos/tendermint_chain/">tendermint_chain</a></li> <li> <a href="/specs/codecs/dag-cosmos/typed_protobuf/">typed_protobuf</a></li></ul></li> <li> <a href="/specs/codecs/dag-eth/">DAG-ETH</a><ul> <li> <a href="/specs/codecs/dag-eth/basic_types/">basic_types</a></li> <li> <a href="/specs/codecs/dag-eth/chain/">chain</a></li> <li> <a href="/specs/codecs/dag-eth/convenience_types/">convenience_types</a></li> <li> <a href="/specs/codecs/dag-eth/state/">state</a></li></ul></li> <li> <a href="/specs/codecs/dag-jose/">DAG-JOSE</a><ul> <li> <a href="/specs/codecs/dag-jose/spec/">Spec</a></li> <li class="active-page"> <a href="/specs/codecs/dag-jose/fixtures/">fixtures</a></li></ul></li> <li> <a href="/specs/codecs/dag-json/">DAG-JSON</a><ul> <li> <a href="/specs/codecs/dag-json/spec/">Spec</a></li> <li> <a href="/specs/codecs/dag-json/fixtures/">DAG-JSON Test Fixtures</a><ul> <li> <a href="/specs/codecs/dag-json/fixtures/cross-codec/">cross-codec</a></li></ul></li></ul></li> <li> <a href="/specs/codecs/dag-pb/">DAG-PB</a><ul> <li> <a href="/specs/codecs/dag-pb/spec/">Spec</a></li> <li> <a href="/specs/codecs/dag-pb/fixtures/">DAG-PB Test Fixtures</a><ul> <li> <a href="/specs/codecs/dag-pb/fixtures/cross-codec/">cross-codec</a></li></ul></li></ul></li></ul></li> <li> <a href="/specs/advanced-data-layouts/">Advanced Data Layouts</a><ul> <li> <a href="/specs/advanced-data-layouts/fbl/">FBL ADL</a><ul> <li> <a href="/specs/advanced-data-layouts/fbl/spec/">spec</a></li></ul></li> <li> <a href="/specs/advanced-data-layouts/hamt/">HAMT ADL</a><ul> <li> <a href="/specs/advanced-data-layouts/hamt/spec/">spec</a></li> <li> <a href="/specs/advanced-data-layouts/hamt/fixture/">HashMap (HAMT) Test Fixtures</a><ul> <li> <a href="/specs/advanced-data-layouts/hamt/fixture/alice-words/">alice-words</a></li></ul></li></ul></li></ul></li> <li> <a href="/specs/schemas/">Schemas</a><ul> <li> <a href="/specs/schemas/prelude/">prelude</a></li></ul></li> <li> <a href="/specs/transport/">Transports</a><ul> <li> <a href="/specs/transport/car/">CAR</a><ul> <li> <a href="/specs/transport/car/carv1/">CARv1 Specification</a></li> <li> <a href="/specs/transport/car/carv2/">CARv2 Specification</a></li> <li> <a href="/specs/transport/car/fixture/">CAR Test Fixtures</a><ul> <li> <a href="/specs/transport/car/fixture/carv1-basic/">carv1-basic</a></li> <li> <a href="/specs/transport/car/fixture/carv2-basic/">carv2-basic</a></li></ul></li></ul></li> <li> <a href="/specs/transport/graphsync/">Graphsync</a><ul> <li> <a href="/specs/transport/graphsync/known_extensions/">known_extensions</a></li></ul></li> <li> <a href="/specs/transport/trustless-pathing/">Trustless Pathing</a><ul> <li> <a href="/specs/transport/trustless-pathing/fixtures/">Trustless Pathing Fixtures</a><ul> <li> <a href="/specs/transport/trustless-pathing/fixtures/unixfs_20m_variety/">unixfs_20m_variety</a></li></ul></li></ul></li></ul></li> <li> <a href="/specs/selectors/">Selectors</a><ul> <li> <a href="/specs/selectors/fixtures/">fixtures</a><ul> <li> <a href="/specs/selectors/fixtures/selector-fixtures-1/">selector-fixtures-1</a></li> <li> <a href="/specs/selectors/fixtures/selector-fixtures-adl/">selector-fixtures-adl</a></li> <li> <a href="/specs/selectors/fixtures/selector-fixtures-recursion/">selector-fixtures-recursion</a></li></ul></li></ul></li> <li> <a href="/specs/patch/">Patch</a><ul> <li> <a href="/specs/patch/fixtures/">IPLD Patch Test Fixtures</a><ul> <li> <a href="/specs/patch/fixtures/fixtures-1/">fixtures-1</a></li></ul></li></ul></li></ul></li> <li> <a href="/libraries/">Libraries</a><ul> <li> <a href="/libraries/golang/">Golang</a></li> <li> <a href="/libraries/java/">Java</a></li> <li> <a href="/libraries/javascript/">JavaScript</a></li> <li> <a href="/libraries/python/">Python</a></li> <li> <a href="/libraries/rust/">Rust</a></li></ul></li> <li> <a href="/design/">Design</a><ul> <li> <a href="/design/objectives/">Objectives</a></li> <li> <a href="/design/concepts/">Concepts</a><ul> <li> <a href="/design/concepts/type-theory-glossary/">type-theory-glossary</a></li></ul></li> <li> <a href="/design/libraries/">Libraries</a><ul> <li> <a href="/design/libraries/nodes-and-kinds/">nodes-and-kinds</a></li></ul></li> <li> <a href="/design/tricky-choices/">Tricky Choices</a><ul> <li> <a href="/design/tricky-choices/dag-pb-forms-impl-and-use/">dag-pb-forms-impl-and-use</a></li> <li> <a href="/design/tricky-choices/map-key-domain/">map-key-domain</a></li> <li> <a href="/design/tricky-choices/numeric-domain/">numeric-domain</a></li> <li> <a href="/design/tricky-choices/ordering/">ordering</a></li> <li> <a href="/design/tricky-choices/string-domain/">string-domain</a></li></ul></li> <li> <a href="/design/open-research/">Open Research</a><ul> <li> <a href="/design/open-research/ADL-autoexecution/">ADL autoexecution</a></li></ul></li></ul></li> <li> <a href="/tools/">Tools</a></li> <li> <a href="/glossary/">Glossary</a></li> <li> <a href="/media/">Media</a></li> <li> <a href="/FAQ/">FAQ</a></li></ul> </nav> </aside> <main> <div class=content> <h1>DAG-JOSE Fixtures</h1> <h2 id="about-this-document" tabindex="-1"><a class="header-anchor" href="#about-this-document">About this document</a></h2> <p>This document contains test fixtures for the <a href="..">DAG-JOSE</a> codec, and documentation describing them.</p> <p>These fixtures are executable by parsing them using the <a href="https://github.com/warpfork/go-testmark">testmark format</a>. If you're reading this file as markdown, or rendered to the web, know that all of the codeblocks here are data that can be easily programmatically extracted and used to drive tests in your implementation.</p> <p>These fixtures offer several different kinds of data:</p> <ul> <li>DAG-JOSE serial data -- in hexadecimal. (DAG-JOSE is a binary format, so hexadecimal is easier to work with here than the possibly-unprintable binary raw form.) <ul> <li>These should be used as both an decode fixture, and as an encode fixture (the data should round-trip).</li> </ul> </li> <li>The list of paths that should be seen in that data, when parsed as <a href="/docs/data-model/">data model</a>. (This is a good fixture because it's very human-readable, very easy to test, and also provides a form of documentation.)</li> <li>Prettyprinted <a href="/docs/codecs/known/dag-json/">DAG-JSON</a> data, which is the DAG-JOSE data, parsed, then re-encoded as DAG-JSON, and pretty-printed. (This gives deep coverage, because it effectively examines every bit of the <a href="/docs/data-model/">data model</a> view of the data.)</li> </ul> <h2 id="fixtures" tabindex="-1"><a class="header-anchor" href="#fixtures">Fixtures</a></h2> <h3 id="jws" tabindex="-1"><a class="header-anchor" href="#jws">JWS</a></h3> <p>This is the base32-encoded CID for a DAG-JOSE object, when using SHA2-256 (multihash code 0x12):</p> <pre><code>bagcqceraxvt5izt4sz7kjfrm42dxrutp6ijywgsacllkznzekmfojypkvfea </code></pre> <p>This is a DAG-JOSE object, in hexadecimal:</p> <pre><code>a2677061796c6f616458240171122089556551c3926679cc52c72e182a5619056a4727409ee93a26 d05ad727ca11f46a7369676e61747572657381a26970726f7465637465644f7b22616c67223a2245 64445341227d697369676e61747572655840fbff49e4e65c979955b9196023534913373416a11beb fdb256c9146903ddb9c450e287be379ca70a5e7bc039b848fb66d4bd5b96dae986941e04e7968d55 b505 </code></pre> <p>When it is parsed, we should see these paths within the data when we walk over it at the <a href="/docs/data-model/">data model</a> level:</p> <pre class="language-text"><code class="language-text">link payload signatures signatures/0 signatures/0/protected signatures/0/signature</code></pre> <p>If we re-encoded this data in <a href="/docs/codecs/known/dag-json/">DAG-JSON</a> (and prettyprint it), we should get this result:</p> <pre class="language-json"><code class="language-json"><span class="token punctuation">{</span> <span class="token property">"link"</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">"/"</span><span class="token operator">:</span> <span class="token string">"bafyreiejkvsvdq4smz44yuwhfymcuvqzavveoj2at3utujwqlllspsqr6q"</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token property">"payload"</span><span class="token operator">:</span> <span class="token string">"AXESIIlVZVHDkmZ5zFLHLhgqVhkFakcnQJ7pOibQWtcnyhH0"</span><span class="token punctuation">,</span> <span class="token property">"signatures"</span><span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token punctuation">{</span> <span class="token property">"protected"</span><span class="token operator">:</span> <span class="token string">"eyJhbGciOiJFZERTQSJ9"</span><span class="token punctuation">,</span> <span class="token property">"signature"</span><span class="token operator">:</span> <span class="token string">"-_9J5OZcl5lVuRlgI1NJEzc0FqEb6_2yVskUaQPducRQ4oe-N5ynCl57wDm4SPtm1L1bltrphpQeBOeWjVW1BQ"</span> <span class="token punctuation">}</span> <span class="token punctuation">]</span> <span class="token punctuation">}</span></code></pre> <h3 id="jws-with-one-signature" tabindex="-1"><a class="header-anchor" href="#jws-with-one-signature">JWS with one signature</a></h3> <p>This is the base32-encoded CID for a DAG-JOSE object, when using SHA2-256 (multihash code 0x12):</p> <pre><code>bagcqcerauben4l6ee2wjf2fnkj7vaels4p7lnytenk35j3gl2lzcbtbgyoea </code></pre> <p>This is a DAG-JOSE object, in hexadecimal:</p> <pre><code>a2677061796c6f6164582401701220debd7adb3ce56544d22a6f6b93396f6980a8067c2cc134f0f7 801b6331092b956a7369676e61747572657381a26970726f746563746564507b22616c67223a2245 533235364b227d697369676e617475726558404a26065d6ed88be2b16e92252cd9aed25121adac95 ef2a5a002e3d180710feaa53b2d656f3d333e82a7c5655045fea95b2062373ef7ed73bcb703625c4 eb2bd6 </code></pre> <p>When it is parsed, we should see these paths within the data when we walk over it at the <a href="/docs/data-model/">data model</a> level:</p> <pre class="language-text"><code class="language-text">link payload signatures signatures/0 signatures/0/protected signatures/0/signature</code></pre> <p>If we re-encoded this data in <a href="/docs/codecs/known/dag-json/">DAG-JSON</a> (and prettyprint it), we should get this result:</p> <pre class="language-json"><code class="language-json"><span class="token punctuation">{</span> <span class="token property">"link"</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">"/"</span><span class="token operator">:</span> <span class="token string">"bafybeig6xv5nwphfmvcnektpnojts33jqcuam7bmye2pb54adnrtccjlsu"</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token property">"payload"</span><span class="token operator">:</span> <span class="token string">"AXASIN69ets85WVE0ipva5M5b2mAqAZ8LME08PeAG2MxCSuV"</span><span class="token punctuation">,</span> <span class="token property">"signatures"</span><span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token punctuation">{</span> <span class="token property">"protected"</span><span class="token operator">:</span> <span class="token string">"eyJhbGciOiJFUzI1NksifQ"</span><span class="token punctuation">,</span> <span class="token property">"signature"</span><span class="token operator">:</span> <span class="token string">"SiYGXW7Yi-KxbpIlLNmu0lEhrayV7ypaAC49GAcQ_qpTstZW89Mz6Cp8VlUEX-qVsgYjc-9-1zvLcDYlxOsr1g"</span> <span class="token punctuation">}</span> <span class="token punctuation">]</span> <span class="token punctuation">}</span></code></pre> <h3 id="jws-with-another-signature" tabindex="-1"><a class="header-anchor" href="#jws-with-another-signature">JWS with another signature</a></h3> <p>This is the base32-encoded CID for a DAG-JOSE object, when using SHA2-256 (multihash code 0x12):</p> <pre><code>bagcqceravvw4bx7jgkxxjwfuqo2yoja6w4cmvmu3gkew3s7yu3vt2ce7riwa </code></pre> <p>This is a DAG-JOSE object, in hexadecimal:</p> <pre><code>a2677061796c6f6164582401701220debd7adb3ce56544d22a6f6b93396f6980a8067c2cc134f0f7 801b6331092b956a7369676e61747572657381a26970726f746563746564507b22616c67223a2245 533235364b227d697369676e6174757265584043c3dd4c4e40e4dddad24b4edb035d5329ae987952 c4d17d4a2dfc22fcec31a4990badf2430f9b24da4a7fe51e2453c7edc0f363b8cb8361bfbe27a3a7 b36a5e </code></pre> <p>When it is parsed, we should see these paths within the data when we walk over it at the <a href="/docs/data-model/">data model</a> level:</p> <pre class="language-text"><code class="language-text">link payload signatures signatures/0 signatures/0/protected signatures/0/signature</code></pre> <p>If we re-encoded this data in <a href="/docs/codecs/known/dag-json/">DAG-JSON</a> (and prettyprint it), we should get this result:</p> <pre class="language-json"><code class="language-json"><span class="token punctuation">{</span> <span class="token property">"link"</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">"/"</span><span class="token operator">:</span> <span class="token string">"bafybeig6xv5nwphfmvcnektpnojts33jqcuam7bmye2pb54adnrtccjlsu"</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token property">"payload"</span><span class="token operator">:</span> <span class="token string">"AXASIN69ets85WVE0ipva5M5b2mAqAZ8LME08PeAG2MxCSuV"</span><span class="token punctuation">,</span> <span class="token property">"signatures"</span><span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token punctuation">{</span> <span class="token property">"protected"</span><span class="token operator">:</span> <span class="token string">"eyJhbGciOiJFUzI1NksifQ"</span><span class="token punctuation">,</span> <span class="token property">"signature"</span><span class="token operator">:</span> <span class="token string">"Q8PdTE5A5N3a0ktO2wNdUymumHlSxNF9Si38IvzsMaSZC63yQw-bJNpKf-UeJFPH7cDzY7jLg2G_viejp7NqXg"</span> <span class="token punctuation">}</span> <span class="token punctuation">]</span> <span class="token punctuation">}</span></code></pre> <h3 id="jws-with-multiple-signatures" tabindex="-1"><a class="header-anchor" href="#jws-with-multiple-signatures">JWS with multiple signatures</a></h3> <p>This is the base32-encoded CID for a DAG-JOSE object, when using SHA2-256 (multihash code 0x12):</p> <pre><code>bagcqcera542h3xc57nudkgjcceexyzyxrkwi4ikbn773ag6dqdcyjt6z6rga </code></pre> <p>This is a DAG-JOSE object, in hexadecimal:</p> <pre><code>a2677061796c6f6164582401701220debd7adb3ce56544d22a6f6b93396f6980a8067c2cc134f0f7 801b6331092b956a7369676e61747572657382a26970726f746563746564507b22616c67223a2245 533235364b227d697369676e617475726558404a26065d6ed88be2b16e92252cd9aed25121adac95 ef2a5a002e3d180710feaa53b2d656f3d333e82a7c5655045fea95b2062373ef7ed73bcb703625c4 eb2bd6a26970726f746563746564507b22616c67223a2245533235364b227d697369676e61747572 65584043c3dd4c4e40e4dddad24b4edb035d5329ae987952c4d17d4a2dfc22fcec31a4990badf243 0f9b24da4a7fe51e2453c7edc0f363b8cb8361bfbe27a3a7b36a5e </code></pre> <p>When it is parsed, we should see these paths within the data when we walk over it at the <a href="/docs/data-model/">data model</a> level:</p> <pre class="language-text"><code class="language-text">link payload signatures signatures/0 signatures/0/protected signatures/0/signature signatures/1 signatures/1/protected signatures/1/signature</code></pre> <p>If we re-encoded this data in <a href="/docs/codecs/known/dag-json/">DAG-JSON</a> (and prettyprint it), we should get this result:</p> <pre class="language-json"><code class="language-json"><span class="token punctuation">{</span> <span class="token property">"link"</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">"/"</span><span class="token operator">:</span> <span class="token string">"bafybeig6xv5nwphfmvcnektpnojts33jqcuam7bmye2pb54adnrtccjlsu"</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token property">"payload"</span><span class="token operator">:</span> <span class="token string">"AXASIN69ets85WVE0ipva5M5b2mAqAZ8LME08PeAG2MxCSuV"</span><span class="token punctuation">,</span> <span class="token property">"signatures"</span><span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token punctuation">{</span> <span class="token property">"protected"</span><span class="token operator">:</span> <span class="token string">"eyJhbGciOiJFUzI1NksifQ"</span><span class="token punctuation">,</span> <span class="token property">"signature"</span><span class="token operator">:</span> <span class="token string">"SiYGXW7Yi-KxbpIlLNmu0lEhrayV7ypaAC49GAcQ_qpTstZW89Mz6Cp8VlUEX-qVsgYjc-9-1zvLcDYlxOsr1g"</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span> <span class="token property">"protected"</span><span class="token operator">:</span> <span class="token string">"eyJhbGciOiJFUzI1NksifQ"</span><span class="token punctuation">,</span> <span class="token property">"signature"</span><span class="token operator">:</span> <span class="token string">"Q8PdTE5A5N3a0ktO2wNdUymumHlSxNF9Si38IvzsMaSZC63yQw-bJNpKf-UeJFPH7cDzY7jLg2G_viejp7NqXg"</span> <span class="token punctuation">}</span> <span class="token punctuation">]</span> <span class="token punctuation">}</span></code></pre> <h3 id="jws-with-payload" tabindex="-1"><a class="header-anchor" href="#jws-with-payload">JWS with payload</a></h3> <p>This is the base32-encoded JSON payload for a DAG-JOSE object, when using SHA2-256 (multihash code 0x12):</p> <pre><code>bagcqceras6vcqjafsrhwfsgxmzd6g5c2vm3mfolbbubg5rfuhhnobay4m2vq </code></pre> <p>This is a DAG-JOSE object, in hexadecimal:</p> <pre><code>a2677061796c6f61645901717b2274657374223a227061796c6f6164222c22614c696e6b223a2269 7066733a2f2f6261667962656967367876356e777068666d76636e656b74706e6f6a747333336a71 6375616d37626d7965327062353461646e727463636a6c7375222c22617272223a5b22697066733a 2f2f6261667962656967367876356e777068666d76636e656b74706e6f6a747333336a716375616d 37626d7965327062353461646e727463636a6c7375222c226974656d31222c226974656d32225d2c 226e6573746564223a7b22614c696e6b223a22697066733a2f2f6261667962656967367876356e77 7068666d76636e656b74706e6f6a747333336a716375616d37626d7965327062353461646e727463 636a6c7375222c22617272223a5b22697066733a2f2f6261667962656967367876356e777068666d 76636e656b74706e6f6a747333336a716375616d37626d7965327062353461646e727463636a6c73 75222c226974656d31222c226974656d32225d7d7d6a7369676e61747572657381a26970726f7465 63746564507b22616c67223a2245533235364b227d697369676e61747572655840218f001e1401d2 7e50a4ed68a6c7bcddde87ad759fa1f3e35ba89fe6f541ec3932df08f6f9d693f08d711d7e6ce0f6 ee0b7a30668dabafc0be9c642c7ed1c4fb </code></pre> <p>When it is parsed, we should see these paths within the data when we walk over it at the <a href="/docs/data-model/">data model</a> level:</p> <pre class="language-text"><code class="language-text">payload pld pld/aLink pld/arr pld/arr/0 pld/arr/1 pld/arr/2 pld/nested/aLink pld/nested/arr pld/nested/arr/0 pld/nested/arr/1 pld/nested/arr/2 signatures signatures/0 signatures/0/protected signatures/0/signature</code></pre> <p>If we re-encoded this data in <a href="/docs/codecs/known/dag-json/">DAG-JSON</a> (and prettyprint it), we should get this result:</p> <pre class="language-json"><code class="language-json"><span class="token punctuation">{</span> <span class="token property">"payload"</span><span class="token operator">:</span> <span class="token string">"eyJ0ZXN0IjoicGF5bG9hZCIsImFMaW5rIjoiaXBmczovL2JhZnliZWlnNnh2NW53cGhmbXZjbmVrdHBub2p0czMzanFjdWFtN2JteWUycGI1NGFkbnJ0Y2NqbHN1IiwiYXJyIjpbImlwZnM6Ly9iYWZ5YmVpZzZ4djVud3BoZm12Y25la3Rwbm9qdHMzM2pxY3VhbTdibXllMnBiNTRhZG5ydGNjamxzdSIsIml0ZW0xIiwiaXRlbTIiXSwibmVzdGVkIjp7ImFMaW5rIjoiaXBmczovL2JhZnliZWlnNnh2NW53cGhmbXZjbmVrdHBub2p0czMzanFjdWFtN2JteWUycGI1NGFkbnJ0Y2NqbHN1IiwiYXJyIjpbImlwZnM6Ly9iYWZ5YmVpZzZ4djVud3BoZm12Y25la3Rwbm9qdHMzM2pxY3VhbTdibXllMnBiNTRhZG5ydGNjamxzdSIsIml0ZW0xIiwiaXRlbTIiXX19"</span><span class="token punctuation">,</span> <span class="token property">"pld"</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">"test"</span><span class="token operator">:</span> <span class="token string">"payload"</span><span class="token punctuation">,</span> <span class="token property">"aLink"</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">"/"</span><span class="token operator">:</span> <span class="token string">"bafybeig6xv5nwphfmvcnektpnojts33jqcuam7bmye2pb54adnrtccjlsu"</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token property">"arr"</span><span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token punctuation">{</span> <span class="token property">"/"</span><span class="token operator">:</span> <span class="token string">"bafybeig6xv5nwphfmvcnektpnojts33jqcuam7bmye2pb54adnrtccjlsu"</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token string">"item1"</span><span class="token punctuation">,</span> <span class="token string">"item2"</span> <span class="token punctuation">]</span><span class="token punctuation">,</span> <span class="token property">"nested"</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">"aLink"</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">"/"</span><span class="token operator">:</span> <span class="token string">"bafybeig6xv5nwphfmvcnektpnojts33jqcuam7bmye2pb54adnrtccjlsu"</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token property">"arr"</span><span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token punctuation">{</span> <span class="token property">"/"</span><span class="token operator">:</span> <span class="token string">"bafybeig6xv5nwphfmvcnektpnojts33jqcuam7bmye2pb54adnrtccjlsu"</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token string">"item1"</span><span class="token punctuation">,</span> <span class="token string">"item2"</span> <span class="token punctuation">]</span><span class="token punctuation">,</span> <span class="token punctuation">}</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token property">"signatures"</span><span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token punctuation">{</span> <span class="token property">"protected"</span><span class="token operator">:</span> <span class="token string">"eyJhbGciOiJFUzI1NksifQ"</span><span class="token punctuation">,</span> <span class="token property">"signature"</span><span class="token operator">:</span> <span class="token string">"IY8AHhQB0n5QpO1opse83d6HrXWfofPjW6if5vVB7Dky3wj2-daT8I1xHX5s4PbuC3owZo2rr8C-nGQsftHE-w"</span> <span class="token punctuation">}</span> <span class="token punctuation">]</span> <span class="token punctuation">}</span></code></pre> <h3 id="jwe-symmetric" tabindex="-1"><a class="header-anchor" href="#jwe-symmetric">JWE symmetric</a></h3> <p>This is the base32-encoded CID for a DAG-JOSE object, when using SHA2-256 (multihash code 0x12):</p> <pre><code>bagcqceraxazmu67crshzqdeg3kwnfschs25epy5sbtqtjre2qw3d62kzplva </code></pre> <p>This is a DAG-JOSE object, in hexadecimal:</p> <pre><code>a46269764c3d2588b80c8ef02a5ebf308b637461675059900c05b961cc30ac41638029d964486970 726f746563746564581d7b22616c67223a22646972222c22656e63223a224131323847434d227d6a 636970686572746578745818dd7a8b5b6f0d1cffab6aa5bcbcc7c81cece4a38377211691 </code></pre> <p>When it is parsed, we should see these paths within the data when we walk over it at the <a href="/docs/data-model/">data model</a> level:</p> <pre class="language-text"><code class="language-text">ciphertext iv protected tag</code></pre> <p>If we re-encoded this data in <a href="/docs/codecs/known/dag-json/">DAG-JSON</a> (and prettyprint it), we should get this result:</p> <pre class="language-json"><code class="language-json"><span class="token punctuation">{</span> <span class="token property">"ciphertext"</span><span class="token operator">:</span> <span class="token string">"3XqLW28NHP-raqW8vMfIHOzko4N3IRaR"</span><span class="token punctuation">,</span> <span class="token property">"iv"</span><span class="token operator">:</span> <span class="token string">"PSWIuAyO8CpevzCL"</span><span class="token punctuation">,</span> <span class="token property">"protected"</span><span class="token operator">:</span> <span class="token string">"eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4R0NNIn0"</span><span class="token punctuation">,</span> <span class="token property">"tag"</span><span class="token operator">:</span> <span class="token string">"WZAMBblhzDCsQWOAKdlkSA"</span> <span class="token punctuation">}</span></code></pre> <h3 id="jwe-asymmetric" tabindex="-1"><a class="header-anchor" href="#jwe-asymmetric">JWE asymmetric</a></h3> <p>This is the base32-encoded CID for a DAG-JOSE object, when using SHA2-256 (multihash code 0x12):</p> <pre><code>bagcqceraqfknq7xaemcihmq2albau32ttrutxnco7xeoik6mlejismmvw5zq </code></pre> <p>This is a DAG-JOSE object, in hexadecimal:</p> <pre><code>a56269764c43cc693edff366b7ef1e047e63746167508f11e3715bacbb4cab381cf0f84c79cc6970 726f74656374656458267b22616c67223a225253412d4f4145502d323536222c22656e63223a2241 32353647434d227d6a6369706865727465787458185936b0e967aa85a6430e179dcc6627b2dcb848 c47e4733b06a726563697069656e747381a16d656e637279707465645f6b657959010012a61a3787 45107d2f5f88d4dddefaf21c0e61281984496f543cea748280e8f147b0be0f3f027b108b9e6cbaf1 c00049a97581346d245014631ee0afe75565c6f5fd5a81fd8a4ed07b0d3244e086063fc025e7f5e4 f899cd4554430b5e1d50ee490b3839cb0c7e3d7ccdcfce6ec907bd431a3743dd08103e1bfffbac64 76b5c61224ecb06efc6aa9310db0264dbdab0ac4748eb80fdb8d5b1199696850cc0b264adb4313c0 b15730a0f8c0605d9a810f03e340061551331a68500cb23e3a95c8f807d9601bab13b7ff7d4fcdb1 8b6a9858f9bd9f65bd5095d50b196bf1d1850941047c634cac8206e7d8fb41b8a26b769f3621c8ef 93687e3879487cd47173c3 </code></pre> <p>When it is parsed, we should see these paths within the data when we walk over it at the <a href="/docs/data-model/">data model</a> level:</p> <pre class="language-text"><code class="language-text">ciphertext iv protected recipients recipients/0 recipients/0/encrypted_key tag</code></pre> <p>If we re-encoded this data in <a href="/docs/codecs/known/dag-json/">DAG-JSON</a> (and prettyprint it), we should get this result:</p> <pre class="language-json"><code class="language-json"><span class="token punctuation">{</span> <span class="token property">"ciphertext"</span><span class="token operator">:</span> <span class="token string">"WTaw6WeqhaZDDhedzGYnsty4SMR-RzOw"</span><span class="token punctuation">,</span> <span class="token property">"iv"</span><span class="token operator">:</span> <span class="token string">"Q8xpPt_zZrfvHgR-"</span><span class="token punctuation">,</span> <span class="token property">"protected"</span><span class="token operator">:</span> <span class="token string">"eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMjU2R0NNIn0"</span><span class="token punctuation">,</span> <span class="token property">"recipients"</span><span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token punctuation">{</span> <span class="token property">"encrypted_key"</span><span class="token operator">:</span> <span class="token string">"EqYaN4dFEH0vX4jU3d768hwOYSgZhElvVDzqdIKA6PFHsL4PPwJ7EIuebLrxwABJqXWBNG0kUBRjHuCv51VlxvX9WoH9ik7Qew0yROCGBj_AJef15PiZzUVUQwteHVDuSQs4OcsMfj18zc_ObskHvUMaN0PdCBA-G__7rGR2tcYSJOywbvxqqTENsCZNvasKxHSOuA_bjVsRmWloUMwLJkrbQxPAsVcwoPjAYF2agQ8D40AGFVEzGmhQDLI-OpXI-AfZYBurE7f_fU_NsYtqmFj5vZ9lvVCV1QsZa_HRhQlBBHxjTKyCBufY-0G4omt2nzYhyO-TaH44eUh81HFzww"</span> <span class="token punctuation">}</span> <span class="token punctuation">]</span><span class="token punctuation">,</span> <span class="token property">"tag"</span><span class="token operator">:</span> <span class="token string">"jxHjcVusu0yrOBzw-Ex5zA"</span> <span class="token punctuation">}</span></code></pre> <h3 id="jwe-with-no-recipients" tabindex="-1"><a class="header-anchor" href="#jwe-with-no-recipients">JWE with no recipients</a></h3> <p>This is the base32-encoded CID for a DAG-JOSE object, when using SHA2-256 (multihash code 0x12):</p> <pre><code>bagcqcerakjv2mmdlbai3urym22bw5kaw7nqov73yaxf6xjnp7e56sclsrooa </code></pre> <p>This is a DAG-JOSE object, in hexadecimal:</p> <pre><code>a4626976581888973bef4a3aa96b35e709599cdac66986339c874ad12aef6374616750127fb33242 5d0e8ed041ef6bab18cb3c6970726f746563746564581b7b22616c67223a22646972222c22656e63 223a225843323050227d6a636970686572746578745824342a13fe20e72eab6a9161d04680bfe356 1f199cb97462d2e894f7a89a18af39c7cf90d6 </code></pre> <p>When it is parsed, we should see these paths within the data when we walk over it at the <a href="/docs/data-model/">data model</a> level:</p> <pre class="language-text"><code class="language-text">ciphertext iv protected tag</code></pre> <p>If we re-encoded this data in <a href="/docs/codecs/known/dag-json/">DAG-JSON</a> (and prettyprint it), we should get this result:</p> <pre class="language-json"><code class="language-json"><span class="token punctuation">{</span> <span class="token property">"ciphertext"</span><span class="token operator">:</span> <span class="token string">"NCoT_iDnLqtqkWHQRoC_41YfGZy5dGLS6JT3qJoYrznHz5DW"</span><span class="token punctuation">,</span> <span class="token property">"iv"</span><span class="token operator">:</span> <span class="token string">"iJc770o6qWs15wlZnNrGaYYznIdK0Srv"</span><span class="token punctuation">,</span> <span class="token property">"protected"</span><span class="token operator">:</span> <span class="token string">"eyJhbGciOiJkaXIiLCJlbmMiOiJYQzIwUCJ9"</span><span class="token punctuation">,</span> <span class="token property">"tag"</span><span class="token operator">:</span> <span class="token string">"En-zMkJdDo7QQe9rqxjLPA"</span> <span class="token punctuation">}</span></code></pre> <h3 id="jwe-with-one-recipient" tabindex="-1"><a class="header-anchor" href="#jwe-with-one-recipient">JWE with one recipient</a></h3> <p>This is the base32-encoded CID for a DAG-JOSE object, when using SHA2-256 (multihash code 0x12):</p> <pre><code>bagcqcera7azagcqlpu4ivvh4xp4iv6psmb5d7eki6ln3fnfnsnbb2hzv4nxq </code></pre> <p>This is a DAG-JOSE object, in hexadecimal:</p> <pre><code>a5626976581851f600419a8d3f70ccaee5aec5ae140800db167d0f28f8ff6374616750961d1d6a0a 53ed277b6f6329a62337bf6970726f7465637465644f7b22656e63223a225843323050227d6a6369 706865727465787458244a12a86f8ea14ae9a91349a877adddc875221b9062c52c175191276aced6 fd0c1f71ecb66a726563697069656e747381a266686561646572a4626976782057587a76414e595f 7466736f3765764861764f66372d627858556b2d786e4f5063616c676f454344482d45532b584332 30504b576365706ba36178782b6b6d614b427478426c4566477056527044305a4d6b316266774e33 5667466359556b505a49396f5544456f6363727666583235353139636b7479634f4b506374616776 3371595348304f374a5a4b5764355f3734436d2d5a676d656e637279707465645f6b65795820c27c 58cc7f55108f13720fd46836fe8d534b91fa5a837c5e63f6b5a7b00c1f67 </code></pre> <p>When it is parsed, we should see these paths within the data when we walk over it at the <a href="/docs/data-model/">data model</a> level:</p> <pre class="language-text"><code class="language-text">ciphertext iv protected recipients recipients/0 recipients/0/header recipients/0/header/iv recipients/0/header/alg recipients/0/header/epk recipients/0/header/epk/x recipients/0/header/epk/crv recipients/0/header/epk/kty recipients/0/header/tag recipients/0/encrypted_key tag</code></pre> <p>If we re-encoded this data in <a href="/docs/codecs/known/dag-json/">DAG-JSON</a> (and prettyprint it), we should get this result:</p> <pre class="language-json"><code class="language-json"><span class="token punctuation">{</span> <span class="token property">"ciphertext"</span><span class="token operator">:</span> <span class="token string">"ShKob46hSumpE0mod63dyHUiG5BixSwXUZEnas7W_Qwfcey2"</span><span class="token punctuation">,</span> <span class="token property">"iv"</span><span class="token operator">:</span> <span class="token string">"UfYAQZqNP3DMruWuxa4UCADbFn0PKPj_"</span><span class="token punctuation">,</span> <span class="token property">"protected"</span><span class="token operator">:</span> <span class="token string">"eyJlbmMiOiJYQzIwUCJ9"</span><span class="token punctuation">,</span> <span class="token property">"recipients"</span><span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token punctuation">{</span> <span class="token property">"encrypted_key"</span><span class="token operator">:</span> <span class="token string">"wnxYzH9VEI8Tcg_UaDb-jVNLkfpag3xeY_a1p7AMH2c"</span><span class="token punctuation">,</span> <span class="token property">"header"</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">"alg"</span><span class="token operator">:</span> <span class="token string">"ECDH-ES+XC20PKW"</span><span class="token punctuation">,</span> <span class="token property">"epk"</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">"crv"</span><span class="token operator">:</span> <span class="token string">"X25519"</span><span class="token punctuation">,</span> <span class="token property">"kty"</span><span class="token operator">:</span> <span class="token string">"OKP"</span><span class="token punctuation">,</span> <span class="token property">"x"</span><span class="token operator">:</span> <span class="token string">"kmaKBtxBlEfGpVRpD0ZMk1bfwN3VgFcYUkPZI9oUDEo"</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token property">"iv"</span><span class="token operator">:</span> <span class="token string">"WXzvANY_tfso7evHavOf7-bxXUk-xnOP"</span><span class="token punctuation">,</span> <span class="token property">"tag"</span><span class="token operator">:</span> <span class="token string">"3qYSH0O7JZKWd5_74Cm-Zg"</span> <span class="token punctuation">}</span> <span class="token punctuation">}</span> <span class="token punctuation">]</span><span class="token punctuation">,</span> <span class="token property">"tag"</span><span class="token operator">:</span> <span class="token string">"lh0dagpT7Sd7b2MppiM3vw"</span> <span class="token punctuation">}</span></code></pre> <h3 id="jwe-with-multiple-recipients" tabindex="-1"><a class="header-anchor" href="#jwe-with-multiple-recipients">JWE with multiple recipients</a></h3> <p>This is the base32-encoded CID for a DAG-JOSE object, when using SHA2-256 (multihash code 0x12):</p> <pre><code>bagcqcera5uvz2qai6l4vmqjigwpowluilxngz3dyjnva2s3uwbfb5u4ao4fa </code></pre> <p>This is a DAG-JOSE object, in hexadecimal:</p> <pre><code>a56269765818f3f3c92467c191b2a33f703edc72bf09f6538392160737746374616750803e4b5f3e 3f87518fe1776ff52feef96970726f7465637465644f7b22656e63223a225843323050227d6a6369 706865727465787458246dfdc48e4b46a6b77ba5443c9b3538ba47bcff8283c0de99f8f1c15fae56 d0994da891bd6a726563697069656e747382a266686561646572a4626976782041674c795961746c 4a6e4771586f39466159356173794e4d6a694b664d64745a63616c676f454344482d45532b584332 30504b576365706ba36178782b45707255565a424b7a644b575766644a6437724a672d2d5f385a68 6b414e65356e7a686c653056704179676363727666583235353139636b7479634f4b506374616776 365f7532354f747055425756587a76765064707053416d656e637279707465645f6b657958200c5c d81201eb63af7b2dcecc4f29f3bce66f00fc39646085e5c9b0d69ae414daa266686561646572a462 697678206c7244625738456c63385330675437695f794a52684c4e516b576c41516a4a3363616c67 6f454344482d45532b58433230504b576365706ba36178782b7a426475443459577068372d4f5349 703346674646325656417a55443778684766792d6a327061347a5141636372766658323535313963 6b7479634f4b5063746167764b334b396b593331505137476d50625f4741496f76516d656e637279 707465645f6b65795820987d496475ef5e759153c355d2493edb6a7007b2e8a188a01026fa6636f7 7be0 </code></pre> <p>When it is parsed, we should see these paths within the data when we walk over it at the <a href="/docs/data-model/">data model</a> level:</p> <pre class="language-text"><code class="language-text">ciphertext iv protected recipients recipients/0 recipients/0/header recipients/0/header/iv recipients/0/header/alg recipients/0/header/epk recipients/0/header/epk/x recipients/0/header/epk/crv recipients/0/header/epk/kty recipients/0/header/tag recipients/0/encrypted_key recipients/1 recipients/1/header recipients/1/header/iv recipients/1/header/alg recipients/1/header/epk recipients/1/header/epk/x recipients/1/header/epk/crv recipients/1/header/epk/kty recipients/1/header/tag recipients/1/encrypted_key tag</code></pre> <p>If we re-encoded this data in <a href="/docs/codecs/known/dag-json/">DAG-JSON</a> (and prettyprint it), we should get this result:</p> <pre class="language-json"><code class="language-json"><span class="token punctuation">{</span> <span class="token property">"ciphertext"</span><span class="token operator">:</span> <span class="token string">"bf3EjktGprd7pUQ8mzU4uke8_4KDwN6Z-PHBX65W0JlNqJG9"</span><span class="token punctuation">,</span> <span class="token property">"iv"</span><span class="token operator">:</span> <span class="token string">"8_PJJGfBkbKjP3A-3HK_CfZTg5IWBzd0"</span><span class="token punctuation">,</span> <span class="token property">"protected"</span><span class="token operator">:</span> <span class="token string">"eyJlbmMiOiJYQzIwUCJ9"</span><span class="token punctuation">,</span> <span class="token property">"recipients"</span><span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token punctuation">{</span> <span class="token property">"encrypted_key"</span><span class="token operator">:</span> <span class="token string">"DFzYEgHrY697Lc7MTynzvOZvAPw5ZGCF5cmw1prkFNo"</span><span class="token punctuation">,</span> <span class="token property">"header"</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">"alg"</span><span class="token operator">:</span> <span class="token string">"ECDH-ES+XC20PKW"</span><span class="token punctuation">,</span> <span class="token property">"epk"</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">"crv"</span><span class="token operator">:</span> <span class="token string">"X25519"</span><span class="token punctuation">,</span> <span class="token property">"kty"</span><span class="token operator">:</span> <span class="token string">"OKP"</span><span class="token punctuation">,</span> <span class="token property">"x"</span><span class="token operator">:</span> <span class="token string">"EprUVZBKzdKWWfdJd7rJg--_8ZhkANe5nzhle0VpAyg"</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token property">"iv"</span><span class="token operator">:</span> <span class="token string">"AgLyYatlJnGqXo9FaY5asyNMjiKfMdtZ"</span><span class="token punctuation">,</span> <span class="token property">"tag"</span><span class="token operator">:</span> <span class="token string">"6_u25OtpUBWVXzvvPdppSA"</span> <span class="token punctuation">}</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token punctuation">{</span> <span class="token property">"encrypted_key"</span><span class="token operator">:</span> <span class="token string">"mH1JZHXvXnWRU8NV0kk-22pwB7LooYigECb6Zjb3e-A"</span><span class="token punctuation">,</span> <span class="token property">"header"</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">"alg"</span><span class="token operator">:</span> <span class="token string">"ECDH-ES+XC20PKW"</span><span class="token punctuation">,</span> <span class="token property">"epk"</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token property">"crv"</span><span class="token operator">:</span> <span class="token string">"X25519"</span><span class="token punctuation">,</span> <span class="token property">"kty"</span><span class="token operator">:</span> <span class="token string">"OKP"</span><span class="token punctuation">,</span> <span class="token property">"x"</span><span class="token operator">:</span> <span class="token string">"zBduD4YWph7-OSIp3FgFF2VVAzUD7xhGfy-j2pa4zQA"</span> <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token property">"iv"</span><span class="token operator">:</span> <span class="token string">"lrDbW8Elc8S0gT7i_yJRhLNQkWlAQjJ3"</span><span class="token punctuation">,</span> <span class="token property">"tag"</span><span class="token operator">:</span> <span class="token string">"K3K9kY31PQ7GmPb_GAIovQ"</span> <span class="token punctuation">}</span> <span class="token punctuation">}</span> <span class="token punctuation">]</span><span class="token punctuation">,</span> <span class="token property">"tag"</span><span class="token operator">:</span> <span class="token string">"gD5LXz4_h1GP4Xdv9S_u-Q"</span> <span class="token punctuation">}</span></code></pre> </div> </main> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10