<?xml version='1.0' encoding='utf-8'?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" version="3" ipr="trust200902" number="9942" updates="" obsoletes="" docName="draft-ietf-cose-merkle-tree-proofs-18" category="std" consensus="true" submissionType="IETF" tocInclude="true" sortRefs="true" symRefs="true" xml:lang="en" prepTime="2026-06-30T21:59:54" indexInclude="true" scripts="Common,Latin" tocDepth="3">
  <link href="https://datatracker.ietf.org/doc/draft-ietf-cose-merkle-tree-proofs-18" rel="prev"/>
  <link href="https://dx.doi.org/10.17487/rfc9942" rel="alternate"/>
  <link href="urn:issn:2070-1721" rel="alternate"/>
  <front>
    <title abbrev="COSE Receipts">CBOR Object Signing and Encryption (COSE) Receipts</title>
    <seriesInfo name="RFC" value="9942" stream="IETF"/>
    <author initials="O." surname="Steele" fullname="Orie Steele">
      <organization showOnFrontPage="true">Tradeverifyd</organization>
      <address>
        <postal>
          <country>United States of America</country>
        </postal>
        <email>orie@or13.io</email>
      </address>
    </author>
    <author initials="H." surname="Birkholz" fullname="Henk Birkholz">
      <organization abbrev="Fraunhofer SIT" showOnFrontPage="true">Fraunhofer SIT</organization>
      <address>
        <postal>
          <street>Rheinstrasse 75</street>
          <city>Darmstadt</city>
          <code>64295</code>
          <country>Germany</country>
        </postal>
        <email>henk.birkholz@ietf.contact</email>
      </address>
    </author>
    <author initials="A." surname="Delignat-Lavaud" fullname="Antoine Delignat-Lavaud">
      <organization showOnFrontPage="true">Microsoft</organization>
      <address>
        <postal>
          <country>United Kingdom</country>
        </postal>
        <email>antdl@microsoft.com</email>
      </address>
    </author>
    <author initials="C." surname="Fournet" fullname="Cédric Fournet">
      <organization showOnFrontPage="true">Microsoft</organization>
      <address>
        <postal>
          <country>United Kingdom</country>
        </postal>
        <email>fournet@microsoft.com</email>
      </address>
    </author>
    <date month="06" year="2026"/>
    <area>SEC</area>
    <workgroup>cose</workgroup>
    <keyword>COSE</keyword>
    <abstract pn="section-abstract">
      <t indent="0" pn="section-abstract-1">CBOR Object Signing and Encryption (COSE) Receipts prove properties of a Verifiable Data Structure (VDS) to a verifier.
VDSs and associated Proof Types enable security properties, such as minimal disclosure, transparency, and non-equivocation.
Transparency helps maintain trust over time and has been applied to certificates, end-to-end encrypted messaging systems, and supply chain security.
This specification enables concise transparency-oriented systems by building on Concise Binary Object Representation (CBOR) and COSE.
The extensibility of the approach is demonstrated by providing CBOR encodings for Merkle inclusion and consistency proofs.</t>
    </abstract>
    <boilerplate>
      <section anchor="status-of-memo" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.1">
        <name slugifiedName="name-status-of-this-memo">Status of This Memo</name>
        <t indent="0" pn="section-boilerplate.1-1">
            This is an Internet Standards Track document.
        </t>
        <t indent="0" pn="section-boilerplate.1-2">
            This document is a product of the Internet Engineering Task Force
            (IETF).  It represents the consensus of the IETF community.  It has
            received public review and has been approved for publication by
            the Internet Engineering Steering Group (IESG).  Further
            information on Internet Standards is available in Section 2 of 
            RFC 7841.
        </t>
        <t indent="0" pn="section-boilerplate.1-3">
            Information about the current status of this document, any
            errata, and how to provide feedback on it may be obtained at
            <eref target="https://www.rfc-editor.org/info/rfc9942" brackets="none"/>.
        </t>
      </section>
      <section anchor="copyright" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.2">
        <name slugifiedName="name-copyright-notice">Copyright Notice</name>
        <t indent="0" pn="section-boilerplate.2-1">
            Copyright (c) 2026 IETF Trust and the persons identified as the
            document authors. All rights reserved.
        </t>
        <t indent="0" pn="section-boilerplate.2-2">
            This document is subject to BCP 78 and the IETF Trust's Legal
            Provisions Relating to IETF Documents
            (<eref target="https://trustee.ietf.org/license-info" brackets="none"/>) in effect on the date of
            publication of this document. Please review these documents
            carefully, as they describe your rights and restrictions with
            respect to this document. Code Components extracted from this
            document must include Revised BSD License text as described in
            Section 4.e of the Trust Legal Provisions and are provided without
            warranty as described in the Revised BSD License.
        </t>
      </section>
    </boilerplate>
    <toc>
      <section anchor="toc" numbered="false" removeInRFC="false" toc="exclude" pn="section-toc.1">
        <name slugifiedName="name-table-of-contents">Table of Contents</name>
        <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1">
          <li pn="section-toc.1-1.1">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.1.1"><xref derivedContent="1" format="counter" sectionFormat="of" target="section-1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-introduction">Introduction</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.1.2">
              <li pn="section-toc.1-1.1.2.1">
                <t indent="0" keepWithNext="true" pn="section-toc.1-1.1.2.1.1"><xref derivedContent="1.1" format="counter" sectionFormat="of" target="section-1.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-requirements-notation">Requirements Notation</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.2">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.2.1"><xref derivedContent="2" format="counter" sectionFormat="of" target="section-2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-new-cose-header-parameters">New COSE Header Parameters</xref></t>
          </li>
          <li pn="section-toc.1-1.3">
            <t indent="0" pn="section-toc.1-1.3.1"><xref derivedContent="3" format="counter" sectionFormat="of" target="section-3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-terminology">Terminology</xref></t>
          </li>
          <li pn="section-toc.1-1.4">
            <t indent="0" pn="section-toc.1-1.4.1"><xref derivedContent="4" format="counter" sectionFormat="of" target="section-4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-vdss-in-cbor">VDSs in CBOR</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2">
              <li pn="section-toc.1-1.4.2.1">
                <t indent="0" pn="section-toc.1-1.4.2.1.1"><xref derivedContent="4.1" format="counter" sectionFormat="of" target="section-4.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-structures">Structures</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.2">
                <t indent="0" pn="section-toc.1-1.4.2.2.1"><xref derivedContent="4.2" format="counter" sectionFormat="of" target="section-4.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-proofs">Proofs</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.3">
                <t indent="0" pn="section-toc.1-1.4.2.3.1"><xref derivedContent="4.3" format="counter" sectionFormat="of" target="section-4.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-usage">Usage</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.4">
                <t indent="0" pn="section-toc.1-1.4.2.4.1"><xref derivedContent="4.4" format="counter" sectionFormat="of" target="section-4.4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-profiles">Profiles</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2.4.2">
                  <li pn="section-toc.1-1.4.2.4.2.1">
                    <t indent="0" pn="section-toc.1-1.4.2.4.2.1.1"><xref derivedContent="4.4.1" format="counter" sectionFormat="of" target="section-4.4.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-registration-requirements">Registration Requirements</xref></t>
                  </li>
                </ul>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.5">
            <t indent="0" pn="section-toc.1-1.5.1"><xref derivedContent="5" format="counter" sectionFormat="of" target="section-5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-rfc9162_sha256">RFC9162_SHA256</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.5.2">
              <li pn="section-toc.1-1.5.2.1">
                <t indent="0" pn="section-toc.1-1.5.2.1.1"><xref derivedContent="5.1" format="counter" sectionFormat="of" target="section-5.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-verifiable-data-structure">Verifiable Data Structure</xref></t>
              </li>
              <li pn="section-toc.1-1.5.2.2">
                <t indent="0" pn="section-toc.1-1.5.2.2.1"><xref derivedContent="5.2" format="counter" sectionFormat="of" target="section-5.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-inclusion-proof">Inclusion Proof</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.5.2.2.2">
                  <li pn="section-toc.1-1.5.2.2.2.1">
                    <t indent="0" pn="section-toc.1-1.5.2.2.2.1.1"><xref derivedContent="5.2.1" format="counter" sectionFormat="of" target="section-5.2.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-receipt-of-inclusion">Receipt of Inclusion</xref></t>
                  </li>
                </ul>
              </li>
              <li pn="section-toc.1-1.5.2.3">
                <t indent="0" pn="section-toc.1-1.5.2.3.1"><xref derivedContent="5.3" format="counter" sectionFormat="of" target="section-5.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-consistency-proof">Consistency Proof</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.5.2.3.2">
                  <li pn="section-toc.1-1.5.2.3.2.1">
                    <t indent="0" pn="section-toc.1-1.5.2.3.2.1.1"><xref derivedContent="5.3.1" format="counter" sectionFormat="of" target="section-5.3.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-receipt-of-consistency">Receipt of Consistency</xref></t>
                  </li>
                </ul>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.6">
            <t indent="0" pn="section-toc.1-1.6.1"><xref derivedContent="6" format="counter" sectionFormat="of" target="section-6"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-privacy-considerations">Privacy Considerations</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.6.2">
              <li pn="section-toc.1-1.6.2.1">
                <t indent="0" pn="section-toc.1-1.6.2.1.1"><xref derivedContent="6.1" format="counter" sectionFormat="of" target="section-6.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-log-length">Log Length</xref></t>
              </li>
              <li pn="section-toc.1-1.6.2.2">
                <t indent="0" pn="section-toc.1-1.6.2.2.1"><xref derivedContent="6.2" format="counter" sectionFormat="of" target="section-6.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-header-parameters">Header Parameters</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.7">
            <t indent="0" pn="section-toc.1-1.7.1"><xref derivedContent="7" format="counter" sectionFormat="of" target="section-7"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-security-considerations">Security Considerations</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.7.2">
              <li pn="section-toc.1-1.7.2.1">
                <t indent="0" pn="section-toc.1-1.7.2.1.1"><xref derivedContent="7.1" format="counter" sectionFormat="of" target="section-7.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-choice-of-signature-algorit">Choice of Signature Algorithms</xref></t>
              </li>
              <li pn="section-toc.1-1.7.2.2">
                <t indent="0" pn="section-toc.1-1.7.2.2.1"><xref derivedContent="7.2" format="counter" sectionFormat="of" target="section-7.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-validity-period">Validity Period</xref></t>
              </li>
              <li pn="section-toc.1-1.7.2.3">
                <t indent="0" pn="section-toc.1-1.7.2.3.1"><xref derivedContent="7.3" format="counter" sectionFormat="of" target="section-7.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-status-updates">Status Updates</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.8">
            <t indent="0" pn="section-toc.1-1.8.1"><xref derivedContent="8" format="counter" sectionFormat="of" target="section-8"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-iana-considerations">IANA Considerations</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.8.2">
              <li pn="section-toc.1-1.8.2.1">
                <t indent="0" pn="section-toc.1-1.8.2.1.1"><xref derivedContent="8.1" format="counter" sectionFormat="of" target="section-8.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-cose-header-parameter">COSE Header Parameter</xref></t>
              </li>
              <li pn="section-toc.1-1.8.2.2">
                <t indent="0" pn="section-toc.1-1.8.2.2.1"><xref derivedContent="8.2" format="counter" sectionFormat="of" target="section-8.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-vds-registries">VDS Registries</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.8.2.2.2">
                  <li pn="section-toc.1-1.8.2.2.2.1">
                    <t indent="0" pn="section-toc.1-1.8.2.2.2.1.1"><xref derivedContent="8.2.1" format="counter" sectionFormat="of" target="section-8.2.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-expert-review">Expert Review</xref></t>
                  </li>
                  <li pn="section-toc.1-1.8.2.2.2.2">
                    <t indent="0" pn="section-toc.1-1.8.2.2.2.2.1"><xref derivedContent="8.2.2" format="counter" sectionFormat="of" target="section-8.2.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-templates-and-initial-conte">Templates and Initial Contents</xref></t>
                  </li>
                </ul>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.9">
            <t indent="0" pn="section-toc.1-1.9.1"><xref derivedContent="9" format="counter" sectionFormat="of" target="section-9"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-references">References</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.9.2">
              <li pn="section-toc.1-1.9.2.1">
                <t indent="0" pn="section-toc.1-1.9.2.1.1"><xref derivedContent="9.1" format="counter" sectionFormat="of" target="section-9.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-normative-references">Normative References</xref></t>
              </li>
              <li pn="section-toc.1-1.9.2.2">
                <t indent="0" pn="section-toc.1-1.9.2.2.1"><xref derivedContent="9.2" format="counter" sectionFormat="of" target="section-9.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-informative-references">Informative References</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.10">
            <t indent="0" pn="section-toc.1-1.10.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.a"/><xref derivedContent="" format="title" sectionFormat="of" target="name-acknowledgements">Acknowledgements</xref></t>
          </li>
          <li pn="section-toc.1-1.11">
            <t indent="0" pn="section-toc.1-1.11.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.b"/><xref derivedContent="" format="title" sectionFormat="of" target="name-contributors">Contributors</xref></t>
          </li>
          <li pn="section-toc.1-1.12">
            <t indent="0" pn="section-toc.1-1.12.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.c"/><xref derivedContent="" format="title" sectionFormat="of" target="name-authors-addresses">Authors' Addresses</xref></t>
          </li>
        </ul>
      </section>
    </toc>
  </front>
  <middle>
    <section anchor="introduction" numbered="true" removeInRFC="false" toc="include" pn="section-1">
      <name slugifiedName="name-introduction">Introduction</name>
      <t indent="0" pn="section-1-1">COSE Receipts are signed proofs that include metadata about certain states of a Verifiable Data Structure (VDS) that are true when the COSE Receipt was issued.
COSE Receipts can include proofs that a document is in a database (proof of inclusion), that a database is append-only (proof of consistency), that a smaller set of statements are contained in a large set of statements (proof of disclosure, a special case of proof of inclusion), or that certain data is not yet present in a database (proof of non-inclusion).
Different VDSs can produce different Verifiable Data Structure Proofs (VDPs).
The combination of representations of various VDSs and VDP can significantly increase the burden for implementers and create interoperability challenges for transparency services.
This document describes how to convey VDS and associated VDP types in unified Enveloped COSE Structures.</t>
      <section anchor="requirements-notation" numbered="true" removeInRFC="false" toc="include" pn="section-1.1">
        <name slugifiedName="name-requirements-notation">Requirements Notation</name>
        <t indent="0" pn="section-1.1-1">
    The key words "<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>",
    "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>", "<bcp14>SHALL NOT</bcp14>",
    "<bcp14>SHOULD</bcp14>", "<bcp14>SHOULD NOT</bcp14>",
    "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>",
    "<bcp14>MAY</bcp14>", and "<bcp14>OPTIONAL</bcp14>" in this document are to be
    interpreted as described in BCP 14 <xref target="RFC2119" format="default" sectionFormat="of" derivedContent="RFC2119"/> <xref target="RFC8174" format="default" sectionFormat="of" derivedContent="RFC8174"/> when, and only when, they appear in all capitals, as
    shown here.
        </t>
      </section>
    </section>
    <section anchor="param-list" numbered="true" removeInRFC="false" toc="include" pn="section-2">
      <name slugifiedName="name-new-cose-header-parameters">New COSE Header Parameters</name>
      <t indent="0" pn="section-2-1">This document defines three new COSE header parameters, which are introduced up front in this section and elaborated on later in this document.</t>
      <dl indent="3" newline="false" spacing="normal" pn="section-2-2">
        <dt pn="section-2-2.1">394:</dt>
        <dd pn="section-2-2.2">
          <t indent="0" pn="section-2-2.2.1">A COSE header parameter named "<tt>receipts</tt>" with a value type of array where the array contains one or more COSE Receipts as specified in this document.</t>
        </dd>
        <dt pn="section-2-2.3">395:</dt>
        <dd pn="section-2-2.4">
          <t indent="0" pn="section-2-2.4.1">A COSE header parameter named "<tt>vds</tt>" (for Verifiable Data Structure), which conveys the algorithm identifier for a VDS.
Correspondingly, see <xref target="verifiable-data-structure-algorithms-registry" format="default" sectionFormat="of" derivedContent="Section 8.2.2.1"/> for a registry defining the integers used to identify VDSs.</t>
        </dd>
        <dt pn="section-2-2.5">396:</dt>
        <dd pn="section-2-2.6">
          <t indent="0" pn="section-2-2.6.1">A COSE header parameter named "<tt>vdp</tt>" (for VDPs), which conveys a map containing VDPs organized by Proof Type.
Correspondingly, see <xref target="verifiable-data-structure-proofs-registry" format="default" sectionFormat="of" derivedContent="Section 8.2.2.2"/> for a registry defining the integers used to identify VDS Proof Types.</t>
        </dd>
      </dl>
    </section>
    <section anchor="terminology" numbered="true" removeInRFC="false" toc="include" pn="section-3">
      <name slugifiedName="name-terminology">Terminology</name>
      <t indent="0" pn="section-3-1">The terms "header" and "payload" are defined in <xref target="STD96" format="default" sectionFormat="of" derivedContent="STD96"/>.  The term "claim" is defined in <xref target="RFC8392" format="default" sectionFormat="of" derivedContent="RFC8392"/>.</t>
      <t indent="0" pn="section-3-2">Additionally, this document uses the following terminology:</t>
      <dl indent="3" newline="false" spacing="normal" pn="section-3-3">
        <dt pn="section-3-3.1">CDDL:</dt>
        <dd pn="section-3-3.2">
          <t indent="0" pn="section-3-3.2.1">Concise Data Definition Language (CDDL) is defined in <xref target="RFC8610" format="default" sectionFormat="of" derivedContent="RFC8610"/>.</t>
        </dd>
        <dt pn="section-3-3.3">EDN:</dt>
        <dd pn="section-3-3.4">
          <t indent="0" pn="section-3-3.4.1">CBOR Extended Diagnostic Notation (EDN) is defined in <xref target="RFC8949" format="default" sectionFormat="of" derivedContent="RFC8949"/>, where it is referred to as "diagnostic notation", and is revised in <xref target="I-D.ietf-cbor-edn-literals" format="default" sectionFormat="of" derivedContent="CBOR-EDN"/>.</t>
        </dd>
        <dt pn="section-3-3.5">Entry:</dt>
        <dd pn="section-3-3.6">
          <t indent="0" pn="section-3-3.6.1">An entry in a VDS for which proofs can be derived.</t>
        </dd>
        <dt pn="section-3-3.7">Proof Type:</dt>
        <dd pn="section-3-3.8">
          <t indent="0" pn="section-3-3.8.1">A property that can be obtained by verifying a given proof over one or more entries in a VDS.
For example, a VDS, such as a binary Merkle Tree, can support inclusion proofs where each proof confirms that a given entry is included in a Merkle Tree root.</t>
        </dd>
        <dt pn="section-3-3.9">Proof Value:</dt>
        <dd pn="section-3-3.10">
          <t indent="0" pn="section-3-3.10.1">An encoding of a Proof Type in CBOR <xref target="RFC8949" format="default" sectionFormat="of" derivedContent="RFC8949"/>.</t>
        </dd>
        <dt pn="section-3-3.11">Receipt:</dt>
        <dd pn="section-3-3.12">
          <t indent="0" pn="section-3-3.12.1">A COSE Single Signer Data Object, as defined in RFC 9052 of <xref target="STD96" format="default" sectionFormat="of" derivedContent="STD96"/>, containing the header parameters necessary to convey one or more VDP for an associated VDS.</t>
        </dd>
        <dt pn="section-3-3.13">Verifiable Data Structure (VDS):</dt>
        <dd pn="section-3-3.14">
          <t indent="0" pn="section-3-3.14.1">A data structure that supports one or more VDS Proof Types.
This property describes an algorithm used to maintain a VDS, for example, a binary Merkle Tree algorithm.</t>
        </dd>
        <dt pn="section-3-3.15">Verifiable Data Structure Proof (VDP):</dt>
        <dd pn="section-3-3.16">
          <t indent="0" pn="section-3-3.16.1">A data structure used to convey Proof Types for proving different properties, such as authentication, inclusion, consistency, and freshness.
Parameters can include multiple proofs of a given type or multiple types of proof (inclusion and consistency).</t>
        </dd>
      </dl>
    </section>
    <section anchor="sec-generic-verifiable-data-structures" numbered="true" removeInRFC="false" toc="include" pn="section-4">
      <name slugifiedName="name-vdss-in-cbor">VDSs in CBOR</name>
      <t indent="0" pn="section-4-1">This section describes representations of VDPs in <xref target="RFC8949" format="default" sectionFormat="of" derivedContent="RFC8949"/>.
For example, construction of a Merkle Tree leaf or an inclusion proof from a leaf to a Merkle Tree root might have several different representations, depending on the VDS used.
Differences in representations are necessary to support efficient verification, unique security or privacy properties, and for compatibility with specific implementations.
This document defines two extension points for enabling VDSs with COSE and provides concrete examples for the structures and proofs defined in <xref section="2.1.3" sectionFormat="of" target="RFC9162" format="default" derivedLink="https://rfc-editor.org/rfc/rfc9162#section-2.1.3" derivedContent="RFC9162"/> and <xref section="2.1.4" sectionFormat="of" target="RFC9162" format="default" derivedLink="https://rfc-editor.org/rfc/rfc9162#section-2.1.4" derivedContent="RFC9162"/>.
The design of these structures is influenced by the conventions established for COSE Keys.</t>
      <section anchor="sec-cose-verifiable-data-structures" numbered="true" removeInRFC="false" toc="include" pn="section-4.1">
        <name slugifiedName="name-structures">Structures</name>
        <t indent="0" pn="section-4.1-1">Similar to COSE Key Types <xref target="IANA.cose_header-parameters" format="default" sectionFormat="of" derivedContent="IANA.cose_header-parameters"/>, different VDSs support different algorithms.</t>
        <t indent="0" pn="section-4.1-2">This document establishes a registry of VDS algorithms; see <xref target="verifiable-data-structure-algorithms-registry" format="default" sectionFormat="of" derivedContent="Section 8.2.2.1"/> for details.</t>
      </section>
      <section anchor="sec-cose-verifiable-data-structure-proofs" numbered="true" removeInRFC="false" toc="include" pn="section-4.2">
        <name slugifiedName="name-proofs">Proofs</name>
        <t indent="0" pn="section-4.2-1">As is the case for COSE Key Type Parameters <xref target="IANA.cose_header-parameters" format="default" sectionFormat="of" derivedContent="IANA.cose_header-parameters"/>, EC2 keys (1: 2) require and give meaning to specific parameters, such as -1 (crv), -2 (x), -3 (y), and -4 (d). RFC9162_SHA256 (395: 1) supports both (-1) inclusion and (-2) consistency proofs.</t>
        <t indent="0" pn="section-4.2-2">This document establishes a registry of VDS algorithm proofs; see <xref target="verifiable-data-structure-proofs-registry" format="default" sectionFormat="of" derivedContent="Section 8.2.2.2"/> for details.</t>
        <t indent="0" pn="section-4.2-3">Proof Types are specific to their associated "Verifiable Data Structure"; for example, different Merkle Trees might support different representations of inclusion proof or consistency proof.
Implementers should not expect interoperability across "Verifiable Data Structures".
Security analysis <bcp14>MUST</bcp14> be conducted prior to migrating to new structures to ensure the new security and privacy assumptions are acceptable for the use case.</t>
      </section>
      <section anchor="receipt-spec" numbered="true" removeInRFC="false" toc="include" pn="section-4.3">
        <name slugifiedName="name-usage">Usage</name>
        <t indent="0" pn="section-4.3-1">This document registers a new COSE header parameter "<tt>receipts</tt>" (394) to enable Receipts to be conveyed in the protected and unprotected headers of Enveloped COSE Structures.</t>
        <t indent="0" pn="section-4.3-2">When the "receipts" header parameter is present, the verifier <bcp14>MUST</bcp14> confirm that the associated VDS and VDPs match entries present in the registries established in this specification, including values added in subsequent registrations.</t>
        <t indent="0" pn="section-4.3-3">Receipts <bcp14>MUST</bcp14> be tagged as COSE_Sign1.</t>
        <t indent="0" pn="section-4.3-4"><xref target="fig-receipts-cddl" format="default" sectionFormat="of" derivedContent="Figure 1"/> defines how Receipts are included in a COSE_Sign1 data item:</t>
        <figure anchor="fig-receipts-cddl" align="left" suppress-title="false" pn="figure-1">
          <name slugifiedName="name-cddl-for-a-cose_sign1-with-">CDDL for a COSE_Sign1 with Attached Receipts</name>
          <sourcecode type="cddl" markers="false" pn="section-4.3-5.1">
Signature_With_Receipt = #6.18(COSE_Sign1)

cose-label = int / text
cose-values = any

Protected_Header = {
  * cose-label =&gt; cose-values
}

Unprotected_Header = {
  &amp;(receipts: 394)  =&gt; [+ bstr .cbor Receipt]
  * cose-label =&gt; cose-values
}

COSE_Sign1 = [
  protected   : bstr .cbor Protected_Header
  unprotected : Unprotected_Header
  payload     : bstr / nil
  signature   : bstr
]

Receipt = Receipt_For_Inclusion / Receipt_For_Consistency

; Note the proof formats shown here are for RFC9162_SHA256.
; Other VDSs may have different proof formats.


Receipt_For_Inclusion = #6.18(Signed_Inclusion_Proof)

Signed_Inclusion_Proof = [
  protected   :
    bstr .cbor RFC9162_SHA256_Inclusion_Protected_Header,
  unprotected : RFC9162_SHA256_Inclusion_Unprotected_Header,
  payload     : bstr / nil,
  signature   : bstr
]

RFC9162_SHA256_Inclusion_Protected_Header = {
  &amp;(alg: 1) =&gt; int
  &amp;(vds: 395) =&gt; int
  * cose-label =&gt; cose-values
}

RFC9162_SHA256_Inclusion_Unprotected_Header = {
  &amp;(vdp: 396) =&gt; RFC9162_SHA256_Verifiable_Inclusion_Proofs
  * cose-label =&gt; cose-values
}

RFC9162_SHA256_Verifiable_Inclusion_Proofs = {
  &amp;(inclusion-proof: -1) =&gt; RFC9162_SHA256_Inclusion_Proofs
}

RFC9162_SHA256_Inclusion_Proofs = [
  + RFC9162_SHA256_Inclusion_Proof
]

RFC9162_SHA256_Inclusion_Proof =
  bstr .cbor RFC9162_SHA256_Inclusion_Proof_Content

RFC9162_SHA256_Inclusion_Proof_Content = [
  tree_size: uint,
  leaf_index: uint,
  inclusion_path:[ + bstr ]
]


Receipt_For_Consistency = #6.18(Signed_Consistency_Proof)

Signed_Consistency_Proof = [
  protected   :
    bstr .cbor RFC9162_SHA256_Consistency_Protected_Header,
  unprotected : RFC9162_SHA256_Consistency_Unprotected_Header,
  payload     : bstr / nil, ; Newer Merkle Tree root
  signature   : bstr
]

RFC9162_SHA256_Consistency_Protected_Header = {
  &amp;(alg: 1) =&gt; int,
  &amp;(vds: 395) =&gt; int,
  * cose-label =&gt; cose-values
}

RFC9162_SHA256_Consistency_Unprotected_Header = {
  &amp;(vdp: 396) =&gt; RFC9162_SHA256_Verifiable_Consistency_Proofs
  * cose-label =&gt; cose-values
}

RFC9162_SHA256_Verifiable_Consistency_Proofs = {
  &amp;(consistency-proof: -2) =&gt; RFC9162_SHA256_Consistency_Proofs
}

RFC9162_SHA256_Consistency_Proofs = [
  + RFC9162_SHA256_Consistency_Proof
]

RFC9162_SHA256_Consistency_Proof =
  bstr .cbor RFC9162_SHA256_Consistency_Proof_Content

RFC9162_SHA256_Consistency_Proof_Content = [
  tree_size_1: uint,
  tree_size_2: uint,
  consistency_path: [ + bstr ]
]

</sourcecode>
        </figure>
        <t indent="0" pn="section-4.3-6">The following informative EDN is provided:</t>
        <figure anchor="fig-receipts-edn" align="left" suppress-title="false" pn="figure-2">
          <name slugifiedName="name-an-example-cose-signature-w">An Example COSE Signature with Multiple Receipts</name>
          <sourcecode type="cbor-diag" markers="false" pn="section-4.3-7.1">
/ cose-sign1 / 18([
  / protected   / &lt;&lt;{
    / kid / 4 : h'bc297b51...e4edf0de',
    / algorithm / 1 : -7,  # ES256
  }&gt;&gt;,
  / unprotected / {
    / receipts / 394 : [
      &lt;&lt;/ cose-sign1 / 18([
          / protected   / &lt;&lt;{
            / kid / 4 : h'abcdef12...34567890',
            / algorithm / 1 : -7,  # ES256
            / vds       / 395 : 1, # RFC9162_SHA256
          }&gt;&gt;,
          / unprotected / {
            / proofs / 396 : {
              / inclusion / -1 : [
                &lt;&lt;[
                  / size / 9, / leaf / 8,
                  / inclusion path /
                  [ h'7558a95f...e02e35d6' ]
                ]&gt;&gt;
              ],
            },
          },
          / payload     / null,
          / signature   / h'02d227ed...ccd3774f'
        ])&gt;&gt;,
        &lt;&lt;/ cose-sign1 / 18([
          / protected   / &lt;&lt;{
            / kid / 4 : h'abcdef12...34567890',
            / algorithm / 1 : -7,  # ES256
            / vds       / 395 : 1, # RFC9162_SHA256
          }&gt;&gt;,
          / unprotected / {
            / proofs / 396 : {
              / inclusion / -1 : [
                &lt;&lt;[
                  / size / 6, / leaf / 5,
                  / inclusion path /
                  [ h'9352f974...4ffa7ce0',
                    h'54806f32...f007ea06' ]
                ]&gt;&gt;
              ],
            },
          },
          / payload     / null,
          / signature   / h'36581f38...a5581960'
        ])&gt;&gt;
    ],
  },
  / payload     / h'0167c57c...deeed6d4',
  / signature   / h'2544f2ed...5840893b'
])
</sourcecode>
        </figure>
        <t indent="0" pn="section-4.3-8">The specific structure of COSE Receipts is dependent on the structure of the COSE_Sign1 payload and the VDPs contained in the COSE_Sign1 unprotected header.
The CDDL definition for VDPs is specific to each VDS.
This document describes proofs for RFC9162_SHA256 in the following sections.</t>
      </section>
      <section anchor="profiles-def" numbered="true" removeInRFC="false" toc="include" pn="section-4.4">
        <name slugifiedName="name-profiles">Profiles</name>
        <t indent="0" pn="section-4.4-1">New VDSs can require the definition of a profile.
The payload in such definitions <bcp14>SHOULD</bcp14> be detached.
Detached payloads force verifiers to recompute the root from the proof and protect against implementation errors where the signature is verified but the payload is incompatible with the proof.
Profiles of proof signatures that define additional protected header parameters are encouraged to make their presence mandatory to ensure that claims are processed with their intended semantics.
One way to include this information in the COSE structure is use of the "typ" (type) header parameter; see <xref target="RFC9596" format="default" sectionFormat="of" derivedContent="RFC9596"/> and the similar guidance provided in <xref target="RFC9597" format="default" sectionFormat="of" derivedContent="RFC9597"/>.</t>
        <section anchor="registration-requirements" numbered="true" removeInRFC="false" toc="include" pn="section-4.4.1">
          <name slugifiedName="name-registration-requirements">Registration Requirements</name>
          <t indent="0" pn="section-4.4.1-1">Each VDS specification applying for inclusion in this registry <bcp14>MUST</bcp14> define how to encode the VDS identifier and its Proof Types in CBOR.
Each specification <bcp14>MUST</bcp14> define how to produce and consume the supported Proof Types.
See <xref target="sec-rfc-9162-verifiable-data-structure-definition" format="default" sectionFormat="of" derivedContent="Section 5"/> as an example.</t>
          <t indent="0" pn="section-4.4.1-2">Where a specification supports a choice of hash algorithm, a separate IANA registration must be made for each supported algorithm.
For example, to provide support for SHA256 and SHA3_256 with Merkle inclusion proofs and Merkle consistency proofs defined, respectively, in <xref section="2.1.3" sectionFormat="of" target="RFC9162" format="default" derivedLink="https://rfc-editor.org/rfc/rfc9162#section-2.1.3" derivedContent="RFC9162"/> and <xref section="2.1.4" sectionFormat="of" target="RFC9162" format="default" derivedLink="https://rfc-editor.org/rfc/rfc9162#section-2.1.4" derivedContent="RFC9162"/>, both "RFC9162_SHA256" and "RFC9162_SHA3_256" require entries in the relevant IANA registries.
This document only defines "RFC9162_SHA256".</t>
        </section>
      </section>
    </section>
    <section anchor="sec-rfc-9162-verifiable-data-structure-definition" numbered="true" removeInRFC="false" toc="include" pn="section-5">
      <name slugifiedName="name-rfc9162_sha256">RFC9162_SHA256</name>
      <t indent="0" pn="section-5-1">This section defines how the data structure described in <xref section="2.1" sectionFormat="of" target="RFC9162" format="default" derivedLink="https://rfc-editor.org/rfc/rfc9162#section-2.1" derivedContent="RFC9162"/> is mapped to the terminology defined in this document, using <xref target="RFC8949" format="default" sectionFormat="of" derivedContent="RFC8949"/> and <xref target="RFC9053" format="default" sectionFormat="of" derivedContent="RFC9053"/>.</t>
      <section anchor="verifiable-data-structure" numbered="true" removeInRFC="false" toc="include" pn="section-5.1">
        <name slugifiedName="name-verifiable-data-structure">Verifiable Data Structure</name>
        <t indent="0" pn="section-5.1-1">The integer identifier for this VDS is 1.
The string identifier for this VDS is "RFC9162_SHA256", a Merkle Tree where SHA256 is used as the hash algorithm
(see <xref target="verifiable-data-structure-algorithms-registry-table" format="default" sectionFormat="of" derivedContent="Table 2"/>). See <xref section="2.1.1" sectionFormat="of" target="RFC9162" format="default" derivedLink="https://rfc-editor.org/rfc/rfc9162#section-2.1.1" derivedContent="RFC9162"/> for a complete description of this VDS.</t>
      </section>
      <section anchor="sec-rfc9162-sha256-inclusion-proof" numbered="true" removeInRFC="false" toc="include" pn="section-5.2">
        <name slugifiedName="name-inclusion-proof">Inclusion Proof</name>
        <t indent="0" pn="section-5.2-1">See <xref section="2.1.3.1" sectionFormat="of" target="RFC9162" format="default" derivedLink="https://rfc-editor.org/rfc/rfc9162#section-2.1.3.1" derivedContent="RFC9162"/> for a complete description of this VDS Proof Type.</t>
        <t indent="0" pn="section-5.2-2">The CBOR representation of an inclusion proof for RFC9162_SHA256 is:</t>
        <figure anchor="rfc9162-sha256-cbor-inclusion-proof" align="left" suppress-title="false" pn="figure-3">
          <name slugifiedName="name-cbor-encoded-inclusion-proo">CBOR-Encoded Inclusion Proof for RFC9162_SHA256</name>
          <sourcecode type="cddl" markers="false" pn="section-5.2-3.1">
inclusion-proof-content = [

    ; tree size at current Merkle Tree root
    tree-size: uint

    ; index of leaf in tree
    leaf-index: uint

    ; path from leaf to current Merkle Tree root
    inclusion-path: [ + bstr ]
]</sourcecode>
        </figure>
        <t indent="0" pn="section-5.2-4">The term <tt>leaf-index</tt> is used for alignment with the use established in <xref section="2.1.3.2" sectionFormat="of" target="RFC9162" format="default" derivedLink="https://rfc-editor.org/rfc/rfc9162#section-2.1.3.2" derivedContent="RFC9162"/>.</t>
        <t indent="0" pn="section-5.2-5">Note that <xref target="RFC9162" format="default" sectionFormat="of" derivedContent="RFC9162"/> defines inclusion proofs only for leaf nodes, and that:</t>
        <blockquote pn="section-5.2-6">If leaf_index is greater than or equal to tree_size, then fail the proof verification.</blockquote>
        <t indent="0" pn="section-5.2-7">The identifying index of a leaf node is relative to all nodes in the tree size for which the proof was obtained.</t>
        <section anchor="receipt-of-inclusion" numbered="true" removeInRFC="false" toc="include" pn="section-5.2.1">
          <name slugifiedName="name-receipt-of-inclusion">Receipt of Inclusion</name>
          <t indent="0" pn="section-5.2.1-1">In a signed proof, the payload is the Merkle Tree root that corresponds to the log at size <tt>tree-size</tt>.
The protected header for an RFC9162_SHA256 inclusion proof signature is:</t>
          <figure anchor="vds-in-inclusion-receipt-protected-header" align="left" suppress-title="false" pn="figure-4">
            <name slugifiedName="name-protected-header-for-a-rece">Protected Header for a Receipt of Inclusion</name>
            <sourcecode type="cddl" markers="false" pn="section-5.2.1-2.1">
protected-header-map = {
  &amp;(alg: 1) =&gt; int
  &amp;(vds: 395) =&gt; int
  * cose-label =&gt; cose-value
}</sourcecode>
          </figure>
          <dl spacing="normal" newline="false" indent="3" pn="section-5.2.1-3">
            <dt pn="section-5.2.1-3.1">alg (label: 1):</dt>
            <dd pn="section-5.2.1-3.2">
              <bcp14>REQUIRED</bcp14>. Signature algorithm identifier. Value type: int.</dd>
            <dt pn="section-5.2.1-3.3">vds (label: 395):</dt>
            <dd pn="section-5.2.1-3.4">
              <bcp14>REQUIRED</bcp14>. VDS algorithm identifier. Value type: int.</dd>
          </dl>
          <t indent="0" pn="section-5.2.1-4">The unprotected header for an RFC9162_SHA256 inclusion proof signature is:</t>
          <figure anchor="vdp-in-unprotected-header" align="left" suppress-title="false" pn="figure-5">
            <name slugifiedName="name-a-vdp-in-an-unprotected-hea">A VDP in an Unprotected Header</name>
            <sourcecode type="cddl" markers="false" pn="section-5.2.1-5.1">
inclusion-proofs = [ + inclusion-proof ]

verifiable-proofs = {
  &amp;(inclusion-proof: -1) =&gt; inclusion-proofs
}

unprotected-header-map = {
  &amp;(vdp: 396) =&gt; verifiable-proofs
  * cose-label =&gt; cose-value
}</sourcecode>
          </figure>
          <dl spacing="normal" newline="false" indent="3" pn="section-5.2.1-6">
            <dt pn="section-5.2.1-6.1">vdp (label: 396):</dt>
            <dd pn="section-5.2.1-6.2">
              <bcp14>REQUIRED</bcp14>. Verifiable Data Structure Proofs. Value type: Map.</dd>
            <dt pn="section-5.2.1-6.3">inclusion-proof (label: -1):</dt>
            <dd pn="section-5.2.1-6.4">
              <bcp14>REQUIRED</bcp14>. Inclusion proofs.  Value type: Array of bstr.</dd>
          </dl>
          <t indent="0" pn="section-5.2.1-7">The payload of an RFC9162_SHA256 inclusion proof signature is the Merkle Tree Hash as defined in <xref target="RFC9162" format="default" sectionFormat="of" derivedContent="RFC9162"/>.</t>
          <t indent="0" pn="section-5.2.1-8">An EDN example for a Receipt containing an inclusion proof for RFC9162_SHA256 with a detached payload (see <xref target="profiles-def" format="default" sectionFormat="of" derivedContent="Section 4.4"/>) is:</t>
          <figure anchor="rfc9162_sha256_inclusion_receipt" align="left" suppress-title="false" pn="figure-6">
            <name slugifiedName="name-receipt-of-inclusion-2">Receipt of Inclusion</name>
            <sourcecode type="cbor-diag" markers="false" pn="section-5.2.1-9.1">
/ cose-sign1 / 18([
  / protected   / &lt;&lt;{
    / algorithm / 1 : -7,  # ES256
    / vds       / 395 : 1, # RFC9162_SHA256
  }&gt;&gt;,
  / unprotected / {
    / proofs / 396 : {
      / inclusion / -1 : [
        &lt;&lt;[
          / size / 20, / leaf / 17,
          / inclusion path /
          [ h'fc9f050f...221c92cb',
            h'bd0136ad...6b28cf21',
            h'd68af9d6...93b1632b' ]
        ]&gt;&gt;
      ],
    },
  },
  / payload     / null,
  / signature   / h'de24f0cc...9a5ade89'
])</sourcecode>
          </figure>
          <t indent="0" pn="section-5.2.1-10">The VDS in the protected header is necessary to understand the inclusion proof structure in the unprotected header.</t>
          <t indent="0" pn="section-5.2.1-11">Verification of the inclusion proof and signature occurs in two sequential steps:</t>
          <ol indent="adaptive" spacing="normal" start="1" type="1" pn="section-5.2.1-12">
	    
<li pn="section-5.2.1-12.1" derivedCounter="1.">Inclusion Proof Verification: The verifier applies the inclusion proof to the bytes of a candidate entry. If this fails, the proof is invalid. If it succeeds, the resulting Merkle Tree root becomes the COSE_Sign1 payload.</li>
            <li pn="section-5.2.1-12.2" derivedCounter="2.">Signature Verification: The verifier checks the COSE_Sign1 signature. Successful verification confirms the entry's inclusion in the VDS; otherwise, the signature is invalid.</li>
          </ol>
        </section>
      </section>
      <section anchor="sec-rfc9162-sha256-consistency-proof" numbered="true" removeInRFC="false" toc="include" pn="section-5.3">
        <name slugifiedName="name-consistency-proof">Consistency Proof</name>
        <t indent="0" pn="section-5.3-1">See <xref section="2.1.4.1" sectionFormat="of" target="RFC9162" format="default" derivedLink="https://rfc-editor.org/rfc/rfc9162#section-2.1.4.1" derivedContent="RFC9162"/> for a complete description of this VDS Proof Type.</t>
        <t indent="0" pn="section-5.3-2">The CBOR representation of a consistency proof for RFC9162_SHA256 is:</t>
        <figure anchor="rfc9162_sha256_consistency_proof" align="left" suppress-title="false" pn="figure-7">
          <name slugifiedName="name-cbor-encoded-consistency-pr">CBOR-Encoded Consistency Proof for RFC9162_SHA256</name>
          <sourcecode type="cddl" markers="false" pn="section-5.3-3.1">
consistency-proof-content = [

    ; older Merkle Tree size
    tree-size-1: uint

    ; newer Merkle Tree size
    tree-size-2: uint

    ; path from older Merkle Tree to newer Merkle Tree
    consistency-path: [ + bstr ]

]</sourcecode>
        </figure>
        <section anchor="receipt-of-consistency" numbered="true" removeInRFC="false" toc="include" pn="section-5.3.1">
          <name slugifiedName="name-receipt-of-consistency">Receipt of Consistency</name>
          <t indent="0" pn="section-5.3.1-1">In a signed consistency proof, the newer Merkle Tree root (proven to be consistent with an older Merkle Tree root) is a detached payload and corresponds to the log at size tree-size-2.</t>
          <t indent="0" pn="section-5.3.1-2">The protected header for an RFC9162_SHA256 consistency proof signature is:</t>
          <figure anchor="vds-in-consistency-receipt-protected-header" align="left" suppress-title="false" pn="figure-8">
            <name slugifiedName="name-protected-header-for-a-recei">Protected Header for a Receipt of Consistency</name>
            <sourcecode type="cddl" markers="false" pn="section-5.3.1-3.1">
protected-header-map = {
  &amp;(alg: 1) =&gt; int
  &amp;(vds: 395) =&gt; int
  * cose-label =&gt; cose-value
}</sourcecode>
          </figure>
          <dl spacing="normal" newline="false" indent="3" pn="section-5.3.1-4">
            <dt pn="section-5.3.1-4.1">alg (label: 1):</dt>
            <dd pn="section-5.3.1-4.2">
              <bcp14>REQUIRED</bcp14>. Signature algorithm identifier. Value type: int.</dd>
            <dt pn="section-5.3.1-4.3">vds (label: 395):</dt>
            <dd pn="section-5.3.1-4.4">
              <bcp14>REQUIRED</bcp14>. VDS algorithm identifier. Value type: int.</dd>
          </dl>
          <t indent="0" pn="section-5.3.1-5">The unprotected header for an RFC9162_SHA256 consistency proof signature is:</t>
          <sourcecode type="cddl" markers="false" pn="section-5.3.1-6">
consistency-proofs = [ + consistency-proof ]

verifiable-proofs = {
  &amp;(consistency-proof: -2) =&gt; consistency-proofs
}

unprotected-header-map = {
  &amp;(vdp: 396) =&gt; verifiable-proofs
  * cose-label =&gt; cose-value
}</sourcecode>
          <dl spacing="normal" newline="false" indent="3" pn="section-5.3.1-7">
            <dt pn="section-5.3.1-7.1">vdp (label: 396):</dt>
            <dd pn="section-5.3.1-7.2">
              <bcp14>REQUIRED</bcp14>. VDPs. Value type: Map.</dd>
            <dt pn="section-5.3.1-7.3">consistency-proof (label: -2):</dt>
            <dd pn="section-5.3.1-7.4">
              <bcp14>REQUIRED</bcp14>. Consistency proofs. Value type: Array of bstr.</dd>
          </dl>
          <t indent="0" pn="section-5.3.1-8">The payload of an RFC9162_SHA256 consistency proof signature is:
The newer Merkle Tree Hash as defined in <xref target="RFC9162" format="default" sectionFormat="of" derivedContent="RFC9162"/>.</t>
          <t indent="0" pn="section-5.3.1-9">An EDN example for a Receipt containing a consistency proof for RFC9162_SHA256 with a detached payload (see <xref target="profiles-def" format="default" sectionFormat="of" derivedContent="Section 4.4"/>) is:</t>
          <figure anchor="rfc9162_sha256_consistency_receipt" align="left" suppress-title="false" pn="figure-9">
            <name slugifiedName="name-example-consistency-receipt">Example Consistency Receipt</name>
            <sourcecode type="cbor-diag" markers="false" pn="section-5.3.1-10.1">
/ cose-sign1 / 18([
  / protected   / &lt;&lt;{
    / algorithm / 1 : -7,  # ES256
    / vds       / 395 : 1, # RFC9162_SHA256
  }&gt;&gt;,
  / unprotected / {
    / proofs / 396 : {
      / consistency / -2 : [
        &lt;&lt;[
          / old / 20, / new / 104,
          / consistency path /
          [ h'e5b3e764...c4a813bc',
            h'87e8a084...4f529f69',
            h'f712f76d...92a0ff36',
            h'd68af9d6...93b1632b',
            h'249efab6...b7614ccd',
            h'85dd6293...38914dc1' ]
        ]&gt;&gt;
      ],
    },
  },
  / payload     / null,
  / signature   / h'94469f73...52de67a1'
])</sourcecode>
          </figure>
          <t indent="0" pn="section-5.3.1-11">The VDS in the protected header is necessary to understand the consistency proof structure in the unprotected header.</t>
          <t indent="0" pn="section-5.3.1-12">The signature and consistency proof are verified in order.</t>
          <t indent="0" pn="section-5.3.1-13">First, the verifier checks the signature on the COSE_Sign1.
If the verification fails, the consistency proof is not checked.
Second, the consistency proof is checked by applying a previous inclusion proof to the consistency proof.
If the verification fails, the append-only property of the VDS is not assured.
This approach is specific to RFC9162_SHA256; different VDSs may not support consistency proofs.
It is recommended that implementations return a single boolean result for Receipt-verification operations to reduce the chance of accepting a valid signature over an invalid consistency proof.</t>
        </section>
      </section>
    </section>
    <section anchor="privacy-considerations" numbered="true" removeInRFC="false" toc="include" pn="section-6">
      <name slugifiedName="name-privacy-considerations">Privacy Considerations</name>
      <section anchor="log-length" numbered="true" removeInRFC="false" toc="include" pn="section-6.1">
        <name slugifiedName="name-log-length">Log Length</name>
        <t indent="0" pn="section-6.1-1">Some structures and proofs leak the size of the log at the time of inclusion.
In the case that a log only stores certain kinds of information, this can reveal details that could impact reputation.
For example, if a transparency log only stored breach notices, a receipt for a breach notice would reveal the number of previous breaches at the time the notice was made transparent.</t>
      </section>
      <section anchor="header-parameters" numbered="true" removeInRFC="false" toc="include" pn="section-6.2">
        <name slugifiedName="name-header-parameters">Header Parameters</name>
        <t indent="0" pn="section-6.2-1">Additional header parameters can reveal information about the transparency service or its log entries.
The receipt producer <bcp14>MUST</bcp14> perform a privacy analysis for all mandatory fields in profiles based on this specification.</t>
      </section>
    </section>
    <section anchor="security-considerations" numbered="true" removeInRFC="false" toc="include" pn="section-7">
      <name slugifiedName="name-security-considerations">Security Considerations</name>
      <t indent="0" pn="section-7-1">See the Security Considerations sections of:</t>
      <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-7-2">
        <li pn="section-7-2.1">
          <xref target="RFC9162" format="default" sectionFormat="of" derivedContent="RFC9162"/></li>
        <li pn="section-7-2.2">
          <xref target="RFC9053" format="default" sectionFormat="of" derivedContent="RFC9053"/></li>
      </ul>
      <section anchor="choice-of-signature-algorithms" numbered="true" removeInRFC="false" toc="include" pn="section-7.1">
        <name slugifiedName="name-choice-of-signature-algorit">Choice of Signature Algorithms</name>
        <t indent="0" pn="section-7.1-1">A security analysis ought to be performed to ensure that the digital signature algorithm <tt>alg</tt> has the appropriate strength to secure receipts.</t>
        <t indent="0" pn="section-7.1-2">It is recommended to select signature algorithms that share cryptographic components with the VDS used; for example,
both RFC9162_SHA256 and ES256 depend on the SHA256 hash function.</t>
      </section>
      <section anchor="validity-period" numbered="true" removeInRFC="false" toc="include" pn="section-7.2">
        <name slugifiedName="name-validity-period">Validity Period</name>
        <t indent="0" pn="section-7.2-1">In some cases, receipts <bcp14>MAY</bcp14> include strict validity periods, for example, activation not too far in the future or expiration not too far in the past.
See the <tt>iat</tt>, <tt>nbf</tt>, and <tt>exp</tt> claims in <xref target="RFC8392" format="default" sectionFormat="of" derivedContent="RFC8392"/> for one way to accomplish this.
The details of expressing validity periods are out of scope for this document.</t>
      </section>
      <section anchor="status-updates" numbered="true" removeInRFC="false" toc="include" pn="section-7.3">
        <name slugifiedName="name-status-updates">Status Updates</name>
        <t indent="0" pn="section-7.3-1">In some cases, receipts should be "revocable" or "suspendable" after being issued, regardless of their validity period.
The details of expressing statuses are out of scope for this document.</t>
      </section>
    </section>
    <section anchor="iana-considerations" numbered="true" removeInRFC="false" toc="include" pn="section-8">
      <name slugifiedName="name-iana-considerations">IANA Considerations</name>
      <section anchor="cose-header-parameter" numbered="true" removeInRFC="false" toc="include" pn="section-8.1">
        <name slugifiedName="name-cose-header-parameter">COSE Header Parameter</name>
        <t indent="0" pn="section-8.1-1">IANA has added the COSE header parameters defined in <xref target="param-list" format="default" sectionFormat="of" derivedContent="Section 2"/>, and as listed in <xref target="iana-header-params" format="default" sectionFormat="of" derivedContent="Table 1"/>, to the "COSE Header Parameters" subregistry <xref target="IANA.cose_header-parameters" format="default" sectionFormat="of" derivedContent="IANA.cose_header-parameters"/> in the "CBOR Object Signing and Encryption (COSE)" registry group.  These COSE header parameters fall in the 'Integer values from 256 to 65535' range (with a Specification Required registration procedure (see <xref target="RFC8126" format="default" sectionFormat="of" derivedContent="RFC8126"/>)).
The Value Registry listed for "vds" is the "COSE Verifiable Data Structure Algorithm" subregistry.
	The map labels in the "vdp" are assigned from the "COSE Verifiable Data Structure Proofs" subregistry.</t>
        <table anchor="iana-header-params" align="center" pn="table-1">
          <name slugifiedName="name-newly-registered-cose-heade">Newly Registered COSE Header Parameters</name>
          <thead>
            <tr>
              <th align="left" colspan="1" rowspan="1">Name</th>
              <th align="left" colspan="1" rowspan="1">Label</th>
              <th align="left" colspan="1" rowspan="1">Value Type</th>
              <th align="left" colspan="1" rowspan="1">Value Registry</th>
              <th align="left" colspan="1" rowspan="1">Description</th>
              <th align="left" colspan="1" rowspan="1">Reference</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td align="left" colspan="1" rowspan="1">
                <tt>receipts</tt></td>
              <td align="left" colspan="1" rowspan="1">394</td>
              <td align="left" colspan="1" rowspan="1">array</td>
              <td align="left" colspan="1" rowspan="1"> </td>
              <td align="left" colspan="1" rowspan="1">Priority ordered sequence of CBOR encoded Receipts</td>
              <td align="left" colspan="1" rowspan="1">RFC 9942, <xref target="param-list" format="default" sectionFormat="of" derivedContent="Section 2"/></td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">
                <tt>vds</tt></td>
              <td align="left" colspan="1" rowspan="1">395</td>
              <td align="left" colspan="1" rowspan="1">int</td>
              <td align="left" colspan="1" rowspan="1">COSE Verifiable Data Structure</td>
              <td align="left" colspan="1" rowspan="1">Algorithm identifier for Verifiable Data Structures that is used to produce Verifiable Data Structure Proofs</td>
              <td align="left" colspan="1" rowspan="1">RFC 9942, <xref target="param-list" format="default" sectionFormat="of" derivedContent="Section 2"/></td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">
                <tt>vdp</tt></td>
              <td align="left" colspan="1" rowspan="1">396</td>
              <td align="left" colspan="1" rowspan="1">map</td>
              <td align="left" colspan="1" rowspan="1">map key in COSE Verifiable Data Structure Proofs</td>
              <td align="left" colspan="1" rowspan="1">Location for Verifiable Data Structure Proofs in COSE Header Parameters</td>
              <td align="left" colspan="1" rowspan="1">RFC 9942, <xref target="param-list" format="default" sectionFormat="of" derivedContent="Section 2"/></td>
            </tr>
          </tbody>
        </table>
      </section>
      <section anchor="verifiable-data-structure-registries" numbered="true" removeInRFC="false" toc="include" pn="section-8.2">
        <name slugifiedName="name-vds-registries">VDS Registries</name>
        <t indent="0" pn="section-8.2-1">IANA has established the "COSE Verifiable Data Structure Algorithms" and "COSE Verifiable Data Structure Proofs" subregistries under a Specification Required policy as described in <xref section="4.6" sectionFormat="of" target="RFC8126" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8126#section-4.6" derivedContent="RFC8126"/>.</t>
        <section anchor="expert-review" numbered="true" removeInRFC="false" toc="include" pn="section-8.2.1">
          <name slugifiedName="name-expert-review">Expert Review</name>
          <t indent="0" pn="section-8.2.1-1">Expert reviewers (see <xref target="RFC8126" format="default" sectionFormat="of" derivedContent="RFC8126"/>) should take into consideration the following points:</t>
          <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-8.2.1-2">
            <li pn="section-8.2.1-2.1">Experts are advised to assign the next available positive integer for VDSs.</li>
            <li pn="section-8.2.1-2.2">Point squatting should be discouraged.
Reviewers are encouraged to get sufficient information for registration requests to ensure that the usage is not going to duplicate one that is already registered and that the point is likely to be used in deployments.</li>
            <li pn="section-8.2.1-2.3">Specifications are required for all point assignments.
Early allocation is permissible, see <xref target="RFC7120" section="2" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc7120#section-2" derivedContent="RFC7120"/>.</li>
            <li pn="section-8.2.1-2.4">It is not permissible to assign points in the "COSE Verifiable Data Structure Algorithms" registry for which no corresponding entry in the "COSE Verifiable Data Structure Proofs" registry exists, and vice versa.</li>
            <li pn="section-8.2.1-2.5">The change controller for related registrations of structures and proofs should be the same.</li>
          </ul>
        </section>
        <section anchor="IANA_registry_info" numbered="true" removeInRFC="false" toc="include" pn="section-8.2.2">
          <name slugifiedName="name-templates-and-initial-conte">Templates and Initial Contents</name>
          <section anchor="verifiable-data-structure-algorithms-registry" numbered="true" removeInRFC="false" toc="exclude" pn="section-8.2.2.1">
            <name slugifiedName="name-cose-verifiable-data-struct">COSE Verifiable Data Structure Algorithms Initial Registry Contents</name>
            <dl spacing="normal" newline="true" indent="3" pn="section-8.2.2.1-1">
              <dt pn="section-8.2.2.1-1.1">Registration Template:</dt>
              <dd pn="section-8.2.2.1-1.2">
                <dl spacing="normal" newline="true" indent="3" pn="section-8.2.2.1-1.2.1">
                  <dt pn="section-8.2.2.1-1.2.1.1">Name:</dt>
                  <dd pn="section-8.2.2.1-1.2.1.2">This is a descriptive name for the VDS
	    that enables easier reference to the item.</dd>
                  <dt pn="section-8.2.2.1-1.2.1.3">Value:</dt>
                  <dd pn="section-8.2.2.1-1.2.1.4">This is the value used to identify the VDS.</dd>
                  <dt pn="section-8.2.2.1-1.2.1.5">Description:</dt>
                  <dd pn="section-8.2.2.1-1.2.1.6">This field contains a brief description of the VDS.</dd>
                  <dt pn="section-8.2.2.1-1.2.1.7">Reference:</dt>
                  <dd pn="section-8.2.2.1-1.2.1.8">This contains a pointer to the public specification for the VDS.</dd>
                  <dt pn="section-8.2.2.1-1.2.1.9">Change Controller:</dt>
                  <dd pn="section-8.2.2.1-1.2.1.10">For Standards Track RFCs, list the "IETF".  For others, give the name of the responsible party.  Other details (e.g., postal address, email address, home page URI) may also be included.</dd>
                </dl>
              </dd>
            </dl>
            <table align="left" anchor="verifiable-data-structure-algorithms-registry-table" pn="table-2">
              <name slugifiedName="name-cose-verifiable-data-structu">COSE Verifiable Data Structure Algorithms Initial Registry Contents</name>
              <thead>
                <tr>
                  <th align="left" colspan="1" rowspan="1">Name</th>
                  <th align="left" colspan="1" rowspan="1">Value</th>
                  <th align="left" colspan="1" rowspan="1">Description</th>
                  <th align="left" colspan="1" rowspan="1">Change Controller</th>
                  <th align="left" colspan="1" rowspan="1">Reference</th>
                </tr>
              </thead>
              <tbody>
                <tr>
                  <td align="left" colspan="1" rowspan="1">Reserved</td>
                  <td align="left" colspan="1" rowspan="1">0</td>
                  <td align="left" colspan="1" rowspan="1">Reserved</td>
                  <td align="left" colspan="1" rowspan="1"/>
                  <td align="left" colspan="1" rowspan="1">RFC 9942</td>
                </tr>
                <tr>
                  <td align="left" colspan="1" rowspan="1">RFC9162_SHA256</td>
                  <td align="left" colspan="1" rowspan="1">1</td>
                  <td align="left" colspan="1" rowspan="1">SHA256 Binary Merkle Tree</td>
                  <td align="left" colspan="1" rowspan="1">IETF</td>
                  <td align="left" colspan="1" rowspan="1">
                    <xref section="2.1" sectionFormat="of" target="RFC9162" format="default" derivedLink="https://rfc-editor.org/rfc/rfc9162#section-2.1" derivedContent="RFC9162"/></td>
                </tr>
              </tbody>
            </table>
          </section>
          <section anchor="verifiable-data-structure-proofs-registry" numbered="true" removeInRFC="false" toc="exclude" pn="section-8.2.2.2">
            <name slugifiedName="name-cose-verifiable-data-structur">COSE Verifiable Data Structure Proofs Registry</name>
            <dl spacing="normal" newline="true" indent="3" pn="section-8.2.2.2-1">
              <dt pn="section-8.2.2.2-1.1">Registration Template:</dt>
              <dd pn="section-8.2.2.2-1.2">
                <dl spacing="normal" newline="true" indent="3" pn="section-8.2.2.2-1.2.1">
                  <dt pn="section-8.2.2.2-1.2.1.1">Verifiable Data Structure:</dt>
                  <dd pn="section-8.2.2.2-1.2.1.2">This value used identifies the related VDS.</dd>
                  <dt pn="section-8.2.2.2-1.2.1.3">Name:</dt>
                  <dd pn="section-8.2.2.2-1.2.1.4">This is a descriptive name for the Proof Type that enables easier reference to the item.</dd>
                  <dt pn="section-8.2.2.2-1.2.1.5">Label:</dt>
                  <dd pn="section-8.2.2.2-1.2.1.6">This is the value used to identify the VDS Proof Type.</dd>
                  <dt pn="section-8.2.2.2-1.2.1.7">CBOR Type:</dt>
                  <dd pn="section-8.2.2.2-1.2.1.8">This contains the CBOR type for the value portion of the label.</dd>
                  <dt pn="section-8.2.2.2-1.2.1.9">Description:</dt>
                  <dd pn="section-8.2.2.2-1.2.1.10">This field contains a brief description of the Proof Type.</dd>
                  <dt pn="section-8.2.2.2-1.2.1.11">Reference:</dt>
                  <dd pn="section-8.2.2.2-1.2.1.12">This contains a pointer to the public specification for the Proof Type.</dd>
                  <dt pn="section-8.2.2.2-1.2.1.13">Change Controller:</dt>
                  <dd pn="section-8.2.2.2-1.2.1.14">For Standards Track RFCs, list the "IETF".  For others, give the name of the responsible party.  Other details (e.g., postal address, email address, home page URI) may also be included.</dd>
                </dl>
              </dd>
            </dl>
            <table align="left" anchor="cose-verifiable-data-structure-proofs-table" pn="table-3">
              <name slugifiedName="name-cose-verifiable-data-structure">COSE Verifiable Data Structure Proofs Initial Registry Contents</name>
              <thead>
                <tr>
                  <th align="left" colspan="1" rowspan="1">Verifiable Data Structure</th>
                  <th align="left" colspan="1" rowspan="1">Name</th>
                  <th align="left" colspan="1" rowspan="1">Label</th>
                  <th align="left" colspan="1" rowspan="1">CBOR Type</th>
                  <th align="left" colspan="1" rowspan="1">Description</th>
                  <th align="left" colspan="1" rowspan="1">Change Controller</th>
                  <th align="left" colspan="1" rowspan="1">Reference</th>
                </tr>
              </thead>
              <tbody>
                <tr>
                  <td align="left" colspan="1" rowspan="1">1</td>
                  <td align="left" colspan="1" rowspan="1">inclusion proofs</td>
                  <td align="left" colspan="1" rowspan="1">-1</td>
                  <td align="left" colspan="1" rowspan="1">array (of bstr)</td>
                  <td align="left" colspan="1" rowspan="1">Proof of inclusion</td>
                  <td align="left" colspan="1" rowspan="1">IETF</td>
                  <td align="left" colspan="1" rowspan="1">RFC 9942, <xref target="sec-rfc9162-sha256-inclusion-proof" format="default" sectionFormat="of" derivedContent="Section 5.2"/></td>
                </tr>
                <tr>
                  <td align="left" colspan="1" rowspan="1">1</td>
                  <td align="left" colspan="1" rowspan="1">consistency proofs</td>
                  <td align="left" colspan="1" rowspan="1">-2</td>
                  <td align="left" colspan="1" rowspan="1">array (of bstr)</td>
                  <td align="left" colspan="1" rowspan="1">Proof of append-only property</td>
                  <td align="left" colspan="1" rowspan="1">IETF</td>
                  <td align="left" colspan="1" rowspan="1">RFC 9942, <xref target="sec-rfc9162-sha256-consistency-proof" format="default" sectionFormat="of" derivedContent="Section 5.3"/></td>
                </tr>
              </tbody>
            </table>
          </section>
        </section>
      </section>
    </section>
  </middle>
  <back>
    <displayreference target="I-D.ietf-cbor-edn-literals" to="CBOR-EDN"/>
    <references anchor="sec-combined-references" pn="section-9">
      <name slugifiedName="name-references">References</name>
      <references anchor="sec-normative-references" pn="section-9.1">
        <name slugifiedName="name-normative-references">Normative References</name>
        <reference anchor="IANA.cose_header-parameters" target="https://www.iana.org/assignments/cose" quoteTitle="true" derivedAnchor="IANA.cose_header-parameters">
          <front>
            <title>COSE Header Parameters</title>
            <author>
              <organization showOnFrontPage="true">IANA</organization>
            </author>
          </front>
        </reference>
        <reference anchor="RFC2119" target="https://www.rfc-editor.org/info/rfc2119" quoteTitle="true" derivedAnchor="RFC2119">
          <front>
            <title>Key words for use in RFCs to Indicate Requirement Levels</title>
            <author fullname="S. Bradner" initials="S." surname="Bradner"/>
            <date month="March" year="1997"/>
            <abstract>
              <t indent="0">In many standards track documents several words are used to signify the requirements in the specification. These words are often capitalized. This document defines these words as they should be interpreted in IETF documents. This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="2119"/>
          <seriesInfo name="DOI" value="10.17487/RFC2119"/>
        </reference>
        <reference anchor="RFC8174" target="https://www.rfc-editor.org/info/rfc8174" quoteTitle="true" derivedAnchor="RFC8174">
          <front>
            <title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
            <author fullname="B. Leiba" initials="B." surname="Leiba"/>
            <date month="May" year="2017"/>
            <abstract>
              <t indent="0">RFC 2119 specifies common key words that may be used in protocol specifications. This document aims to reduce the ambiguity by clarifying that only UPPERCASE usage of the key words have the defined special meanings.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="8174"/>
          <seriesInfo name="DOI" value="10.17487/RFC8174"/>
        </reference>
        <reference anchor="RFC8610" target="https://www.rfc-editor.org/info/rfc8610" quoteTitle="true" derivedAnchor="RFC8610">
          <front>
            <title>Concise Data Definition Language (CDDL): A Notational Convention to Express Concise Binary Object Representation (CBOR) and JSON Data Structures</title>
            <author fullname="H. Birkholz" initials="H." surname="Birkholz"/>
            <author fullname="C. Vigano" initials="C." surname="Vigano"/>
            <author fullname="C. Bormann" initials="C." surname="Bormann"/>
            <date month="June" year="2019"/>
            <abstract>
              <t indent="0">This document proposes a notational convention to express Concise Binary Object Representation (CBOR) data structures (RFC 7049). Its main goal is to provide an easy and unambiguous way to express structures for protocol messages and data formats that use CBOR or JSON.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8610"/>
          <seriesInfo name="DOI" value="10.17487/RFC8610"/>
        </reference>
        <reference anchor="RFC8949" target="https://www.rfc-editor.org/info/rfc8949" quoteTitle="true" derivedAnchor="RFC8949">
          <front>
            <title>Concise Binary Object Representation (CBOR)</title>
            <author fullname="C. Bormann" initials="C." surname="Bormann"/>
            <author fullname="P. Hoffman" initials="P." surname="Hoffman"/>
            <date month="December" year="2020"/>
            <abstract>
              <t indent="0">The Concise Binary Object Representation (CBOR) is a data format whose design goals include the possibility of extremely small code size, fairly small message size, and extensibility without the need for version negotiation. These design goals make it different from earlier binary serializations such as ASN.1 and MessagePack.</t>
              <t indent="0">This document obsoletes RFC 7049, providing editorial improvements, new details, and errata fixes while keeping full compatibility with the interchange format of RFC 7049. It does not create a new version of the format.</t>
            </abstract>
          </front>
          <seriesInfo name="STD" value="94"/>
          <seriesInfo name="RFC" value="8949"/>
          <seriesInfo name="DOI" value="10.17487/RFC8949"/>
        </reference>
        <reference anchor="RFC9053" target="https://www.rfc-editor.org/info/rfc9053" quoteTitle="true" derivedAnchor="RFC9053">
          <front>
            <title>CBOR Object Signing and Encryption (COSE): Initial Algorithms</title>
            <author fullname="J. Schaad" initials="J." surname="Schaad"/>
            <date month="August" year="2022"/>
            <abstract>
              <t indent="0">Concise Binary Object Representation (CBOR) is a data format designed for small code size and small message size. There is a need to be able to define basic security services for this data format. This document defines a set of algorithms that can be used with the CBOR Object Signing and Encryption (COSE) protocol (RFC 9052).</t>
              <t indent="0">This document, along with RFC 9052, obsoletes RFC 8152.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9053"/>
          <seriesInfo name="DOI" value="10.17487/RFC9053"/>
        </reference>
        <reference anchor="RFC9162" target="https://www.rfc-editor.org/info/rfc9162" quoteTitle="true" derivedAnchor="RFC9162">
          <front>
            <title>Certificate Transparency Version 2.0</title>
            <author fullname="B. Laurie" initials="B." surname="Laurie"/>
            <author fullname="E. Messeri" initials="E." surname="Messeri"/>
            <author fullname="R. Stradling" initials="R." surname="Stradling"/>
            <date month="December" year="2021"/>
            <abstract>
              <t indent="0">This document describes version 2.0 of the Certificate Transparency (CT) protocol for publicly logging the existence of Transport Layer Security (TLS) server certificates as they are issued or observed, in a manner that allows anyone to audit certification authority (CA) activity and notice the issuance of suspect certificates as well as to audit the certificate logs themselves. The intent is that eventually clients would refuse to honor certificates that do not appear in a log, effectively forcing CAs to add all issued certificates to the logs.</t>
              <t indent="0">This document obsoletes RFC 6962. It also specifies a new TLS extension that is used to send various CT log artifacts.</t>
              <t indent="0">Logs are network services that implement the protocol operations for submissions and queries that are defined in this document.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9162"/>
          <seriesInfo name="DOI" value="10.17487/RFC9162"/>
        </reference>
        <reference anchor="RFC9596" target="https://www.rfc-editor.org/info/rfc9596" quoteTitle="true" derivedAnchor="RFC9596">
          <front>
            <title>CBOR Object Signing and Encryption (COSE) "typ" (type) Header Parameter</title>
            <author fullname="M.B. Jones" initials="M.B." surname="Jones"/>
            <author fullname="O. Steele" initials="O." surname="Steele"/>
            <date month="June" year="2024"/>
            <abstract>
              <t indent="0">This specification adds the equivalent of the JSON Object Signing and Encryption (JOSE) "typ" (type) header parameter to CBOR Object Signing and Encryption (COSE). This enables the benefits of explicit typing (as defined in RFC 8725, "JSON Web Token Best Current Practices") to be brought to COSE objects. The syntax of the COSE type header parameter value is the same as the existing COSE content type header parameter.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9596"/>
          <seriesInfo name="DOI" value="10.17487/RFC9596"/>
        </reference>
        <reference anchor="RFC9597" target="https://www.rfc-editor.org/info/rfc9597" quoteTitle="true" derivedAnchor="RFC9597">
          <front>
            <title>CBOR Web Token (CWT) Claims in COSE Headers</title>
            <author fullname="T. Looker" initials="T." surname="Looker"/>
            <author fullname="M.B. Jones" initials="M.B." surname="Jones"/>
            <date month="June" year="2024"/>
            <abstract>
              <t indent="0">This document describes how to include CBOR Web Token (CWT) claims in the header parameters of any CBOR Object Signing and Encryption (COSE) structure. This functionality helps to facilitate applications that wish to make use of CWT claims in encrypted COSE structures and/or COSE structures featuring detached signatures, while having some of those claims be available before decryption and/or without inspecting the detached payload. Another use case is using CWT claims with payloads that are not CWT Claims Sets, including payloads that are not CBOR at all.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9597"/>
          <seriesInfo name="DOI" value="10.17487/RFC9597"/>
        </reference>
        <referencegroup anchor="STD96" target="https://www.rfc-editor.org/info/std96" derivedAnchor="STD96">
          <reference anchor="RFC9052" target="https://www.rfc-editor.org/info/rfc9052" quoteTitle="true">
            <front>
              <title>CBOR Object Signing and Encryption (COSE): Structures and Process</title>
              <author fullname="J. Schaad" initials="J." surname="Schaad"/>
              <date month="August" year="2022"/>
              <abstract>
                <t indent="0">Concise Binary Object Representation (CBOR) is a data format designed for small code size and small message size. There is a need to be able to define basic security services for this data format. This document defines the CBOR Object Signing and Encryption (COSE) protocol. This specification describes how to create and process signatures, message authentication codes, and encryption using CBOR for serialization. This specification additionally describes how to represent cryptographic keys using CBOR.</t>
                <t indent="0">This document, along with RFC 9053, obsoletes RFC 8152.</t>
              </abstract>
            </front>
            <seriesInfo name="STD" value="96"/>
            <seriesInfo name="RFC" value="9052"/>
            <seriesInfo name="DOI" value="10.17487/RFC9052"/>
          </reference>
          <reference anchor="RFC9338" target="https://www.rfc-editor.org/info/rfc9338" quoteTitle="true">
            <front>
              <title>CBOR Object Signing and Encryption (COSE): Countersignatures</title>
              <author fullname="J. Schaad" initials="J." surname="Schaad"/>
              <date month="December" year="2022"/>
              <abstract>
                <t indent="0">Concise Binary Object Representation (CBOR) is a data format designed for small code size and small message size. CBOR Object Signing and Encryption (COSE) defines a set of security services for CBOR. This document defines a countersignature algorithm along with the needed header parameters and CBOR tags for COSE. This document updates RFC 9052.</t>
              </abstract>
            </front>
            <seriesInfo name="STD" value="96"/>
            <seriesInfo name="RFC" value="9338"/>
            <seriesInfo name="DOI" value="10.17487/RFC9338"/>
          </reference>
        </referencegroup>
      </references>
      <references anchor="sec-informative-references" pn="section-9.2">
        <name slugifiedName="name-informative-references">Informative References</name>
        <reference anchor="I-D.ietf-cbor-edn-literals" target="https://datatracker.ietf.org/doc/html/draft-ietf-cbor-edn-literals-26" quoteTitle="true" derivedAnchor="CBOR-EDN">
          <front>
            <title>Concise Diagnostic Notation (CDN)</title>
            <author fullname="Carsten Bormann" initials="C." surname="Bormann">
              <organization showOnFrontPage="true">Universität Bremen TZI</organization>
            </author>
            <date day="15" month="June" year="2026"/>
            <abstract>
              <t indent="0">This document formalizes and consolidates the definition of the Concise Diagnostic Notation (CDN) of the Concise Binary Object Representation (CBOR), addressing implementer experience. Replacing CDN's previous informal descriptions, it updates RFC 8949, obsoleting its Section 8, and RFC 8610, obsoleting its Appendix G. It also specifies registry-based extension points and uses them to support text representations such as of epoch-based dates/times and of IP addresses and prefixes. // (This cref will be removed by the RFC editor:) -26 is intended to // address the May/June 2026 Working Group Last Call comments on -25 // and the ensuing WG discussions. Specifically, this update: • is // going further with the idea to entirely replace the non- backwards // compatible update considered for the RFC 8610/G.4 concatenation by // two new application extensions (temporarily named b1/t1), and to // add related application-oriented extensions that deprecate the // original streamstring syntax. • includes the float'' application- // extension so that the entire CBOR format can be covered. • now // uses rules closer to those of markdown for handling data // transparency in raw strings, simplifying their implementation. • // adds security considerations. • proactively reserves the // application-extension identifier "pragma" for potential future // standardization. • This update does not address certain comments // that propose some editorial restructuring requiring moving text // around; this is best done in a next revision after the technical // comments are addressed.</t>
            </abstract>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-ietf-cbor-edn-literals-26"/>
          <refcontent>Work in Progress</refcontent>
        </reference>
        <reference anchor="RFC7120" target="https://www.rfc-editor.org/info/rfc7120" quoteTitle="true" derivedAnchor="RFC7120">
          <front>
            <title>Early IANA Allocation of Standards Track Code Points</title>
            <author fullname="M. Cotton" initials="M." surname="Cotton"/>
            <date month="January" year="2014"/>
            <abstract>
              <t indent="0">This memo describes the process for early allocation of code points by IANA from registries for which "Specification Required", "RFC Required", "IETF Review", or "Standards Action" policies apply. This process can be used to alleviate the problem where code point allocation is needed to facilitate desired or required implementation and deployment experience prior to publication of an RFC, which would normally trigger code point allocation. The procedures in this document are intended to apply only to IETF Stream documents.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="100"/>
          <seriesInfo name="RFC" value="7120"/>
          <seriesInfo name="DOI" value="10.17487/RFC7120"/>
        </reference>
        <reference anchor="RFC8126" target="https://www.rfc-editor.org/info/rfc8126" quoteTitle="true" derivedAnchor="RFC8126">
          <front>
            <title>Guidelines for Writing an IANA Considerations Section in RFCs</title>
            <author fullname="M. Cotton" initials="M." surname="Cotton"/>
            <author fullname="B. Leiba" initials="B." surname="Leiba"/>
            <author fullname="T. Narten" initials="T." surname="Narten"/>
            <date month="June" year="2017"/>
            <abstract>
              <t indent="0">Many protocols make use of points of extensibility that use constants to identify various protocol parameters. To ensure that the values in these fields do not have conflicting uses and to promote interoperability, their allocations are often coordinated by a central record keeper. For IETF protocols, that role is filled by the Internet Assigned Numbers Authority (IANA).</t>
              <t indent="0">To make assignments in a given registry prudently, guidance describing the conditions under which new values should be assigned, as well as when and how modifications to existing values can be made, is needed. This document defines a framework for the documentation of these guidelines by specification authors, in order to assure that the provided guidance for the IANA Considerations is clear and addresses the various issues that are likely in the operation of a registry.</t>
              <t indent="0">This is the third edition of this document; it obsoletes RFC 5226.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="26"/>
          <seriesInfo name="RFC" value="8126"/>
          <seriesInfo name="DOI" value="10.17487/RFC8126"/>
        </reference>
        <reference anchor="RFC8392" target="https://www.rfc-editor.org/info/rfc8392" quoteTitle="true" derivedAnchor="RFC8392">
          <front>
            <title>CBOR Web Token (CWT)</title>
            <author fullname="M. Jones" initials="M." surname="Jones"/>
            <author fullname="E. Wahlstroem" initials="E." surname="Wahlstroem"/>
            <author fullname="S. Erdtman" initials="S." surname="Erdtman"/>
            <author fullname="H. Tschofenig" initials="H." surname="Tschofenig"/>
            <date month="May" year="2018"/>
            <abstract>
              <t indent="0">CBOR Web Token (CWT) is a compact means of representing claims to be transferred between two parties. The claims in a CWT are encoded in the Concise Binary Object Representation (CBOR), and CBOR Object Signing and Encryption (COSE) is used for added application-layer security protection. A claim is a piece of information asserted about a subject and is represented as a name/value pair consisting of a claim name and a claim value. CWT is derived from JSON Web Token (JWT) but uses CBOR rather than JSON.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8392"/>
          <seriesInfo name="DOI" value="10.17487/RFC8392"/>
        </reference>
      </references>
    </references>
    <section anchor="Acknowledgements" numbered="false" removeInRFC="false" toc="include" pn="section-appendix.a">
      <name slugifiedName="name-acknowledgements">Acknowledgements</name>
      <t indent="0" pn="section-appendix.a-1">We would like to thank <contact fullname="Maik Riechert"/>, <contact fullname="Jon Geater"/>, <contact fullname="Michael B. Jones"/>,
      <contact fullname="Mike Prorock"/>, <contact fullname="Ilari       Liusvaara"/>, and <contact fullname="Amaury Chamayou"/> for their
      contributions (some of which substantial) to this document and to the
      initial set of implementations.</t>
    </section>
    <section anchor="contributors" numbered="false" toc="include" removeInRFC="false" pn="section-appendix.b">
      <name slugifiedName="name-contributors">Contributors</name>
      <contact initials="A." surname="Chamayou" fullname="Amaury Chamayou">
        <organization showOnFrontPage="true">Microsoft</organization>
        <address>
          <postal>
            <country>United Kingdom</country>
          </postal>
          <email>amaury.chamayou@microsoft.com</email>
        </address>
      </contact>
      <contact initials="S." surname="Lasker" fullname="Steve Lasker">
        <organization showOnFrontPage="true"/>
        <address>
          <email>stevenlasker@hotmail.com</email>
        </address>
      </contact>
      <contact initials="R. A." surname="Martin" fullname="Robert Martin">
        <organization showOnFrontPage="true">MITRE Corporation</organization>
        <address>
          <postal>
            <country>United States of America</country>
          </postal>
          <email>ramartin@mitre.org</email>
        </address>
      </contact>
      <contact initials="M." surname="Wiseman" fullname="Monty Wiseman">
        <organization showOnFrontPage="true"/>
        <address>
          <postal>
            <country>United States of America</country>
          </postal>
          <email>mwiseman32@acm.org</email>
        </address>
      </contact>
      <contact initials="R." surname="Williams" fullname="Roy Williams">
        <organization showOnFrontPage="true"/>
        <address>
          <postal>
            <country>United States of America</country>
          </postal>
          <email>roywill@msn.com</email>
        </address>
      </contact>
    </section>
    <section anchor="authors-addresses" numbered="false" removeInRFC="false" toc="include" pn="section-appendix.c">
      <name slugifiedName="name-authors-addresses">Authors' Addresses</name>
      <author initials="O." surname="Steele" fullname="Orie Steele">
        <organization showOnFrontPage="true">Tradeverifyd</organization>
        <address>
          <postal>
            <country>United States of America</country>
          </postal>
          <email>orie@or13.io</email>
        </address>
      </author>
      <author initials="H." surname="Birkholz" fullname="Henk Birkholz">
        <organization abbrev="Fraunhofer SIT" showOnFrontPage="true">Fraunhofer SIT</organization>
        <address>
          <postal>
            <street>Rheinstrasse 75</street>
            <city>Darmstadt</city>
            <code>64295</code>
            <country>Germany</country>
          </postal>
          <email>henk.birkholz@ietf.contact</email>
        </address>
      </author>
      <author initials="A." surname="Delignat-Lavaud" fullname="Antoine Delignat-Lavaud">
        <organization showOnFrontPage="true">Microsoft</organization>
        <address>
          <postal>
            <country>United Kingdom</country>
          </postal>
          <email>antdl@microsoft.com</email>
        </address>
      </author>
      <author initials="C." surname="Fournet" fullname="Cédric Fournet">
        <organization showOnFrontPage="true">Microsoft</organization>
        <address>
          <postal>
            <country>United Kingdom</country>
          </postal>
          <email>fournet@microsoft.com</email>
        </address>
      </author>
    </section>
  </back>
</rfc>
