<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE rfc [
  <!ENTITY nbsp    "&#160;">
  <!ENTITY zwsp   "&#8203;">
  <!ENTITY nbhy   "&#8209;">
  <!ENTITY wj     "&#8288;">
]>
<?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" ipr="trust200902" docName="draft-gruszka-scitt-statement-identification-04" category="info" tocInclude="true" sortRefs="true" symRefs="true" version="3">
  <!-- xml2rfc v2v3 conversion 3.34.1 -->
  <front>
    <title abbrev="Identifying SCITT Signed Statements">Requirements and Test Cases for Identifying SCITT Signed Statements</title>
    <seriesInfo name="Internet-Draft" value="draft-gruszka-scitt-statement-identification-04"/>
    <author initials="K." surname="Gruszka" fullname="Konrad Gruszka">
      <organization>b7n0de</organization>
      <address>
        <postal>
          <country>Germany</country>
        </postal>
        <email>kontakt@b7n0de.com</email>
      </address>
    </author>
    <date year="2026" month="November" day="15"/>
    <area>Security</area>
    <keyword>SCITT</keyword>
    <keyword>COSE</keyword>
    <keyword>statement identification</keyword>
    <keyword>reference</keyword>
    <keyword>transparency</keyword>
    <abstract>

<t>This document describes proposed requirements and test cases for identifying
SCITT Signed Statements. It distinguishes reference matching from statement
retrieval, signature verification, issuer authorization, and evidence of
registration. It examines how alternative identification schemes treat changes
to statement encodings and registration context. The requirements are input to
technical discussion and do not represent working group consensus. This document
does not define a common reference format, allocate a COSE header parameter, or
establish a relationship vocabulary. Its examples illustrate selected properties
rather than demonstrate interoperability between deployed transparency services.</t>
    </abstract>
  </front>
  <middle>

<section anchor="introduction">
      <name>Introduction</name>
      <t>A Transparency Service in the Supply Chain Integrity, Transparency, and Trust
(SCITT) architecture <xref target="RFC9943"/> registers Signed Statements and returns
Receipts. Applications increasingly need to refer to a specific Signed Statement:
an audit statement that refers to the statement it audited, a correction that
refers to the statement it corrects, an evidence bundle that lists the statements
it was built from. For such a reference to be usable, two implementations given
the reference and a candidate statement must reach the same conclusion about
whether they match.</t>
      <t>This is harder than hashing some bytes. The same logical Signed Statement can be
re-encoded, can gain or lose an unprotected header, and can be registered in more
than one Transparency Service, each producing its own entry handle and Receipt. A
reference that is meant to survive those changes must say exactly which
differences preserve identity and which do not, and must be interpretable without
first understanding the application payload of the statement that carries it.</t>
      <t>The need is not specific to any one product. On 22 September 2026 one of the SCITT
working group chairs asked on the scitt@ietf.org list, "On statement IDs please
bring all requirements you may have for statement identification", and raised as
an open question "whether or not the statement ID should be cryptographically
derived from its log insertion or not" <xref target="SCITT-CHAIRS-20260922"/>. The chair added that it has "pros and cons" and "will need real engagement to get right". This document is input to that discussion.</t>
      <t>This document states proposed requirements (Section 4), compares candidate
identification objects (Section 5), and works through a small set of fully
explained test cases (Section 6). It takes a position, independence of the
reference-matching result from any particular registration, and argues it with
use and trade-offs rather than asserting it as settled. It does not propose a
wire format, a COSE header parameter, or a relationship vocabulary for
standardization.</t>
    </section>
    <section anchor="conventions-terminology-and-scope">
      <name>Conventions, Terminology and Scope</name>
      <t>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"/> <xref target="RFC8174"/>
when, and only when, they appear in all capitals, as shown here.</t>
      <t>This document uses the SCITT terms Signed Statement, Transparency Service and
Receipt as defined in <xref target="RFC9943"/>. It adds the following working terms and keeps
them apart deliberately:</t>
      <dl>
        <dt>Statement reference:</dt>
        <dd>
          <t>Data that designates a target Signed Statement together with the rule by which a
candidate is judged to be that target.</t>
        </dd>
        <dt>Identification scheme:</dt>
        <dd>
          <t>The rule a reference is read under: which bytes are covered, which differences
preserve identity, and, for a digest-based scheme, the hash algorithm and the
exact input bytes.</t>
        </dd>
        <dt>Reference matching:</dt>
        <dd>
          <t>The operation of deciding, given a reference and a candidate statement, whether
the candidate is the reference's target under the named scheme.</t>
        </dd>
        <dt>Entry handle (Locator):</dt>
        <dd>
          <t>A Transparency-Service-local identifier of a registration, such as an entry
identifier returned by an API <xref target="I-D.ietf-scitt-scrapi"/>. It locates an entry in
one service; it is not a portable statement identity.</t>
        </dd>
        <dt>Registration evidence:</dt>
        <dd>
          <t>A Receipt <xref target="RFC9942"/> that a statement was registered. It is distinct from a
reference match.</t>
        </dd>
      </dl>
      <t>Matching a reference is not the same as retrieving a statement, verifying its
signature, authorizing its Issuer, or proving it was registered. Keeping these
apart is the central discipline of this document.</t>
      <section anchor="relationship-to-existing-scitt-work">
        <name>Relationship to existing SCITT work</name>
        <t>This document is a requirements and test-case text, not a new mechanism. The
following work is adjacent; the References identify the revisions used.</t>
        <t>The architecture <xref target="RFC9943"/> defines the Signed Statement envelope: Section 6.1
requires CBOR tag 18, and Section 6.3 requires the unprotected header to be an
empty map before a statement is included in a Statement Sequence. It defines the
statement, not a portable identifier for one statement or the bytes a statement
digest covers.</t>
        <t>The Receipts document <xref target="RFC9942"/> defines Verifiable Data Structures and their
proofs; its Section 4.4.1 gives the registration requirements for a VDS, and its
Section 5.2.1 is the RFC9162_SHA256 Receipt of Inclusion. Identity through a
Receipt is scoped to a log and a VDS construction, and Section 4.4.1 leaves each
VDS to define its own encoding and proofs.</t>
        <t>The payload-binding draft <xref target="I-D.mih-sokolov-scitt-payload-binding"/> gives, in its Section 9, a general typed-digest-reference information model (type, purpose,
digest_alg, digest) in which a carried digest and a recomputed digest are
comparable only under one established referenced-artifact digest context, and in Sections 6 and 8 a derived identifier and a statement-to-Receipt binding. This
document asks the narrower question of the concrete context a SCITT Signed
Statement reference needs.</t>
        <t>The framing-space measurement <xref target="I-D.templeman-scitt-framing-space"/> re-emits one
COSE_Sign1 object under six CBOR encoding freedoms: with or without tag 18,
definite or indefinite length for the outer array and for the unprotected
header map, and whole or chunked byte strings for the protected header, the
payload and the signature. It reports 64 distinct octet sequences, 64 distinct
digests over the transmitted octets and one Sig_structure for all of them; a
stock decoder rejected none of them, and decoding and re-encoding changed 62 of
them. Its Section 5 regards a digest over the transmitted octets as the
appropriate choice and notes that a service can reproduce such a digest only if
it keeps the octets it received rather than a re-serialization of them. The
ToBeSigned rule of Section 5.1 gives one value for all 64 encodings, because they
share one Sig_structure. The two rules identify different objects: a digest over
the transmitted octets names one serialization, and SHA-256 over ToBeSigned
names the signing input that the serializations share. This document selects
neither (Section 10).</t>
        <t>The protected-object-binding draft <xref target="I-D.nobuo-scitt-protected-object-binding"/>
defines Statement References, Receipt References and Relationship Edges with an
initial relationship vocabulary (for example describes, measures, authorizes,
supersedes and revokes); it couples identification with that vocabulary,
whereas this document keeps matching separate from the relationship it carries.</t>
        <t>In SCRAPI <xref target="I-D.ietf-scitt-scrapi"/> Section 2.4, a GET on /entries/ followed by an
EntryID answers with the Receipt (200), with 204 while registration is still
running, or with 404; that EntryID is an API locator for one service, not a
portable, registration-independent statement identity.</t>
        <t>The SCITT charter (charter-ietf-scitt-01, last updated 2026-03-18, retrieved 2026-10-10) lists among its non-goals to "define data formats for payload
content" and asks the group to "reuse existing work from IETF WGs such as COSE
and RATS, as appropriate". Where a statement-identification requirement or a
small profile belongs is itself an open question (Section 10).</t>
      </section>
    </section>
    <section anchor="use-cases">
      <name>Use Cases</name>
      <t>The following cases need different identification properties; they motivate the
requirements without selecting a scheme.</t>
      <ol spacing="normal" type="1"><li>
          <t>Audit reference. An auditor registers a statement that refers to the statement
it audited. A reader must match the reference to the audited statement even if
the audited statement has since been re-registered elsewhere.</t>
        </li>
        <li>
          <t>Correction reference. An Issuer registers a later statement that corrects an
earlier one, keeping the same subject. The subject groups the two; the
reference must still select the specific earlier statement, not merely the
subject.</t>
        </li>
        <li>
          <t>Offline evidence bundle. A bundle lists the statements it was built from and is
checked by a relying party that holds the bytes but queries no service. Matching
must not require a service round-trip.</t>
        </li>
        <li>
          <t>Cross-service presence. The same statement is registered in two Transparency
Services. A reference that is meant to be portable must designate the same
statement across both, distinguishing identity-bearing changes from encoding
changes the scheme excludes.</t>
        </li>
      </ol>
    </section>
    <section anchor="proposed-requirements">
      <name>Proposed Requirements</name>
      <t>These requirements are proposed input, not working group consensus. They are
taken from an existing requirements note (see Section 11) and are stated here with
their differing roles made explicit: A1 and A2 are properties of a reference, A3
is a design position, A4 is its acceptance test, and A5 is a conditional
dependency of schemes that rely on a Receipt, not a fifth independent rule on
every reference.</t>
      <t>The BCP 14 keywords in A1 to A5 address a future identification scheme or
profile; they are not obligations this document places on an existing protocol.
Where a requirement restates an existing obligation it says so and cites it: the
CBOR tag 18 of <xref target="RFC9943"/> Section 6.1, the empty unprotected header of
<xref target="RFC9943"/> Section 6.3, and the VDS registration requirements of <xref target="RFC9942"/>
Section 4.4.1 are existing obligations this document relies on, not new ones.</t>
      <section anchor="a1-a-reference-has-an-unambiguous-target-and-matching-rule">
        <name>A1. A reference has an unambiguous target and matching rule</name>
        <t>Given a reference and a candidate Signed Statement, a verifier can decide whether
they match under a named identification scheme. The scheme states which
differences preserve identity, including differences in signatures, headers and
encodings. For a digest-based scheme it also defines the hash algorithm, the input
bytes, and their encoding. These definitions <bcp14>MAY</bcp14> be supplied by a profile rather
than repeated in each reference.</t>
        <t>The Issuer and Subject pair groups related statements but does not select an
individual statement from that group (<xref target="RFC9943"/> Section 6 uses <tt>iss</tt> and <tt>sub</tt>
to identify the Artifact; the architecture defines no statement identifier). Acceptance: two implementations
using the same scheme agree on matching and non-matching candidate vectors;
missing inputs or unsupported rules cannot produce a successful match; a
ToBeSigned scheme must specify <tt>external_aad</tt> and the source of any detached
payload.</t>
      </section>
      <section anchor="a2-a-reference-can-be-read-without-interpreting-the-carriers-payload">
        <name>A2. A reference can be read without interpreting the carrier's payload</name>
        <t>A verifier can locate and interpret a reference without interpreting the
application payload of the Signed Statement that carries it. Recomputing a target
digest may still require the target's payload bytes; that is a property of the
target, not of reading the reference from the carrier. This is a proposed scope
choice: without it, extracting a reference could require payload-specific parsing
or decryption of the carrier.</t>
      </section>
      <section anchor="a3-matching-a-statement-reference-is-independent-of-registration">
        <name>A3. Matching a statement reference is independent of registration</name>
        <t>Proposed requirement: matching a reference to a candidate does not depend on
registration with a particular Transparency Service or on a particular insertion
event. Service-local entry handles and Receipts may coexist with the reference and
may differ.</t>
        <t>This is one proposed answer to that open question. It is a design position,
argued from the offline-bundle and cross-service use cases, not a claim that a
log-derived identifier cannot work. A log-dependent identifier does not by itself
prevent offline verification when the needed bytes, keys and trust anchors are
already held; the property asked for here is independence from the registration
context, not offline capability in general (Section 5.2).</t>
      </section>
      <section anchor="a4-acceptance-test-for-a3">
        <name>A4. Acceptance test for A3</name>
        <t>Under the same identification scheme, registration in either of two Transparency
Services preserves the identity A1 defines. The test must distinguish
identity-bearing changes from changes the scheme explicitly excludes. Section 11
reports one local measurement with two implementations; one of them is an
archived emulator whose receipts are not COSE Receipts, so it is not a test of two
Transparency Services in the sense of A4. The illustrative cases of Section 6
apply local transformations that a registration may
cause (an added unprotected parameter, C5; a changed outer encoding, C12) and show which
leave the chosen identity unchanged. The tag-removal case (C9) is a negative format
control, not evidence of successful registration in two services.</t>
      </section>
      <section anchor="a5-receipt-verification-dependency">
        <name>A5. Receipt-verification dependency</name>
        <t>Where identification depends on a leaf hash or a Receipt, the selected Verifiable
Data Structure specification <bcp14>MUST</bcp14> define the entry-to-leaf transformation,
serialization and tree hashing sufficiently for independent implementations to
reproduce the result. This is a dependency of such schemes and of interoperable
Receipt verification, not a fifth independent requirement on every reference.
<xref target="RFC9942"/> Section 4.4.1 states that "Each VDS specification applying for
inclusion in this registry MUST define how to encode the VDS identifier and its
Proof Types in CBOR" and that "Each specification MUST define how to produce and
consume the supported Proof Types"; its Section 5.2.1 is the Receipt of Inclusion
of the specific RFC9162_SHA256 construction, which begins "In a signed proof, the
payload is the Merkle Tree root that corresponds to the log at size tree-size".
Different VDS constructions differ in their leaf and node hashing (for example the 0x00/0x01 prefixes of <xref target="RFC9162"/> Section 2.1.1); that difference does not make either
construction ambiguous. The illustrative cases in Section 6 do not test leaf hashing or
Receipts.</t>
      </section>
    </section>
    <section anchor="design-alternatives-and-trade-offs">
      <name>Design Alternatives and Trade-offs</name>
      <t>The central design decision is not the hash algorithm but the identification
object: which differences count as identity-changing. The following is the
authors' analysis of candidate objects; it is not a selection.</t>
      <table>
        <thead>
          <tr>
            <th align="left">Identification object</th>
            <th align="left">Possible benefit</th>
            <th align="left">Price to be settled</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td align="left">Whole transmitted object bytes</td>
            <td align="left">Simple exact byte identity</td>
            <td align="left">Transport or envelope changes produce different values even when other checks still pass</td>
          </tr>
          <tr>
            <td align="left">An explicitly defined canonical object encoding</td>
            <td align="left">Equal treatment of selected encoding variants</td>
            <td align="left">Extra rules, cost, and the risk of diverging normalization</td>
          </tr>
          <tr>
            <td align="left">The COSE signing input ToBeSigned</td>
            <td align="left">Binds to the actually signed content and its signature context</td>
            <td align="left">Does not itself identify the signature value or the unprotected envelope; external inputs must be available and fixed</td>
          </tr>
          <tr>
            <td align="left">The payload only</td>
            <td align="left">Fits when the content, not the signed assertion, is meant</td>
            <td align="left">Issuer, header and signature differences are not necessarily distinguished</td>
          </tr>
          <tr>
            <td align="left">A VDS leaf or service entry</td>
            <td align="left">Close tie to a concrete registration</td>
            <td align="left">Depends on the VDS construction or the service context</td>
          </tr>
        </tbody>
      </table>
      <t>For COSE, <xref target="RFC9052"/> Section 4.3 (externally supplied data) and Section 4.4 (the
Sig_structure) are the relevant definitions, and Section 9 constrains the CBOR
encoding. A successful signature verification does not by itself fix which
universal statement identity an application should use.</t>
      <section anchor="the-tobesigned-object-as-used-in-the-examples">
        <name>The ToBeSigned object, as used in the examples</name>
        <t>The examples in Section 6 use SHA-256 over ToBeSigned, SHA-512 in C50, the Sig_structure
<tt>["Signature1", body_protected, external_aad, payload]</tt> of <xref target="RFC9052"/> Sections 4.4 and 9, with the payload embedded. As Section 9 of <xref target="RFC9052"/> requires, the Sig_structure is encoded with definite lengths and with each argument in its shortest form, whatever the encoding of the candidate. When the payload field of a candidate is nil, the detached payload supplied with the case takes its place, an empty one included, as for detached content in <xref target="RFC9052"/> Sections 4.1 and 4.2; a detached payload supplied for a candidate that carries a payload is not used (C1). The scheme names <tt>external_aad</tt> as an
explicit input: it is the empty byte string unless a specific case states
otherwise, and a case that signs over a non-empty <tt>external_aad</tt> lists those
exact bytes (Appendix A) and applies them to both matching and signature
verification. The <tt>body_protected</tt> value is the original protected-header byte
string, not a decoded and re-encoded map. This object names a class of signed inputs: it excludes the
signature value, the unprotected header and the outer wrapper, so changes confined
to those parts preserve it, and it does not normalize the bytes inside the
protected header or payload. It is used here as one illustrative rule. This
document does not propose it as the statement identity defined by the architecture;
<xref target="RFC9943"/> defines no such identity, and a later profile is free to choose a
different object.</t>
      </section>
      <section anchor="offline-is-not-the-same-as-registration-independent-a3">
        <name>Offline is not the same as registration-independent (A3)</name>
        <t>A scheme can be checked offline when the needed bytes, keys and trust assumptions
are already held; a service-dependent identifier is not online merely because it
is service-dependent. A3 therefore argues for independence from the registration
context, not for a blanket impossibility of offline checking of other models.</t>
      </section>
      <section anchor="four-identities">
        <name>Four identities</name>
        <t>Four identities are kept apart in this document.</t>
        <ol spacing="normal" type="1"><li>
            <t>The signing input, the ToBeSigned object of Section 5.1. The ToBeSigned scheme binds the protected
header, the <tt>external_aad</tt> and the payload, embedded or supplied as a detached payload. Each enters ToBeSigned
as a byte string with its length in the head of its encoding, so two different combinations of these inputs do not
give the same ToBeSigned. It does not identify the signature value or the unprotected header.</t>
          </li>
          <li>
            <t>A particular signature instance, the signing input together with one signature value. No scheme of
this document identifies it.</t>
          </li>
          <li>
            <t>The complete serialized COSE object, the exact octets of one COSE_Sign1. A digest over them identifies
those octets only. It does not cover a detached payload or an <tt>external_aad</tt> supplied outside them, and it is
not to be presented as identifying them.</t>
          </li>
          <li>
            <t>The signed statement together with the external content and context that a reference is meant to
identify. This document defines no record that binds the whole object to its external inputs and leaves such a
record out of scope. A separate document is planned to define such a record, with cases of its own. A
scheme that defines one states which inputs it includes and which it excludes, and gives an
encoding whose field boundaries keep different combinations of inputs from giving the same record.</t>
          </li>
        </ol>
      </section>
      <section anchor="two-digests-over-two-named-objects">
        <name>Two digests over two named objects</name>
        <t>The ledger measurement of Section 11 involves three objects of the same statement: the signing input of
Section 5.1, the submitted bytes, and the representation included in the Statement Sequence. There the included
representation had the unprotected header emptied, as <xref target="RFC9943"/> Section 6.3 requires, and the outer
encoding rewritten, and its data-hash differed from SHA-256 over the submitted bytes in 39 of 62 rows. Two different
digests over two named objects of the same statement describe a relation between those objects and are not by
themselves an error. A scheme can state its identity-preserving differences as named transformations, such as a
changed unprotected header or a rewritten outer encoding, as cases C5 and C12 show for the ToBeSigned rule. A
difference that no named transformation explains is not read as a match. Whether and where a party that changes the
representation, in particular a Transparency Service before inclusion, records what it changed and why is an open
question (Section 10). This subsection adds no requirement.</t>
      </section>
    </section>
    <section anchor="conformance-and-illustrative-test-cases">
      <name>Conformance and Illustrative Test Cases</name>
      <t>Each check is reported on separate axes: <tt>ref_usable</tt> indicates whether the reference is well-formed and
compatible with the named scheme; <tt>match</tt> is MATCH or NO_MATCH when the comparison can be completed, and
INDETERMINATE when the reference is unusable or a required input is absent; <tt>sig_valid</tt> indicates whether
the candidate's signature verifies under the stated key; and <tt>is_scitt</tt> indicates whether the candidate is
a tagged COSE_Sign1 (<xref target="RFC9943"/> Section 6.1 requires CBOR tag 18). A match establishes
none of signature validity, issuer trust, payload truth, or registration.</t>
      <t>Three kinds of result are kept apart. A named scheme that a verifier does not implement is UNSUPPORTED, whatever the reference and the
candidate: the
verifier reports that and gives no axes, and it reports neither NO_MATCH nor an invalid signature for it; Table 2 and Appendix A.3 write UNSUPPORTED in place of the four axes (C15). A result is
negative, NO_MATCH or <tt>sig_valid</tt> False, only where the check was performed and failed. A check that cannot be
performed is not negative. The read check of the candidate is a check that is performed: a candidate that fails it
is not the designated statement, so its <tt>match</tt> is NO_MATCH under a usable reference. An unusable reference prevents only the comparison: <tt>match</tt> is INDETERMINATE and
<tt>sig_valid</tt> is still computed, as in C10, C13, C14 and C16. A missing input gives INDETERMINATE or None on the axes
that need it, as stated below. The four axes stay separate in processing and in reporting: NO_MATCH says nothing about the signature, and MATCH says nothing
about the signature or the Issuer.</t>
      <t>For the cases of this document, a reference is the array <tt>[alg, scheme, digest]</tt> of Appendix A, with exactly these three elements. It is well-formed when alg is an integer (CBOR major type 0 or 1) that names a hash function in the COSE Algorithms registry, scheme is a text string, and digest is a byte string of that hash function's output length. For the cases of this document the hash functions are the eight with a fixed output length that <xref target="RFC9054"/> registers: -14 (SHA-1, 20 bytes), -15 (SHA-256/64, 8 bytes), -16 (SHA-256, 32 bytes), -17 (SHA-512/256, 32 bytes), -18 (SHAKE128, 32 bytes), -43 (SHA-384, 48 bytes), -44 (SHA-512, 64 bytes) and -45 (SHAKE256, 64 bytes). A reference whose alg names any other hash function is not well-formed for
these cases. In this document SHA-256/64 is the first 8 bytes of the SHA-256 output, which
<xref target="RFC9054"/> Section 3.2 calls a simple truncation, and SHA-512/256 is the function that Section 3.2
takes from FIPS 180-4, not a truncation of the SHA-512 output. A verifier of these cases implements the ToBeSigned
scheme with alg -16 and with alg -44; of the other six hash functions the cases use only the output length, to decide
whether a reference is well-formed. It is compatible with the named scheme when its alg and scheme equal those of the scheme. Any other reference has <tt>ref_usable</tt> False. In these cases the named scheme is the ToBeSigned scheme of Section 5.1, with alg -16 (SHA-256) and scheme <tt>"ToBeSigned"</tt>, except in C10 and C50, where its alg is -44 (SHA-512), and in C15, where it is the scheme <tt>"WholeBytes"</tt> with alg -16, which this document does not define. The references of C10, C13 and C14 are therefore not usable. A reference is read as one CBOR data item with nothing after it (C16). It has to be well-formed and valid under <xref target="RFC8949"/> Section 5.3.1 by the same rules as the candidate below; a reference that is not has <tt>ref_usable</tt> False. Its deterministic encoding is not required.</t>
      <t>A candidate is read as a COSE_Sign1 (<xref target="RFC9052"/> Section 4.2), bare or with tag
18: an array of exactly four elements: the protected header, a byte string that
is empty or encodes one map; the unprotected header, a map; the payload, a byte string or nil; and the
signature, a byte string. For these illustrative axes, this read check covers
only the outer tag, the array shape, the stated element types and the basic CBOR
validity rules below. It does not validate header labels or header parameter
semantics. The <tt>is_scitt</tt> axis reports this structural check with tag 18, not
complete conformance to the SCITT envelope profile. A bare COSE_Sign1 passes the read check, so its
<tt>match</tt> is computed although it is not a SCITT Signed Statement (C9). The candidate and, when it is not empty, its
protected header are each one
CBOR data item that is well-formed and valid under <xref target="RFC8949"/> Section 5.3.1:
every text string is valid UTF-8, and no map holds two keys that are
equal under the key equivalence of <xref target="RFC8949"/> Section 5.6.1. Under it the
integer 1 and true are two keys, the integer 1 and the floating-point value 1.0 are two keys, and 0.0 and -0.0 are
one; two NaN values are one key if their significands are equal after both are zero-extended at the right to 64
bits; and arrays, maps and tagged values used as keys are equal if their elements, their pairs regardless of order,
or their tag numbers and contents are equal. Whether the content
of a tag inside the COSE_Sign1 is valid for that tag (<xref target="RFC8949"/> Section 5.3.2)
is not checked; the
data items inside a tag are checked like any other data item. The deterministic
encoding is not required. CBOR::Core <xref target="I-D.rundgren-cbor-core"/> Section 2.2 decides both points the
other way: it requires the deterministic encoding, rejects duplicate map keys, and compares keys by their
deterministic encoding, so that 0.0 and -0.0 are two keys there. The cases of this document keep the key equivalence
of <xref target="RFC8949"/> Section 5.6.1 and accept any encoding that is well-formed and valid. The CBOR
working group's Common Deterministic Encoding <xref target="I-D.ietf-cbor-cde"/> also defines a deterministic encoding.
Both documents are cited for information; the cases of this document depend on neither. A candidate
that breaks any of this, for example with a text string that is not valid UTF-8
in either header, is not a statement: its <tt>is_scitt</tt> is False and its
<tt>sig_valid</tt> is None, not evaluated; its <tt>match</tt> is NO_MATCH under a usable
reference and INDETERMINATE under an unusable one (C17).</t>
      <t>The <tt>sig_valid</tt> axis is computed with one rule for every case. <tt>n*P</tt> is the
point P multiplied by the integer n. A is the 32-byte public key of the stated
key, derived from its seed in Appendix A.2 as in <xref target="RFC8032"/> Section 5.1.5; R is
the first and S the second 32 bytes of the 64-byte signature, S read as a
little-endian integer; <tt>B'</tt> is the base point and L the order of <tt>B'</tt>
(<xref target="RFC8032"/> Section 5.1); and ToBeSigned is the object of Section 5.1 of this document with
the case's <tt>external_aad</tt> and payload. <tt>sig_valid</tt> is True if and only if all
four rules hold:</t>
      <ol spacing="normal" type="1"><li>
          <t>A and R are canonical encodings: decoding each as in <xref target="RFC8032"/> Section 5.1.3
succeeds.</t>
        </li>
        <li>
          <t>A and R have order L: <tt>L*A</tt> and <tt>L*R</tt> are the neutral element, and A and R
are not the neutral element.</t>
        </li>
        <li>
          <t>S is below L.</t>
        </li>
        <li>
          <t>With k = SHA-512(R || A || ToBeSigned) read as a little-endian integer and
reduced modulo L, the cofactorless equation <tt>S*B' = R + k*A</tt> holds. R enters
the hash exactly as received, A as its 32-byte encoding.</t>
        </li>
      </ol>
      <t>After the candidate passes the read checks above, a signature that is not 64
bytes gives <tt>sig_valid</tt> False (C21). Otherwise, if the payload is absent and not
supplied, or a case names an <tt>external_aad</tt> that is not supplied, there is no ToBeSigned and
<tt>sig_valid</tt> is None, not evaluated (C8, C22).
Otherwise, evaluate the four rules above.</t>
      <t>The same missing input decides the <tt>match</tt> axis for a candidate that passes the read checks above. Under
a usable reference, a detached payload that is
not supplied for a candidate whose payload is nil, or an <tt>external_aad</tt> that a case names and that is not
supplied, gives <tt>match</tt> INDETERMINATE (C8, C22). Neither is replaced by an empty byte string, and neither absence is
reported as NO_MATCH.</t>
      <t>Because A and R have order L, the cofactorless equation of rule 4 and the
cofactored equation <tt>8*S*B' = 8*R + 8*k*A</tt> of <xref target="RFC8032"/> Section 5.1.7 accept
exactly the same signatures. This document defines individual verification
only. A randomized batch result <bcp14>MUST NOT</bcp14> substitute for checking all four rules
for each signature. Case C11 has an R
of mixed order, for which the two equations differ; rule 2 refuses it before
either is checked. The rule fixes the <tt>sig_valid</tt> axis of these cases only; the
<tt>match</tt> axis does not depend on it.</t>
      <t>Cases C18, C19 and C20 each have a signature that one of rules 1, 2 and 3 refuses. In C19 and C20 the equation of rule 4 holds, so a verifier that leaves out rule 2 or rule 3 gives <tt>sig_valid</tt> True where the profile gives False. In C18 the equation holds when R is read with y reduced modulo p; R is then the neutral element, which rule 2 refuses, so only a verifier that leaves out both rules 1 and 2 gives True. Appendix A.3 gives the measured results.</t>
      <t>In every case A is the issuer key of Appendix A.2, derived from its seed; it is a canonical encoding of a point of order L, so no case exercises rules 1 and 2 for A. No case exercises a batch verification either; each case checks one signature.</t>
      <t>The four rules are a verification profile of this document, named <tt>sid-ed25519-strict</tt>; a result
states the profile under which its <tt>sig_valid</tt> was computed. Rules 1 and 3 follow the decoding of
<xref target="RFC8032"/> Sections 5.1.3 and 5.1.7, and rule 4 uses the cofactorless equation that Section 5.1.7
allows in place of the cofactored one. Rule 2 is a restriction that <xref target="RFC8032"/> does not make. For C11 a
verifier that follows Section 5.1.7 with the cofactored equation and without rule 2 gives <tt>sig_valid</tt> True, one
that uses the cofactorless equation without rule 2 gives False, and the profile gives False because rule 2 refuses R
before either equation is evaluated. The profile is a choice for these cases, so that every verifier that claims it
gives one result; it does not bind an Ed25519 verifier that does not claim it. The <tt>match</tt> axis of C11 is
MATCH in all three. The results that Appendix A.3 gives with a rule left out, for C11, C18, C19 and C20, describe
verifiers that do not claim the profile; they are not results under it.</t>
      <t>The cases use three synthetic signed statements about one subject and the
reference between them, under the ToBeSigned scheme of Section 5.1. Each case is checked against the reference given in Appendix A.1, except C13, C14, C16, C24 to C29 and C49 to C51, which change the reference as Appendix A.3 states. The <tt>external_aad</tt> is the empty byte string in every case except C7, which states its bytes, and C22, which names the <tt>external_aad</tt> of C7 and does not supply it. A detached payload is supplied in C23 and in the variants of C1, C8 and C23 only. The bytes, or the changes that give them, the keys and the per-case results are in Appendix A; the keys are pure test keys. The
fixtures use the fully specified Ed25519 algorithm (COSE algorithm -19); the source
package uses EdDSA (-8). The identification rule is the same whatever the signature algorithm, but the alg
of the protected header is part of ToBeSigned: the same statement signed again under -8 has another ToBeSigned and
does not match a reference to its form under -19.</t>
      <table>
        <thead>
          <tr>
            <th align="left">ID</th>
            <th align="left">Req</th>
            <th align="left">ref_usable</th>
            <th align="left">match</th>
            <th align="left">is_scitt</th>
            <th align="left">sig_valid</th>
            <th align="left">What it shows</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td align="left">C1</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">MATCH</td>
            <td align="left">True</td>
            <td align="left">True</td>
            <td align="left">positive control</td>
          </tr>
          <tr>
            <td align="left">C2</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">NO_MATCH</td>
            <td align="left">True</td>
            <td align="left">True</td>
            <td align="left">subject grouping is not single identity</td>
          </tr>
          <tr>
            <td align="left">C3</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">NO_MATCH</td>
            <td align="left">True</td>
            <td align="left">True</td>
            <td align="left">changed target payload</td>
          </tr>
          <tr>
            <td align="left">C4</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">NO_MATCH</td>
            <td align="left">True</td>
            <td align="left">True</td>
            <td align="left">changed protected header</td>
          </tr>
          <tr>
            <td align="left">C5</td>
            <td align="left">A4</td>
            <td align="left">True</td>
            <td align="left">MATCH</td>
            <td align="left">True</td>
            <td align="left">True</td>
            <td align="left">added unprotected parameter (envelope)</td>
          </tr>
          <tr>
            <td align="left">C6</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">MATCH</td>
            <td align="left">True</td>
            <td align="left">False</td>
            <td align="left">signature replaced, same signed input</td>
          </tr>
          <tr>
            <td align="left">C7</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">NO_MATCH</td>
            <td align="left">True</td>
            <td align="left">True</td>
            <td align="left">non-empty external_aad</td>
          </tr>
          <tr>
            <td align="left">C8</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">INDETERMINATE</td>
            <td align="left">True</td>
            <td align="left">None</td>
            <td align="left">detached payload not supplied</td>
          </tr>
          <tr>
            <td align="left">C9</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">MATCH</td>
            <td align="left">False</td>
            <td align="left">True</td>
            <td align="left">tag 18 removed</td>
          </tr>
          <tr>
            <td align="left">C10</td>
            <td align="left">A1</td>
            <td align="left">False</td>
            <td align="left">INDETERMINATE</td>
            <td align="left">True</td>
            <td align="left">True</td>
            <td align="left">scheme/algorithm mismatch</td>
          </tr>
          <tr>
            <td align="left">C11</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">MATCH</td>
            <td align="left">True</td>
            <td align="left">False</td>
            <td align="left">R of mixed order</td>
          </tr>
          <tr>
            <td align="left">C12</td>
            <td align="left">A4</td>
            <td align="left">True</td>
            <td align="left">MATCH</td>
            <td align="left">True</td>
            <td align="left">True</td>
            <td align="left">outer encoding changed, tag 18 kept</td>
          </tr>
          <tr>
            <td align="left">C13</td>
            <td align="left">A1</td>
            <td align="left">False</td>
            <td align="left">INDETERMINATE</td>
            <td align="left">True</td>
            <td align="left">True</td>
            <td align="left">31-byte digest: not well-formed</td>
          </tr>
          <tr>
            <td align="left">C14</td>
            <td align="left">A1</td>
            <td align="left">False</td>
            <td align="left">INDETERMINATE</td>
            <td align="left">True</td>
            <td align="left">True</td>
            <td align="left">other scheme name: not compatible</td>
          </tr>
          <tr>
            <td align="left">C15</td>
            <td align="left">A1</td>
            <td align="left" colspan="4">UNSUPPORTED, no axes</td>
            <td align="left">scheme not implemented</td>
          </tr>
          <tr>
            <td align="left">C16</td>
            <td align="left">A1</td>
            <td align="left">False</td>
            <td align="left">INDETERMINATE</td>
            <td align="left">True</td>
            <td align="left">True</td>
            <td align="left">byte after the reference</td>
          </tr>
          <tr>
            <td align="left">C17</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">NO_MATCH</td>
            <td align="left">False</td>
            <td align="left">None</td>
            <td align="left">not a COSE_Sign1</td>
          </tr>
          <tr>
            <td align="left">C18</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">MATCH</td>
            <td align="left">True</td>
            <td align="left">False</td>
            <td align="left">R not canonical (rule 1)</td>
          </tr>
          <tr>
            <td align="left">C19</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">MATCH</td>
            <td align="left">True</td>
            <td align="left">False</td>
            <td align="left">R the neutral element (rule 2)</td>
          </tr>
          <tr>
            <td align="left">C20</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">MATCH</td>
            <td align="left">True</td>
            <td align="left">False</td>
            <td align="left">S + L (rule 3)</td>
          </tr>
          <tr>
            <td align="left">C21</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">MATCH</td>
            <td align="left">True</td>
            <td align="left">False</td>
            <td align="left">63-byte signature</td>
          </tr>
          <tr>
            <td align="left">C22</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">INDETERMINATE</td>
            <td align="left">True</td>
            <td align="left">None</td>
            <td align="left">named external_aad not supplied</td>
          </tr>
          <tr>
            <td align="left">C23</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">MATCH</td>
            <td align="left">True</td>
            <td align="left">True</td>
            <td align="left">detached payload supplied</td>
          </tr>
          <tr>
            <td align="left">C24</td>
            <td align="left">A1</td>
            <td align="left">False</td>
            <td align="left">INDETERMINATE</td>
            <td align="left">True</td>
            <td align="left">True</td>
            <td align="left">reference not well-formed</td>
          </tr>
          <tr>
            <td align="left">C25</td>
            <td align="left">A1</td>
            <td align="left">False</td>
            <td align="left">INDETERMINATE</td>
            <td align="left">True</td>
            <td align="left">True</td>
            <td align="left">invalid UTF-8 in the reference</td>
          </tr>
          <tr>
            <td align="left">C26</td>
            <td align="left">A1</td>
            <td align="left">False</td>
            <td align="left">INDETERMINATE</td>
            <td align="left">True</td>
            <td align="left">True</td>
            <td align="left">reference of four elements</td>
          </tr>
          <tr>
            <td align="left">C27</td>
            <td align="left">A1</td>
            <td align="left">False</td>
            <td align="left">INDETERMINATE</td>
            <td align="left">True</td>
            <td align="left">True</td>
            <td align="left">alg as a float</td>
          </tr>
          <tr>
            <td align="left">C28</td>
            <td align="left">A1</td>
            <td align="left">False</td>
            <td align="left">INDETERMINATE</td>
            <td align="left">True</td>
            <td align="left">True</td>
            <td align="left">scheme as a byte string</td>
          </tr>
          <tr>
            <td align="left">C29</td>
            <td align="left">A1</td>
            <td align="left">False</td>
            <td align="left">INDETERMINATE</td>
            <td align="left">True</td>
            <td align="left">True</td>
            <td align="left">digest inside a tag</td>
          </tr>
          <tr>
            <td align="left">C30</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">NO_MATCH</td>
            <td align="left">False</td>
            <td align="left">None</td>
            <td align="left">byte after the candidate</td>
          </tr>
          <tr>
            <td align="left">C31</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">NO_MATCH</td>
            <td align="left">False</td>
            <td align="left">None</td>
            <td align="left">tag 17 in place of 18</td>
          </tr>
          <tr>
            <td align="left">C32</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">NO_MATCH</td>
            <td align="left">False</td>
            <td align="left">None</td>
            <td align="left">protected header not a byte string</td>
          </tr>
          <tr>
            <td align="left">C33</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">NO_MATCH</td>
            <td align="left">True</td>
            <td align="left">True</td>
            <td align="left">empty protected header</td>
          </tr>
          <tr>
            <td align="left">C34</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">NO_MATCH</td>
            <td align="left">False</td>
            <td align="left">None</td>
            <td align="left">protected header not a map</td>
          </tr>
          <tr>
            <td align="left">C35</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">NO_MATCH</td>
            <td align="left">False</td>
            <td align="left">None</td>
            <td align="left">two items in the protected header</td>
          </tr>
          <tr>
            <td align="left">C36</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">NO_MATCH</td>
            <td align="left">False</td>
            <td align="left">None</td>
            <td align="left">unprotected header not a map</td>
          </tr>
          <tr>
            <td align="left">C37</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">NO_MATCH</td>
            <td align="left">False</td>
            <td align="left">None</td>
            <td align="left">payload as a text string</td>
          </tr>
          <tr>
            <td align="left">C38</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">NO_MATCH</td>
            <td align="left">False</td>
            <td align="left">None</td>
            <td align="left">signature inside a tag</td>
          </tr>
          <tr>
            <td align="left">C39</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">NO_MATCH</td>
            <td align="left">False</td>
            <td align="left">None</td>
            <td align="left">invalid UTF-8, unprotected header</td>
          </tr>
          <tr>
            <td align="left">C40</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">NO_MATCH</td>
            <td align="left">False</td>
            <td align="left">None</td>
            <td align="left">invalid UTF-8, protected header</td>
          </tr>
          <tr>
            <td align="left">C41</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">NO_MATCH</td>
            <td align="left">False</td>
            <td align="left">None</td>
            <td align="left">two equal integer keys</td>
          </tr>
          <tr>
            <td align="left">C42</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">MATCH</td>
            <td align="left">True</td>
            <td align="left">True</td>
            <td align="left">keys 1 and 1.0</td>
          </tr>
          <tr>
            <td align="left">C43</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">MATCH</td>
            <td align="left">True</td>
            <td align="left">True</td>
            <td align="left">keys 1 and true</td>
          </tr>
          <tr>
            <td align="left">C44</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">NO_MATCH</td>
            <td align="left">False</td>
            <td align="left">None</td>
            <td align="left">keys 0.0 and -0.0</td>
          </tr>
          <tr>
            <td align="left">C45</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">MATCH</td>
            <td align="left">True</td>
            <td align="left">True</td>
            <td align="left">two NaN keys, other significands</td>
          </tr>
          <tr>
            <td align="left">C46</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">NO_MATCH</td>
            <td align="left">False</td>
            <td align="left">None</td>
            <td align="left">two NaN keys, one significand</td>
          </tr>
          <tr>
            <td align="left">C47</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">NO_MATCH</td>
            <td align="left">False</td>
            <td align="left">None</td>
            <td align="left">two equal array keys</td>
          </tr>
          <tr>
            <td align="left">C48</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">MATCH</td>
            <td align="left">True</td>
            <td align="left">True</td>
            <td align="left">tag content not checked</td>
          </tr>
          <tr>
            <td align="left">C49</td>
            <td align="left">A1</td>
            <td align="left">False</td>
            <td align="left">INDETERMINATE</td>
            <td align="left">False</td>
            <td align="left">None</td>
            <td align="left">not a statement, unusable reference</td>
          </tr>
          <tr>
            <td align="left">C50</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">MATCH</td>
            <td align="left">True</td>
            <td align="left">True</td>
            <td align="left">SHA-512 reference</td>
          </tr>
          <tr>
            <td align="left">C51</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">MATCH</td>
            <td align="left">True</td>
            <td align="left">True</td>
            <td align="left">reference not deterministic</td>
          </tr>
          <tr>
            <td align="left">C52</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">NO_MATCH</td>
            <td align="left">False</td>
            <td align="left">None</td>
            <td align="left">candidate not well-formed</td>
          </tr>
          <tr>
            <td align="left">C53</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">NO_MATCH</td>
            <td align="left">False</td>
            <td align="left">None</td>
            <td align="left">two equal map keys</td>
          </tr>
          <tr>
            <td align="left">C54</td>
            <td align="left">A1</td>
            <td align="left">True</td>
            <td align="left">NO_MATCH</td>
            <td align="left">False</td>
            <td align="left">None</td>
            <td align="left">two equal tagged keys</td>
          </tr>
        </tbody>
      </table>
      <t>The following cases illustrate the scope and limits of the chosen identity rule. Case C5 adds one unprotected parameter
after signing: the ToBeSigned digest and the signature are unchanged while the
whole-object digest changes, so a whole-bytes identifier and a ToBeSigned
identifier disagree exactly where a registration may rewrite the envelope. Case
C12 keeps tag 18 and every element of statement 01 and writes the head of the
four-element array with a one-byte length argument (98 04 in place of 84), which
is well-formed but not the preferred encoding: as in C5, the ToBeSigned reference
matches and the signature verifies while the whole-object digest changes. C9
reports MATCH under the illustrative ToBeSigned rule and is_scitt = False because
tag 18 is absent; it is a negative format control, not evidence of successful
registration in two services. Case C8 withholds a detached payload: a missing
input yields INDETERMINATE, never a match. Case C6 replaces the signature with one
from another key over the same signing input: the ToBeSigned reference still
matches, but the signature does not verify under the stated key, which is why the
two axes are reported separately.</t>
      <t>Cases C15 to C54 add cases for checks of this section. Table 3 lists every check of this section together
with the cases that exercise it, and says why six checks have no case. The obligations that Sections 4.5, 7 and 8 and
Appendix A place on other specifications, on relying parties and on producers of statements are not results of a
verifier, and no case exercises them.</t>
      <table anchor="checks-and-cases">
        <name>Checks of this section and the cases that exercise them</name>
        <thead>
          <tr>
            <th align="left">Check</th>
            <th align="left">Cases</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td align="left" colspan="2"><strong>Reference (ref_usable)</strong></td>
          </tr>
          <tr>
            <td align="left">one well-formed CBOR data item</td>
            <td align="left">C24</td>
          </tr>
          <tr>
            <td align="left">valid under RFC 8949 Section 5.3.1</td>
            <td align="left">C25 (UTF-8); two equal map keys could only stand in an element whose type already makes the reference not well-formed</td>
          </tr>
          <tr>
            <td align="left">nothing after the data item</td>
            <td align="left">C16</td>
          </tr>
          <tr>
            <td align="left">an array of exactly three elements</td>
            <td align="left">C26</td>
          </tr>
          <tr>
            <td align="left">alg is an integer</td>
            <td align="left">C27</td>
          </tr>
          <tr>
            <td align="left">alg names one of the eight hash functions</td>
            <td align="left">none: an alg outside this set cannot equal -16 or -44, the algorithms of the implemented named schemes used by these cases; C10 already exercises algorithm mismatch</td>
          </tr>
          <tr>
            <td align="left">scheme is a text string</td>
            <td align="left">C28</td>
          </tr>
          <tr>
            <td align="left">digest is a byte string</td>
            <td align="left">C29</td>
          </tr>
          <tr>
            <td align="left">digest has the output length of the hash function</td>
            <td align="left">C13</td>
          </tr>
          <tr>
            <td align="left">alg equals that of the named scheme</td>
            <td align="left">C10</td>
          </tr>
          <tr>
            <td align="left">scheme equals that of the named scheme</td>
            <td align="left">C14</td>
          </tr>
          <tr>
            <td align="left">the deterministic encoding is not required</td>
            <td align="left">C51</td>
          </tr>
          <tr>
            <td align="left" colspan="2"><strong>Candidate (is_scitt)</strong></td>
          </tr>
          <tr>
            <td align="left">one well-formed CBOR data item</td>
            <td align="left">C52</td>
          </tr>
          <tr>
            <td align="left">nothing after the data item</td>
            <td align="left">C30</td>
          </tr>
          <tr>
            <td align="left">bare or with tag 18</td>
            <td align="left">C9 (bare), C31 (tag 17)</td>
          </tr>
          <tr>
            <td align="left">an array of exactly four elements</td>
            <td align="left">C17</td>
          </tr>
          <tr>
            <td align="left">protected header is a byte string</td>
            <td align="left">C32</td>
          </tr>
          <tr>
            <td align="left">protected header is empty or encodes one map</td>
            <td align="left">C33 (empty), C34 (an array), C35 (two data items)</td>
          </tr>
          <tr>
            <td align="left">unprotected header is a map</td>
            <td align="left">C36</td>
          </tr>
          <tr>
            <td align="left">payload is a byte string or nil</td>
            <td align="left">C8 and C23 (nil), C37 (a text string)</td>
          </tr>
          <tr>
            <td align="left">signature is a byte string</td>
            <td align="left">C38</td>
          </tr>
          <tr>
            <td align="left">text strings are valid UTF-8, in either header</td>
            <td align="left">C39 (unprotected), C40 (protected)</td>
          </tr>
          <tr>
            <td align="left">no two map keys are equal under RFC 8949 Section 5.6.1</td>
            <td align="left">C41 (1 and 1), C42 (1 and 1.0), C43 (1 and true), C44 (0.0 and -0.0), C45 and C46 (NaN), C47 (arrays), C53 (maps), C54 (tags)</td>
          </tr>
          <tr>
            <td align="left">the content of a tag is not checked for that tag</td>
            <td align="left">C48</td>
          </tr>
          <tr>
            <td align="left">header labels and header parameter semantics are not validated</td>
            <td align="left">C42 (a label 1.0), C43 (a label true), C45 (two NaN labels)</td>
          </tr>
          <tr>
            <td align="left">the deterministic encoding is not required</td>
            <td align="left">C12</td>
          </tr>
          <tr>
            <td align="left" colspan="2"><strong>Signature (sig_valid)</strong></td>
          </tr>
          <tr>
            <td align="left">a signature that is not 64 bytes gives False</td>
            <td align="left">C21</td>
          </tr>
          <tr>
            <td align="left">no ToBeSigned gives None</td>
            <td align="left">C8, C22</td>
          </tr>
          <tr>
            <td align="left">rule 1 for R</td>
            <td align="left">C18, whose R rule 2 refuses as well; no case can separate the two rules for R, because an R that only rule 1 refuses would encode a point r*B' with y below 19, and finding such an r is infeasible</td>
          </tr>
          <tr>
            <td align="left">rule 1 for A</td>
            <td align="left">none: A is the issuer key of Appendix A.2 in every case</td>
          </tr>
          <tr>
            <td align="left">rule 2 for R</td>
            <td align="left">C11 (mixed order), C19 (neutral element)</td>
          </tr>
          <tr>
            <td align="left">rule 2 for A</td>
            <td align="left">none: A is the issuer key of Appendix A.2 in every case</td>
          </tr>
          <tr>
            <td align="left">rule 3</td>
            <td align="left">C20</td>
          </tr>
          <tr>
            <td align="left">rule 4, the cofactorless equation</td>
            <td align="left">C6; C7 and C8 in their variants</td>
          </tr>
          <tr>
            <td align="left">a batch result does not replace the four rules</td>
            <td align="left">none: each case checks one signature</td>
          </tr>
          <tr>
            <td align="left" colspan="2"><strong>Match (match)</strong></td>
          </tr>
          <tr>
            <td align="left">the digest of ToBeSigned is compared with the reference</td>
            <td align="left">C1 to C4, C7; C50 (SHA-512)</td>
          </tr>
          <tr>
            <td align="left">a missing input gives INDETERMINATE</td>
            <td align="left">C8, C22</td>
          </tr>
          <tr>
            <td align="left">an unusable reference gives INDETERMINATE</td>
            <td align="left">C10, C13, C14, C16, C24 to C29</td>
          </tr>
          <tr>
            <td align="left">a candidate that is not a statement</td>
            <td align="left">C17 (usable reference), C49 (unusable reference)</td>
          </tr>
          <tr>
            <td align="left">a supplied detached payload takes the place of nil</td>
            <td align="left">C23 and its variant</td>
          </tr>
          <tr>
            <td align="left">a supplied detached payload is not used when the payload is embedded</td>
            <td align="left">the variant of C1</td>
          </tr>
          <tr>
            <td align="left" colspan="2"><strong>Result</strong></td>
          </tr>
          <tr>
            <td align="left">a named scheme the verifier does not implement gives UNSUPPORTED</td>
            <td align="left">C15</td>
          </tr>
          <tr>
            <td align="left">an empty check set is INDETERMINATE, not a match</td>
            <td align="left">none: ref_usable and is_scitt are computed for every input under a scheme the verifier implements, so no case has an empty check set</td>
          </tr>
          <tr>
            <td align="left">a result states the profile under which its sig_valid was computed</td>
            <td align="left">none: a case gives the expected axes, not the form of a report</td>
          </tr>
        </tbody>
      </table>
      <t>An empty check set is not a PASS: a case under a scheme the verifier implements for which no axis could be
evaluated is reported as INDETERMINATE, not as a match. A named scheme the verifier does not implement is
UNSUPPORTED, as stated above.</t>
      <t>No input of these cases is longer than 450 bytes. Counting the outermost data item as level 1, a data item
inside a tag, array or map as one level deeper than it, and the contents of the protected header as one level deeper
than its byte string, none nests deeper than seven levels. A verifier whose bounds on size and
nesting (<xref target="security-considerations"/>) admit inputs of that size and depth reads every case; its bounds
then decide none of them.</t>
    </section>
    <section anchor="security-considerations">
      <name>Security Considerations</name>
      <t>This section considers the attacker and the risks this work raises, in the spirit
of <xref target="RFC3552"/>. A successful reference match is not a trust decision. It does not
establish that the candidate's signature is valid, that its Issuer is authorized,
that its payload is true, or that it was registered. Relying parties <bcp14>MUST</bcp14> keep
these results separate and <bcp14>MUST NOT</bcp14> treat a match as any of them. Collapsing them
into a single boolean is the main foreseeable misuse.</t>
      <t>The identification object determines the attack surface. A whole-bytes identifier
changes when the unprotected header or outer encoding is rewritten, so a party
expecting stability may fail to
match a legitimately re-registered statement. A ToBeSigned identifier is stable
across such rewrites but, by construction, does not distinguish two objects that
share a signing input and differ only in the signature value or unprotected
header; a party that needs to pin the exact serialized object needs a
whole-object identifier instead, which does not cover a detached payload or an <tt>external_aad</tt>
(<xref target="four-identities"/>). A scheme <bcp14>MUST</bcp14> state <tt>external_aad</tt> and the source
of any detached payload; a missing input <bcp14>MUST NOT</bcp14> silently become an empty input
or a successful match, and a mismatch between a scheme's declared algorithm and a
reference's algorithm <bcp14>MUST NOT</bcp14> fall back silently.</t>
      <t>Tag discipline matters: a generic COSE_Sign1 without CBOR tag 18 is not a SCITT
Signed Statement (<xref target="RFC9943"/> Section 6.1), and a test that drops the tag <bcp14>MUST NOT</bcp14>
be presented as a valid SCITT case. A reference match under the ToBeSigned scheme shows only that the
signing input of the candidate is that of the designated statement; it does not show that no newer relevant
statement has appeared, so a reference match <bcp14>MUST NOT</bcp14> be read as current validity
or as completeness of a history.</t>
      <t>A verifier that recomputes a target digest reads externally supplied bytes; large,
deeply nested, or cyclically referenced inputs can exhaust resources. An
implementation should bound the input size and nesting it will process rather than
hashing unbounded input, and should treat a set of references as a list to check,
not a graph to traverse.</t>
      <t>Digest-based identification depends on the collision and second-preimage
resistance of the selected hash algorithm.</t>
    </section>
    <section anchor="privacy-considerations">
      <name>Privacy Considerations</name>
      <t>A stable, portable reference is a correlator. The same identifier appearing in two
contexts links them. Schemes and deployments <bcp14>SHOULD</bcp14> consider whether a reference
needs to be stable across services at all, and whether salted or context-scoped
references are more appropriate where linkage is a concern. The subject identifier
in a statement groups statements about one Artifact and is itself a correlator
independent of the reference scheme.</t>
      <t>A digest is not by itself a confidentiality mechanism. When the covered content is
drawn from a small or well-known set of possibilities, a party that holds the
reference can confirm a guess by hashing each candidate and comparing, even if the
target statement is never disclosed. A scheme that intends a reference to hide its
target needs enough entropy in the covered content (for example a salt) that this
guessing attack is infeasible.</t>
    </section>
    <section anchor="iana-considerations">
      <name>IANA Considerations</name>
      <t>This document has no IANA actions. It allocates no COSE header parameter and
defines no registry. The COSE header label -70001 used by the examples in
Appendix A is in the Private Use range of the COSE Header Parameters registry
(integer values less than -65536); it is a local convention of the example
package, not a requested or assigned value.</t>
    </section>
    <section anchor="open-questions">
      <name>Open Questions</name>
      <t>Concrete feedback is sought on the following.</t>
      <ol spacing="normal" type="1"><li>
          <t>The identification object. Should a SCITT statement reference bind to
ToBeSigned, to a canonical object encoding, to the whole object bytes, or to a
VDS leaf; and should the choice be fixed by the architecture or left to
profiles?</t>
        </li>
        <li>
          <t>Registration derivation. That open question stands: should a statement
identifier be cryptographically derived from its log insertion, and what are the
trade-offs against a registration-independent identifier (A3)?</t>
        </li>
        <li>
          <t>Venue. Whether statement-identification requirements, or a small profile, belong
in the SCITT architecture, in a Receipts or payload-binding document, or in a
separate document; the charter's payload-format non-goal (Section 2.1) bears on
this.</t>
        </li>
        <li>
          <t>Relationship vocabulary. This document deliberately excludes one; whether the
identification work needs any relationship terms at all is open.</t>
        </li>
        <li>
          <t>Recording a transformation. Whether and where a party that changes the representation of a statement,
in particular a Transparency Service before inclusion, records what it changed and why (Section 5.4).</t>
        </li>
      </ol>
    </section>
    <section anchor="implementation-status">
      <name>Implementation Status</name>
      <t>This section is given per <xref target="RFC7942"/> and is to be removed by the RFC Editor before
publication.</t>
      <t>An open-source project, proofbundle, carries the requirements note this document
is drawn from and a small synthetic example package, at commit
eb1b7eeb28a4f77a4fe9fb1eadc21be0fb03746d (files
docs/scitt/statement_identification/requirements.md and the package under
docs/scitt/statement_identification/package/). That package signs three synthetic
statements and checks the ToBeSigned references between them offline with a CBOR
library and a general cryptography library. The illustrative examples here sign
with the fully-specified Ed25519 algorithm -19 of <xref target="RFC9864"/>; the package at that
commit uses EdDSA -8, which <xref target="RFC9864"/> lists as deprecated, and the ToBeSigned
identification rule is the same for either algorithm, although the alg in the protected header is part of ToBeSigned
(Section 6). The three example
signatures were decoded and verified independently in this work by decoding the
COSE_Sign1 with a CBOR library and verifying the Ed25519 signature over the
Sig_structure with a general cryptography library. pycose 1.1.0, the COSE library
present in the run environment, cannot decode algorithm -19; no other independent
COSE library was available, so whether a second COSE library decodes and verifies
-19 was not tested. The examples were generated and checked with cbor2 5.4.6 and cryptography 41.0.7. The illustrative cases of Section 6 and Appendix A were
generated and checked in this work; the fixtures are synthetic and the keys are
test keys.</t>
      <t>On 2026-10-12, the checker of that package as merged into the main branch of
proofbundle, at commit 3611eb73fca16cf68ef47af00fd5193f733bc552, was applied to
cases C1 to C12 of Section 6 with the bytes of Appendix A: its own reading,
ToBeSigned, signature and digest functions gave all four axes of the table for
nine cases directly and for C10 with the scheme and the reference algorithm
exchanged, because the package takes no scheme as input; it has no external_aad input and gives for C7
the result under the fixed empty external_aad rule that the case also records,
and it refuses C8, whose payload is nil, as malformed. A further checker,
written from the published text of this document alone, reproduced the four
axes of 11 of the 12 cases directly and those of C10 in that mirrored form, as
it also takes no scheme as input, and showed no deviation over 30237 generated
inputs (measured on 2026-10-12).</t>
      <t>A second reader of cases C1 to C14 was written by Toshikatsu Oga (The HORIZONs Co., Ltd.) from the text of
draft-gruszka-scitt-statement-identification-03 alone, with the README of the case folder for its file format, and
without reading or running the checker of that folder. It uses the Python standard library only, with its own CBOR
reader and its own Ed25519 arithmetic after <xref target="RFC8032"/>. Its six files are kept unchanged, under the MIT
licence, in the proofbundle repository at commit 19a4fffdda96c07a6c759b617edb195783baa89b, https://github.com/b7n0de/proofbundle/tree/19a4fffdda96c07a6c759b617edb195783baa89b/interop/scitt-statement-identification-03/independent/oga, next to the 14 case files and their checker. It agrees with the case files
on 19 of 19 checks, cases C1 to C14 and their 5 variants, on every axis each one states. Two
limits apply. This is a result on the published cases and says nothing beyond them. The reader was blind to the code
of the repository, not to the expected axes, which are in Section 6 and Appendix A.3.</t>
      <t>On 2026-11-12, the 988 single-byte mutants of statement 01 for which that reader gives its axes were run through
the checker of the case folder at commit 82411560bb0c240c4cb9af8a6c08061789faeb64, with the reference, key and other inputs of C1. The two readers gave
the same four axes for all 988. This compares two readers on single-byte changes of one statement and says nothing
about other inputs.</t>
      <t>This section keeps six levels of assurance apart: a defined reference identity rule (Sections 5.1 and 6), its
demonstration through supplied cases (Section 6 and Appendix A), the implementation of the rule by a checker, the
reproduction of the expected results from an identified source snapshot, interoperability between independent
implementations, and the intended deployment and trust properties. Two readers that agree on the published cases are
evidence for these cases at the second to fourth level only. A test between two independently developed Transparency
Services has not been shown; it is open work (A4).</t>
      <t>One own measurement motivates the choice of hash input under A1 and is reported
here as a measured fact, not an endorsement. Against a locally run transparency
ledger (microsoft/scitt-ccf-ledger at commit 00101f76, CCF 7.0.17), of 62
registered rows, 39 had a SHA-256 of the submitted bytes that differed from the
data-hash in the returned Receipt, because the service sets the unprotected header
to an empty map and rewrites the outer encoding before inclusion. This measurement
shows why a reference scheme must specify whether it covers submitted bytes or the
representation included in the Statement Sequence; it does not by itself show that
the identifier depends on the service or insertion event. The
corpus matrix is in the proofbundle repository at
tools/scitt_ccf_external/differential_corpus_round3/README.md (freeze commit
c5ff0a72e28aa087eecd3e2b426577be3cf2a80f) and the replay at
tools/scitt_ccf_external/replay_earlier_build/results_table.md (commit
3ca368164b68a09a863f7ec12b2f9fa1b21123ec). Only the repository evidence is cited
here.</t>
      <t>A local check on 2026-10-12 used seven inclusion receipts and their
Transparent Statements from three instances of the same ledger.
Each receipt signature verified over the recomputed root with its
corresponding service key and failed with the other two keys. In
these inputs, data-hash was SHA-256 over the tagged COSE_Sign1 bytes
with the unprotected header replaced by an empty map and the
remaining bytes unchanged. It differed from the digest of the
Transparent Statement and from that of the corresponding encoding
without tag 18. Pull request 31 for the CCF Receipt profile, at
revision d04ddffe <xref target="CCF-DATA-HASH"/>, proposes this hash input and a
comparison against the data-hash in each inclusion proof. That
proposal is work in progress. These observations illustrate A1;
they do not establish registration-independent identification or
satisfy the two-service acceptance test of A4.</t>
      <t>A second local measurement, on 2026-10-11, follows use case 4 with two
implementations and no hosted service: the ledger above, and
scitt-community/scitt-api-emulator at commit
6e6776070a1adf7298c9427871f15a8f087be73d, an archived emulator run in its CCF
tree mode. Its dependency rkvst-archivist is no longer published; only its
unused RKVST mode needs it, and the measurement replaced that import by a stub.
The test statements were S, a COSE Hash Envelope with an X.509 chain and alg -7;
S2, the ToBeSigned of S signed again; and S3, S with another <tt>sub</tt>. The ledger
registered all three, and S a second time under another entry identifier. Each
returned Transparent Statement kept the protected header, payload and signature
of what was submitted, while its bytes differed. The ToBeSigned reference of
Section 6 matched S, S2 and the second registration of S, and did not match
S3. The emulator refused S, S2 and S3, because it requires a content type
parameter (label 3) and a CWT Claims parameter under label 14. After the two required
parameters had been added and the statements signed again, the emulator registered
the adapted statements and returned each submitted byte sequence unchanged; its
receipts are not COSE Receipts. For one statement registered at both implementations, the
ToBeSigned reference was equal and the entry identifiers differed.</t>
      <t>This information is given per <xref target="RFC7942"/> and does not constitute endorsement.</t>
    </section>
  </middle>
  <back>
    <references anchor="sec-combined-references">
      <name>References</name>
      <references anchor="sec-normative-references">
        <name>Normative References</name>
        <reference anchor="RFC2119" target="https://www.rfc-editor.org/info/rfc2119">
          <front>
            <title>Key words for use in RFCs to Indicate Requirement Levels</title>
            <author initials="S." surname="Bradner">
              <organization/>
            </author>
            <date year="1997" month="March"/>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="2119"/>
        </reference>
        <reference anchor="RFC8174" target="https://www.rfc-editor.org/info/rfc8174">
          <front>
            <title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
            <author initials="B." surname="Leiba">
              <organization/>
            </author>
            <date year="2017" month="May"/>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="8174"/>
        </reference>
        <reference anchor="RFC8032" target="https://www.rfc-editor.org/info/rfc8032">
          <front>
            <title>Edwards-Curve Digital Signature Algorithm (EdDSA)</title>
            <author initials="S." surname="Josefsson">
              <organization/>
            </author>
            <author initials="I." surname="Liusvaara">
              <organization/>
            </author>
            <date year="2017" month="January"/>
          </front>
          <seriesInfo name="RFC" value="8032"/>
        </reference>
        <reference anchor="RFC8949" target="https://www.rfc-editor.org/info/rfc8949">
          <front>
            <title>Concise Binary Object Representation (CBOR)</title>
            <author initials="C." surname="Bormann">
              <organization/>
            </author>
            <author initials="P." surname="Hoffman">
              <organization/>
            </author>
            <date year="2020" month="December"/>
          </front>
          <seriesInfo name="STD" value="94"/>
          <seriesInfo name="RFC" value="8949"/>
        </reference>
        <reference anchor="RFC9052" target="https://www.rfc-editor.org/info/rfc9052">
          <front>
            <title>CBOR Object Signing and Encryption (COSE): Structures and Process</title>
            <author initials="J." surname="Schaad">
              <organization/>
            </author>
            <date year="2022" month="August"/>
          </front>
          <seriesInfo name="STD" value="96"/>
          <seriesInfo name="RFC" value="9052"/>
        </reference>
        <reference anchor="RFC9943" target="https://www.rfc-editor.org/info/rfc9943">
          <front>
            <title>An Architecture for Trustworthy and Transparent Digital Supply Chains</title>
            <author initials="H." surname="Birkholz">
              <organization/>
            </author>
            <author initials="A." surname="Delignat-Lavaud">
              <organization/>
            </author>
            <author initials="C." surname="Fournet">
              <organization/>
            </author>
            <author initials="Y." surname="Deshpande">
              <organization/>
            </author>
            <author initials="S." surname="Lasker">
              <organization/>
            </author>
            <date year="2026" month="June"/>
          </front>
          <seriesInfo name="RFC" value="9943"/>
        </reference>
        <reference anchor="RFC9864" target="https://www.rfc-editor.org/info/rfc9864">
          <front>
            <title>Fully-Specified Algorithms for JSON Object Signing and Encryption (JOSE) and CBOR Object Signing and Encryption (COSE)</title>
            <author initials="M. B." surname="Jones">
              <organization/>
            </author>
            <author initials="O." surname="Steele">
              <organization/>
            </author>
            <date year="2025" month="October"/>
          </front>
          <seriesInfo name="RFC" value="9864"/>
        </reference>
        <reference anchor="RFC9054" target="https://www.rfc-editor.org/info/rfc9054">
          <front>
            <title>CBOR Object Signing and Encryption (COSE): Hash Algorithms</title>
            <author initials="J." surname="Schaad">
              <organization/>
            </author>
            <date year="2022" month="August"/>
          </front>
          <seriesInfo name="RFC" value="9054"/>
        </reference>
      </references>
      <references anchor="sec-informative-references">
        <name>Informative References</name>
        <reference anchor="CCF-DATA-HASH" target="https://github.com/ietf-wg-scitt/draft-ietf-scitt-receipts-ccf-profile/commit/d04ddffe">
          <front>
            <title>Define data-hash preimage and require inclusion proof validation</title>
            <author>
              <organization/>
            </author>
            <date/>
          </front>
          <refcontent>pull request 31 in ietf-wg-scitt/draft-ietf-scitt-receipts-ccf-profile, revision d04ddffe, Work in Progress, accessed 12 October 2026, &lt;https://github.com/ietf-wg-scitt/draft-ietf-scitt-receipts-ccf-profile/pull/31&gt;</refcontent>
        </reference>
        <reference anchor="SCITT-CHAIRS-20260922" target="https://mailarchive.ietf.org/arch/msg/scitt/BPmxsdV7RDQx3qxgdCjOUwuFNZU/">
          <front>
            <title>[SCITT] Re: SCITT WG: IETF 127 Agenda Planning</title>
            <author initials="J." surname="Geater">
              <organization/>
            </author>
            <date year="2026" month="September" day="22"/>
          </front>
        </reference>
        <reference anchor="RFC3552" target="https://www.rfc-editor.org/info/rfc3552">
          <front>
            <title>Guidelines for Writing RFC Text on Security Considerations</title>
            <author initials="E." surname="Rescorla">
              <organization/>
            </author>
            <author initials="B." surname="Korver">
              <organization/>
            </author>
            <date year="2003" month="July"/>
          </front>
          <seriesInfo name="BCP" value="72"/>
          <seriesInfo name="RFC" value="3552"/>
        </reference>
        <reference anchor="RFC7942" target="https://www.rfc-editor.org/info/rfc7942">
          <front>
            <title>Improving Awareness of Running Code: The Implementation Status Section</title>
            <author initials="Y." surname="Sheffer">
              <organization/>
            </author>
            <author initials="A." surname="Farrel">
              <organization/>
            </author>
            <date year="2016" month="July"/>
          </front>
          <seriesInfo name="BCP" value="205"/>
          <seriesInfo name="RFC" value="7942"/>
        </reference>
        <reference anchor="RFC9942" target="https://www.rfc-editor.org/info/rfc9942">
          <front>
            <title>CBOR Object Signing and Encryption (COSE) Receipts</title>
            <author initials="O." surname="Steele">
              <organization/>
            </author>
            <author initials="H." surname="Birkholz">
              <organization/>
            </author>
            <author initials="A." surname="Delignat-Lavaud">
              <organization/>
            </author>
            <author initials="C." surname="Fournet">
              <organization/>
            </author>
            <date year="2026" month="June"/>
          </front>
          <seriesInfo name="RFC" value="9942"/>
        </reference>
        <reference anchor="RFC9162" target="https://www.rfc-editor.org/info/rfc9162">
          <front>
            <title>Certificate Transparency Version 2.0</title>
            <author initials="B." surname="Laurie">
              <organization/>
            </author>
            <author initials="E." surname="Messeri">
              <organization/>
            </author>
            <author initials="R." surname="Stradling">
              <organization/>
            </author>
            <date year="2021" month="December"/>
          </front>
          <seriesInfo name="RFC" value="9162"/>
        </reference>
        <reference anchor="I-D.mih-sokolov-scitt-payload-binding" target="https://datatracker.ietf.org/doc/draft-mih-sokolov-scitt-payload-binding/06/">
          <front>
            <title>Canonicalization Declaration for SCITT Signed Statements</title>
            <author initials="S." surname="Mih">
              <organization/>
            </author>
            <author initials="A." surname="Sokolov">
              <organization/>
            </author>
            <date year="2026" month="October" day="26"/>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-mih-sokolov-scitt-payload-binding-06"/>
        </reference>
        <reference anchor="I-D.nobuo-scitt-protected-object-binding" target="https://datatracker.ietf.org/doc/draft-nobuo-scitt-protected-object-binding/00/">
          <front>
            <title>SCITT Statement Relationship and Protected Object Binding</title>
            <author initials="N." surname="Aoki">
              <organization/>
            </author>
            <date year="2026" month="July" day="06"/>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-nobuo-scitt-protected-object-binding-00"/>
        </reference>
        <reference anchor="I-D.ietf-scitt-scrapi" target="https://datatracker.ietf.org/doc/draft-ietf-scitt-scrapi/11/">
          <front>
            <title>Supply Chain Integrity, Transparency, and Trust (SCITT) Reference APIs</title>
            <author initials="H." surname="Birkholz">
              <organization/>
            </author>
            <author initials="J." surname="Geater">
              <organization/>
            </author>
            <author initials="A." surname="Delignat-Lavaud">
              <organization/>
            </author>
            <date year="2026" month="June" day="26"/>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-ietf-scitt-scrapi-11"/>
        </reference>
        <reference anchor="I-D.templeman-scitt-framing-space" target="https://datatracker.ietf.org/doc/draft-templeman-scitt-framing-space/01/">
          <front>
            <title>Measuring the CBOR Framing Space of COSE_Sign1 Data-Hash Pre-images</title>
            <author initials="N." surname="Templeman">
              <organization/>
            </author>
            <date year="2026" month="September" day="27"/>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-templeman-scitt-framing-space-01"/>
        </reference>
        <reference anchor="I-D.rundgren-cbor-core" target="https://datatracker.ietf.org/doc/draft-rundgren-cbor-core/25/">
          <front>
            <title>CBOR::Core - CBOR Cross Platform Profile</title>
            <author initials="A." surname="Rundgren" role="editor">
              <organization/>
            </author>
            <date year="2026" month="January" day="25"/>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-rundgren-cbor-core-25"/>
        </reference>
        <reference anchor="I-D.ietf-cbor-cde" target="https://datatracker.ietf.org/doc/draft-ietf-cbor-cde/13/">
          <front>
            <title>CBOR Common Deterministic Encoding (CDE)</title>
            <author initials="C." surname="Bormann">
              <organization/>
            </author>
            <date year="2025" month="October" day="14"/>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-ietf-cbor-cde-13"/>
        </reference>
      </references>
    </references>

<section anchor="illustrative-test-cases-bytes-and-keys">
      <name>Illustrative Test Cases: Bytes and Keys</name>
      <t>All byte strings are hex. Each of the three base statements is a tagged COSE_Sign1 (first byte 0xd2, CBOR tag 18) signed with
the fully-specified Ed25519 algorithm (COSE algorithm -19, <xref target="RFC9864"/>). The private-use label carries a list of references; in these
examples the list holds exactly one, the array <tt>[-16, "ToBeSigned", digest]</tt>, which
references statement 01, and the digest is SHA-256 over the ToBeSigned of statement
01. The test keys are pure test keys given as fixed seeds
and <bcp14>MUST NOT</bcp14> be used for any real statement.</t>
      <section anchor="base-statements-and-the-reference">
        <name>Base statements and the reference</name>
        <t>All three statements share the subject <tt>pkg:generic/example-widget@1.0.0</tt>. COSE header label -70001 (Private Use) carries a list of references; in these examples the list holds exactly one, <tt>[-16, "ToBeSigned", digest]</tt>, which references statement 01, and its digest is SHA-256 over the ToBeSigned of 01.</t>
        <ul spacing="normal">
          <li>
            <t>Reference digest (SHA-256 over ToBeSigned of 01): c3f5f13764679b9f77918bb52782480bc222be5ae4bce37f51384a6b1faa9dbc</t>
          </li>
          <li>
            <t>01 ToBeSigned SHA-256: c3f5f13764679b9f77918bb52782480bc222be5ae4bce37f51384a6b1faa9dbc</t>
          </li>
        </ul>
        <t>Statement 01 (iss https://issuer.example; 330 bytes; SHA-256 9c7253617b9fe51ba25eb0f957dadea493ca03e98c4a81806237757f13d054c6):</t>
        <artwork><![CDATA[
d284587ba4013203706170706c69636174696f6e2f6a736f6e0458200e6e86cd
20c07df4e95cb4a07a286192d29fc74567b41e726f1c7f7bd202eb5b0fa30176
68747470733a2f2f6973737565722e6578616d706c65027820706b673a67656e
657269632f6578616d706c652d77696467657440312e302e30061a68ce7b20a0
58867b226172746966616374223a226578616d706c652d7769646765742d312e
302e302e7461722e677a222c226c6963656e7365223a224d4954222c22736861
323536223a223630376536633165366333356463633962373730646535646139
3262393639373034613336366434363839373261386235356431613063333264
623334613732227d58401fb31a6df345f1c1840d878bd4b4acedb6612956916e
4b4550c5b6479289ed36f41cb604c8ab743dc2eb9fbda7fecfb896b3d444ba30
e591e663093a4eeb8104
]]></artwork>
        <t>Statement 02 (iss https://auditor.example, refers to 01; 365 bytes; SHA-256 c4758ea9ae4d85461a93ee1dbb302fb698c922b1fbcb4139ebc706e3aeccbebd):</t>
        <artwork><![CDATA[
d28458aba50132036a746578742f706c61696e045820a2820b29631a0e52ec5d
be41f948a9e5725c6b8d8c0346bd3ef5483cab27de580fa3017768747470733a
2f2f61756469746f722e6578616d706c65027820706b673a67656e657269632f
6578616d706c652d77696467657440312e302e30061a68ce7b203a0001117081
832f6a546f42655369676e65645820c3f5f13764679b9f77918bb52782480bc2
22be5ae4bce37f51384a6b1faa9dbca058795468652061727469666163742064
696765737420696e20746865207265666572656e6365642073746174656d656e
7420776173207265636f6d707574656420616e64206d6174636865732e205468
697320617564697420636f7665727320746865207265666572656e6365642062
79746573206f6e6c792e0a5840702de547d0247fd14444d31f0130c7d9b16c01
68f43988c19320e5a6e37264c617a086d8a117a8c4e44ece4fe17da69ae2527d
b8cbb9a709be4a271047016b03
]]></artwork>
        <t>Statement 03 (iss https://issuer.example, refers to 01; 450 bytes; SHA-256 f5afbb3b0c7d822b00741e5eacd9128b723922bf3cad6ed5a3ab00e884b58e99):</t>
        <artwork><![CDATA[
d28458b0a5013203706170706c69636174696f6e2f6a736f6e0458200e6e86cd
20c07df4e95cb4a07a286192d29fc74567b41e726f1c7f7bd202eb5b0fa30176
68747470733a2f2f6973737565722e6578616d706c65027820706b673a67656e
657269632f6578616d706c652d77696467657440312e302e30061a68ce7b203a
0001117081832f6a546f42655369676e65645820c3f5f13764679b9f77918bb5
2782480bc222be5ae4bce37f51384a6b1faa9dbca058c97b2261727469666163
74223a226578616d706c652d7769646765742d312e302e302e7461722e677a22
2c226c6963656e7365223a224170616368652d322e30222c226e6f7465223a22
546865206c6963656e736520696e20746865207265666572656e636564207374
6174656d656e74207761732077726f6e672e222c22736861323536223a223630
3765366331653663333564636339623737306465356461393262393639373034
613336366434363839373261386235356431613063333264623334613732227d
584032cc26dcf624b14ff15e1f307898d9a287559ca388b78227283e4dee5fea
9b04a3fb86cf0b12d553b791a210bff7e7478efe147f99c05f69b0d11e6a0766
ae0b
]]></artwork>
      </section>
      <section anchor="test-keys">
        <name>Test keys</name>
        <t>PURE TEST KEYS given as fixed seeds. They <bcp14>MUST NOT</bcp14> be used for any real
statement.</t>
        <t>issuer:</t>
        <ul spacing="normal">
          <li>
            <t>Ed25519 seed (hex, 32 bytes): 51bdccce75df50a4bcee21a2f730ccdcd4917a0a4d20dd2ab3d2e5ffad3f6fd3</t>
          </li>
          <li>
            <t>kid (hex, SHA-256 of the SubjectPublicKeyInfo): 0e6e86cd20c07df4e95cb4a07a286192d29fc74567b41e726f1c7f7bd202eb5b</t>
          </li>
        </ul>
        <t>auditor:</t>
        <ul spacing="normal">
          <li>
            <t>Ed25519 seed (hex, 32 bytes): 2a8b1161e212cc24681c06e6d7486daa0910253e54903d41ae964aaee2bfc681</t>
          </li>
          <li>
            <t>kid (hex, SHA-256 of the SubjectPublicKeyInfo): a2820b29631a0e52ec5dbe41f948a9e5725c6b8d8c0346bd3ef5483cab27de58</t>
          </li>
        </ul>
      </section>
      <section anchor="cases">
        <name>Cases</name>
        <t>Each case below gives its candidate as a base statement of Appendix A.1 or as a stated change to one, together with the candidate's length and SHA-256, so that a reader can rebuild the exact bytes the case was run on and confirm them; a change that needs new signature bytes gives them in full. C13, C14, C16, C24 to C29 and C51 keep the candidate of C1 and give their changed reference in full; C15 keeps the candidate and the reference of C1 and names another scheme. C30 to C48 and C52 to C54 state their change to statement 01 as bytes at offsets counted from 0 in statement 01 as Appendix A.1 gives it; where a case names more than one change, every offset refers to statement 01 before any change. In every case the stated key of Section 6 is the issuer key of Appendix A.2, whose kid the protected header of statement 01 carries. The expected axes are in the table of Section 6; the measured axes are given here.</t>
        <section anchor="c1-requirement-a1">
          <name>C1 (requirement A1)</name>
          <t>Unchanged reference and candidate (the reference target 01).</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 9c7253617b9fe51ba25eb0f957dadea493ca03e98c4a81806237757f13d054c6 (330 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = MATCH, is_scitt = True, sig_valid = True</t>
            </li>
          </ul>
          <t>The candidate is statement 01 of Appendix A.1.</t>
<t>Supplied together with a detached payload, for example 32 zero bytes, the candidate gives the same four axes: its payload field is not nil, so the supplied payload is not used (<xref target="the-tobesigned-object-as-used-in-the-examples"/>).</t>
        </section>
        <section anchor="c2-requirement-a1">
          <name>C2 (requirement A1)</name>
          <t>Same issuer and subject, different statement (03): subject grouping does
not select 01.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): f5afbb3b0c7d822b00741e5eacd9128b723922bf3cad6ed5a3ab00e884b58e99 (450 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = NO_MATCH, is_scitt = True, sig_valid = True</t>
            </li>
          </ul>
          <t>The candidate is statement 03 of Appendix A.1.</t>
        </section>
        <section anchor="c3-requirement-a1">
          <name>C3 (requirement A1)</name>
          <t>Changed target payload (re-signed): ToBeSigned differs.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 63723353fdf05662cfcc618e8b47fd4142dce4a71e84b61a6bdbdde988e837ab (339 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = NO_MATCH, is_scitt = True, sig_valid = True</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with the license value "MIT" in its payload replaced by "BSD-3-Clause", the payload otherwise unchanged, signed again under the issuer key. Signature (hex):</t>
<artwork><![CDATA[
a7cd3cb04606ed9a99f7105b489cd67f424fcc0993964eefc170600d37214794
ded3d2e84d1309727cb4a9d550ea0729af7a283453794ea2ad0d023d1e824307
]]></artwork>
        </section>
        <section anchor="c4-requirement-a1">
          <name>C4 (requirement A1)</name>
          <t>Changed protected header (content type), re-signed: ToBeSigned differs.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 65eb1e45177add009aef819b438c910aae934c3a05b7966ef73614e11ff07bcc (330 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = NO_MATCH, is_scitt = True, sig_valid = True</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with the content type, header parameter 3, "application/cbor" in place of "application/json", the protected header in the deterministic encoding, signed again under the issuer key. Signature (hex):</t>
<artwork><![CDATA[
6e32c4cb930f0a80529f3c9494ddcf140e0cefa61d5e26a16f8959cbddd6dc3b
7555affb55bec79d8cef0a4d710cd16057aa364924e3e7867966bb03e5764c04
]]></artwork>
        </section>
        <section anchor="c5-requirement-a4">
          <name>C5 (requirement A4)</name>
          <t>Added one unprotected parameter after signing (tag 18 kept): ToBeSigned
and signature unchanged, whole-object digest changes.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): fbab2b2b1c572ca374458ba2590fa5ca0da056a6ce47666f7220f1bca4250ab8 (355 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = MATCH, is_scitt = True, sig_valid = True</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with the unprotected header {-70002: "added after signing"}, encoded deterministically, in place of the empty map; its protected header, payload and signature are those of 01.</t>
        </section>
        <section anchor="c6-requirement-a1">
          <name>C6 (requirement A1)</name>
          <t>Same ToBeSigned, signature replaced with one from a different key:
matches the ToBeSigned reference, but does not verify under the issuer
key.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): f8bf927260ae6d9c6edadeb79e0295e39dc30341b21b1a61d6cf31b35d778bf8 (330 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = MATCH, is_scitt = True, sig_valid = False</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with its signature replaced by this signature over the same Sig_structure under the auditor key (hex):</t>
<artwork><![CDATA[
15d271c055a0f391bcec610607a951fa312ef917892ff6528dc362a074b63a48
67d95424ae1904e7b353bf11fb13e05a276032747c52d7db0ddb953f89e3c60e
]]></artwork>
        </section>
        <section anchor="c7-requirement-a1">
          <name>C7 (requirement A1)</name>
          <t>Target signed over a non-empty external_aad. The scheme applies the
supplied AAD bytes (given below) to both reference matching and
signature verification, so the empty-external_aad reference does not
match while the signature verifies. The same candidate bytes under the
fixed empty-external_aad rule are reported separately below. A missing
external context is not assumed empty.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 0a5390069e431e6dd83764ee276b28f69d34986a9e64d82f05ef3322bc66d61c (330 bytes)</t>
            </li>
            <li>
              <t>external_aad (hex, 17 bytes): 6374783a6465706c6f796d656e742d3432</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = NO_MATCH, is_scitt = True, sig_valid = True</t>
            </li>
            <li>
              <t>the same candidate bytes under the fixed empty external_aad rule: match = MATCH, sig_valid = False</t>
            </li>
          </ul>
          <t>The candidate is statement 01 signed again under the issuer key over the Sig_structure with the external_aad below; only the signature differs from 01. Signature (hex):</t>
<artwork><![CDATA[
57a8f8450fa4e8449619d980fc34d38ad07f02f2c618029be54102abfe430f90
5522a26a4013dae2ed3e093f199e127dc8e1a558a071192eac406a813ab97f04
]]></artwork>
        </section>
        <section anchor="c8-requirement-a1">
          <name>C8 (requirement A1)</name>
          <t>Detached payload (payload field is nil) and the detached bytes are not
supplied: the match is INDETERMINATE, never a success.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 7ceb07265f8b803a1ff96924da0b3a48b8355ec9daed0a9a31cd36cddaf34fdb (195 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = INDETERMINATE, is_scitt = True, sig_valid = None</t>
            </li>
            <li>
              <t>note: detached payload not supplied; a missing input is never a match</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with its payload replaced by nil and its signature replaced by (hex):</t>
<artwork><![CDATA[
efdb7c7670bd56d96454ded2a7d92934b75edc092e9e9538aa16dd088ab74c1d
2831555b36abf6f9c13549d25eb07951880731bf2b52acd42c4e98237bdbdb0e
]]></artwork>
<t>These signature bytes were made under the issuer key over <tt>["Signature1", body_protected, external_aad, payload]</tt> with an empty external_aad and nil as the payload. That array is not a Sig_structure of <xref target="RFC9052"/> Section 4.4, where the payload is a byte string; the case does not use the bytes, because with the payload absent and not supplied, sig_valid is not evaluated (<xref target="conformance-and-illustrative-test-cases"/>).</t>
<t>Supplied with the payload of statement 01 as its detached payload, the candidate gives ref_usable = True, match = MATCH, is_scitt = True and sig_valid = False: its ToBeSigned is that of 01, which the signature bytes above were not made over, so rule 4 fails.</t>
        </section>
        <section anchor="c9-requirement-a1rfc9943-61">
          <name>C9 (requirement A1/RFC9943-6.1)</name>
          <t>Tag 18 removed, nothing else changed: the ToBeSigned digest still
matches, but the object is not a tagged COSE_Sign1, so it is not a valid
SCITT Signed Statement (RFC 9943 Section 6.1 requires tag 18).</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): c205d745619c3087ad1f83f6c1f7883f4fff616f8f90ecbe64c4aa08854b28e6 (329 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = MATCH, is_scitt = False, sig_valid = True</t>
            </li>
          </ul>
          <t>The candidate is statement 01 without its first byte, d2, the tag 18.</t>
        </section>
        <section anchor="c10-requirement-a1">
          <name>C10 (requirement A1)</name>
          <t>The scheme names SHA-512 (-44), while the reference carries SHA-256
(-16), so ref_usable is False and match is INDETERMINATE; no fallback is
performed.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 9c7253617b9fe51ba25eb0f957dadea493ca03e98c4a81806237757f13d054c6 (330 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = False, match = INDETERMINATE, is_scitt = True, sig_valid = True</t>
            </li>
          </ul>
          <t>The candidate is statement 01 of Appendix A.1, as in C1.</t>
        </section>
        <section anchor="c11-requirement-a1">
          <name>C11 (requirement A1)</name>
          <t>Statement 01 with its 64 signature bytes replaced: R is a canonical
encoding of a point of mixed order, and S is below L. Rule 2 refuses R,
so sig_valid is False while the ToBeSigned reference matches. With rule
2 left out, the cofactored equation holds and the cofactorless equation
does not.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): d1e77e708d759c9b393e93708968887df1ef0e56872166877f68d4ff9e43afe1 (330 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = MATCH, is_scitt = True, sig_valid = False</t>
            </li>
            <li>
              <t>with rule 2 left out: the cofactorless equation gives sig_valid = False, the cofactored equation gives sig_valid = True</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with its 64 signature bytes replaced by (hex):</t>
<artwork><![CDATA[
9599999999999999999999999999999999999999999999999999999999999999
2d5ac5acb4933c1790098a56557795abf48a9f65f4636552659e0a89d2a3110d
]]></artwork>
        </section>
        <section anchor="c12-requirement-a4">
          <name>C12 (requirement A4)</name>
          <t>Statement 01 with the head of its four-element array written with a one-
byte length argument (98 04 in place of 84), tag 18 kept and every
element unchanged: the outer encoding changes, ToBeSigned and signature
do not, and the whole-object digest changes.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): f868bef38c6bf945c845b1dd327bc82b0cd71493b68fe4c11761fde6f4f6d988 (331 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = MATCH, is_scitt = True, sig_valid = True</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with the head of its array, the byte 84 after the tag, written as the two bytes 98 04.</t>
        </section>
        <section anchor="c13-requirement-a1">
          <name>C13 (requirement A1)</name>
          <t>The reference is that of Appendix A.1 with the last byte of its digest removed. Its alg, -16, names SHA-256, whose output is 32 bytes, so a digest of 31 bytes makes the reference not well-formed: ref_usable is False and match is INDETERMINATE. The 31 bytes are not compared with a part of the computed digest.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 9c7253617b9fe51ba25eb0f957dadea493ca03e98c4a81806237757f13d054c6 (330 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = False, match = INDETERMINATE, is_scitt = True, sig_valid = True</t>
            </li>
          </ul>
          <t>The candidate is statement 01 of Appendix A.1, as in C1. The reference, encoded as in statements 02 and 03, is (46 bytes, hex):</t>
          <artwork><![CDATA[
832f6a546f42655369676e6564581fc3f5f13764679b9f77918bb52782480bc2
22be5ae4bce37f51384a6b1faa9d
]]></artwork>
        </section>
        <section anchor="c14-requirement-a1">
          <name>C14 (requirement A1)</name>
          <t>The reference is that of Appendix A.1 with the scheme <tt>"WholeBytes"</tt> in place of <tt>"ToBeSigned"</tt>. It is well-formed, but its scheme is not that of the named scheme, so it is not compatible: ref_usable is False and match is INDETERMINATE. No fallback to another scheme is performed.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 9c7253617b9fe51ba25eb0f957dadea493ca03e98c4a81806237757f13d054c6 (330 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = False, match = INDETERMINATE, is_scitt = True, sig_valid = True</t>
            </li>
          </ul>
          <t>The candidate is statement 01 of Appendix A.1, as in C1. The reference, encoded as in statements 02 and 03, is (47 bytes, hex):</t>
          <artwork><![CDATA[
832f6a57686f6c6542797465735820c3f5f13764679b9f77918bb52782480bc2
22be5ae4bce37f51384a6b1faa9dbc
]]></artwork>
        </section>
        <section anchor="c15-requirement-a1">
          <name>C15 (requirement A1)</name>
          <t>The named scheme is the scheme <tt>"WholeBytes"</tt> with alg -16, which this document does not define. A verifier of these cases does not implement it, so the result is UNSUPPORTED: it gives no axes, neither NO_MATCH nor an invalid signature.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 9c7253617b9fe51ba25eb0f957dadea493ca03e98c4a81806237757f13d054c6 (330 bytes)</t>
            </li>
            <li>
              <t>measured: UNSUPPORTED, no axes</t>
            </li>
          </ul>
          <t>The candidate is statement 01 of Appendix A.1, as in C1, and the reference is that of Appendix A.1.</t>
        </section>
        <section anchor="c16-requirement-a1">
          <name>C16 (requirement A1)</name>
          <t>The reference is that of Appendix A.1 followed by the one byte 00. A reference is one CBOR data item with nothing after it, so this reference is not usable: ref_usable is False and match is INDETERMINATE, while the signature is still verified.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 9c7253617b9fe51ba25eb0f957dadea493ca03e98c4a81806237757f13d054c6 (330 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = False, match = INDETERMINATE, is_scitt = True, sig_valid = True</t>
            </li>
          </ul>
          <t>The candidate is statement 01 of Appendix A.1, as in C1. The reference, the 47 bytes of the reference of Appendix A.1 followed by the one byte 00, is (48 bytes, hex):</t>
          <artwork><![CDATA[
832f6a546f42655369676e65645820c3f5f13764679b9f77918bb52782480bc2
22be5ae4bce37f51384a6b1faa9dbc00
]]></artwork>
        </section>
        <section anchor="c17-requirement-a1">
          <name>C17 (requirement A1)</name>
          <t>Statement 01 as an array of three elements, its signature removed: the candidate is not a COSE_Sign1, so is_scitt is False and sig_valid is None, and under the usable reference match is NO_MATCH.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): e93f290f6b71e86a570f32f20dcf2c20440f6e090c9e0dc017a971abdc6f8ef7 (264 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = NO_MATCH, is_scitt = False, sig_valid = None</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with the head of its array, the byte 84 after the tag, written as 83, and its last element, the signature, removed.</t>
        </section>
        <section anchor="c18-requirement-a1">
          <name>C18 (requirement A1)</name>
          <t>Statement 01 with new signature bytes whose R is the 32-byte little-endian encoding of y = p + 1, with the sign bit 0. Decoding R as in <xref target="RFC8032"/> Section 5.1.3 fails because y is not below p, so rule 1 refuses R: sig_valid is False while the ToBeSigned reference matches. S is chosen with the issuer key so that <tt>S*B' = k*A</tt>, with k computed as in rule 4 from R as received.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 9fa00f051c73affe2ad58f96a335f199a70d4a66ba5e3bb6ad5c4e637dacff59 (330 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = MATCH, is_scitt = True, sig_valid = False</t>
            </li>
            <li>
              <t>with rules 1 and 2 left out and y reduced modulo p: R is the neutral element and the cofactorless equation holds</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with its 64 signature bytes replaced by (hex):</t>
<artwork><![CDATA[
eeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f
55b023c0909a754a8467372b761ea295fd1f62910a47e266e19753c1ab4af70f
]]></artwork>
        </section>
        <section anchor="c19-requirement-a1">
          <name>C19 (requirement A1)</name>
          <t>Statement 01 with new signature bytes whose R is the canonical encoding of the neutral element, the byte 01 followed by 31 zero bytes, and whose S is chosen with the issuer key so that <tt>S*B' = k*A</tt>, with k computed as in rule 4. The cofactorless and the cofactored equation both hold, but rule 2 refuses R, so sig_valid is False while the ToBeSigned reference matches.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 0e8edfa53b935b47bb0c5b6bf3bf0246ee8c2177f38c06a08fb0f35ba60b2754 (330 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = MATCH, is_scitt = True, sig_valid = False</t>
            </li>
            <li>
              <t>with rule 2 left out: the cofactorless equation gives sig_valid = True, the cofactored equation gives sig_valid = True</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with its 64 signature bytes replaced by (hex):</t>
<artwork><![CDATA[
0100000000000000000000000000000000000000000000000000000000000000
53ec0c3dfc2c0675a049a67f326adbe3acf48e7afda5c541b656b670393d8909
]]></artwork>
        </section>
        <section anchor="c20-requirement-a1">
          <name>C20 (requirement A1)</name>
          <t>Statement 01 with S replaced by S + L, R unchanged. Because <tt>L*B'</tt> is the neutral element, the equation of rule 4 still holds, but rule 3 refuses S, so sig_valid is False while the ToBeSigned reference matches.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 12ab3564205c348655ea8386430517cd25d56d5b634748e50056eebb9a1fc733 (330 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = MATCH, is_scitt = True, sig_valid = False</t>
            </li>
            <li>
              <t>with rule 3 left out: sig_valid = True</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with the second 32 bytes of its signature, S read as a little-endian integer, replaced by S + L, so that its 64 signature bytes are (hex):</t>
<artwork><![CDATA[
1fb31a6df345f1c1840d878bd4b4acedb6612956916e4b4550c5b6479289ed36
e1f0ab61e20e87959888976086f8aecd96b3d444ba30e591e663093a4eeb8114
]]></artwork>
        </section>
        <section anchor="c21-requirement-a1">
          <name>C21 (requirement A1)</name>
          <t>Statement 01 with a signature of 63 bytes: a signature that is not 64 bytes gives sig_valid False, while the ToBeSigned reference matches.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 038bee2747145c0d7abfe7556a49265295686e82ba8cc879aad41c100d44512c (329 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = MATCH, is_scitt = True, sig_valid = False</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with its signature replaced by its first 63 bytes.</t>
        </section>
        <section anchor="c22-requirement-a1">
          <name>C22 (requirement A1)</name>
          <t>The candidate of C7, signed over the <tt>external_aad</tt> that C7 states, with that <tt>external_aad</tt> named and not supplied. There is no ToBeSigned, so match is INDETERMINATE and sig_valid is None; the missing <tt>external_aad</tt> is not replaced by an empty byte string.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 0a5390069e431e6dd83764ee276b28f69d34986a9e64d82f05ef3322bc66d61c (330 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = INDETERMINATE, is_scitt = True, sig_valid = None</t>
            </li>
          </ul>
          <t>The candidate is that of C7. The case names the external_aad of C7 and does not supply it.</t>
        </section>
        <section anchor="c23-requirement-a1">
          <name>C23 (requirement A1)</name>
          <t>Statement 01 with its payload replaced by nil and the payload of 01 supplied as the detached payload: ToBeSigned is that of 01, so the reference matches and the signature of 01 verifies.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 347983cb1677bfec025892ba5e04b222476ffacd67b66b7abefae62276030efa (195 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = MATCH, is_scitt = True, sig_valid = True</t>
            </li>
            <li>
              <t>with an empty detached payload: ref_usable = True, match = NO_MATCH, is_scitt = True, sig_valid = False</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with its payload replaced by nil; its protected header, unprotected header and signature are those of 01. The detached payload supplied with it is the payload of statement 01 (134 bytes).</t>
        </section>
        <section anchor="c24-requirement-a1">
          <name>C24 (requirement A1)</name>
          <t>The reference of Appendix A.1 as an array of indefinite length whose break byte is missing. The reference is therefore not well-formed CBOR: ref_usable is False and match is INDETERMINATE. A reader that ends the array at the end of the data would find a usable reference.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 9c7253617b9fe51ba25eb0f957dadea493ca03e98c4a81806237757f13d054c6 (330 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = False, match = INDETERMINATE, is_scitt = True, sig_valid = True</t>
            </li>
          </ul>
          <t>The candidate is statement 01 of Appendix A.1, as in C1. The reference is the reference of Appendix A.1 with the 1 byte at offset 0, 83, replaced by the 1 byte 9f (47 bytes, hex):</t>
          <artwork><![CDATA[
9f2f6a546f42655369676e65645820c3f5f13764679b9f77918bb52782480bc2
22be5ae4bce37f51384a6b1faa9dbc
]]></artwork>
        </section>
        <section anchor="c25-requirement-a1">
          <name>C25 (requirement A1)</name>
          <t>The reference of Appendix A.1 with the byte ff appended to its scheme text. The text string is not valid UTF-8, so the reference is not valid under RFC 8949 Section 5.3.1: ref_usable is False and match is INDETERMINATE. A reader that drops the invalid byte would see "ToBeSigned".</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 9c7253617b9fe51ba25eb0f957dadea493ca03e98c4a81806237757f13d054c6 (330 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = False, match = INDETERMINATE, is_scitt = True, sig_valid = True</t>
            </li>
          </ul>
          <t>The candidate is statement 01 of Appendix A.1, as in C1. The reference is the reference of Appendix A.1 with the 1 byte at offset 2, 6a, replaced by the 1 byte 6b, and the 1 byte ff inserted at offset 13 (48 bytes, hex):</t>
          <artwork><![CDATA[
832f6b546f42655369676e6564ff5820c3f5f13764679b9f77918bb52782480b
c222be5ae4bce37f51384a6b1faa9dbc
]]></artwork>
        </section>
        <section anchor="c26-requirement-a1">
          <name>C26 (requirement A1)</name>
          <t>The reference of Appendix A.1 as an array of four elements, with null after the digest. A reference has exactly three elements, so ref_usable is False and match is INDETERMINATE.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 9c7253617b9fe51ba25eb0f957dadea493ca03e98c4a81806237757f13d054c6 (330 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = False, match = INDETERMINATE, is_scitt = True, sig_valid = True</t>
            </li>
          </ul>
          <t>The candidate is statement 01 of Appendix A.1, as in C1. The reference is the reference of Appendix A.1 with the 1 byte at offset 0, 83, replaced by the 1 byte 84, and the 1 byte f6 inserted at offset 47 (48 bytes, hex):</t>
          <artwork><![CDATA[
842f6a546f42655369676e65645820c3f5f13764679b9f77918bb52782480bc2
22be5ae4bce37f51384a6b1faa9dbcf6
]]></artwork>
        </section>
        <section anchor="c27-requirement-a1">
          <name>C27 (requirement A1)</name>
          <t>The reference of Appendix A.1 with its alg written as the half-precision float -16.0. The alg of a reference is an integer, so ref_usable is False and match is INDETERMINATE, although -16.0 is numerically equal to -16.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 9c7253617b9fe51ba25eb0f957dadea493ca03e98c4a81806237757f13d054c6 (330 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = False, match = INDETERMINATE, is_scitt = True, sig_valid = True</t>
            </li>
          </ul>
          <t>The candidate is statement 01 of Appendix A.1, as in C1. The reference is the reference of Appendix A.1 with the 1 byte at offset 1, 2f, replaced by the 3 bytes f9cc00 (49 bytes, hex):</t>
          <artwork><![CDATA[
83f9cc006a546f42655369676e65645820c3f5f13764679b9f77918bb5278248
0bc222be5ae4bce37f51384a6b1faa9dbc
]]></artwork>
        </section>
        <section anchor="c28-requirement-a1">
          <name>C28 (requirement A1)</name>
          <t>The reference of Appendix A.1 with its scheme written as a byte string of the same ten bytes. The scheme of a reference is a text string, so ref_usable is False and match is INDETERMINATE.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 9c7253617b9fe51ba25eb0f957dadea493ca03e98c4a81806237757f13d054c6 (330 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = False, match = INDETERMINATE, is_scitt = True, sig_valid = True</t>
            </li>
          </ul>
          <t>The candidate is statement 01 of Appendix A.1, as in C1. The reference is the reference of Appendix A.1 with the 1 byte at offset 2, 6a, replaced by the 1 byte 4a (47 bytes, hex):</t>
          <artwork><![CDATA[
832f4a546f42655369676e65645820c3f5f13764679b9f77918bb52782480bc2
22be5ae4bce37f51384a6b1faa9dbc
]]></artwork>
        </section>
        <section anchor="c29-requirement-a1">
          <name>C29 (requirement A1)</name>
          <t>The reference of Appendix A.1 with its digest enclosed in tag 2. The digest of a reference is a byte string, and a tagged byte string is not one, so ref_usable is False and match is INDETERMINATE.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 9c7253617b9fe51ba25eb0f957dadea493ca03e98c4a81806237757f13d054c6 (330 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = False, match = INDETERMINATE, is_scitt = True, sig_valid = True</t>
            </li>
          </ul>
          <t>The candidate is statement 01 of Appendix A.1, as in C1. The reference is the reference of Appendix A.1 with the 1 byte c2 inserted at offset 13 (48 bytes, hex):</t>
          <artwork><![CDATA[
832f6a546f42655369676e6564c25820c3f5f13764679b9f77918bb52782480b
c222be5ae4bce37f51384a6b1faa9dbc
]]></artwork>
        </section>
        <section anchor="c30-requirement-a1">
          <name>C30 (requirement A1)</name>
          <t>Statement 01 followed by one byte 00. A candidate is one CBOR data item with nothing after it, so this candidate is not a statement: is_scitt is False, sig_valid is None, and under the usable reference match is NO_MATCH.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 3e240a4958ab3d2f76d1f1e3459b26c8e1a483eccd5d8c9417cd50dbdf761cea (331 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = NO_MATCH, is_scitt = False, sig_valid = None</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with the 1 byte 00 inserted at offset 330.</t>
        </section>
        <section anchor="c31-requirement-a1">
          <name>C31 (requirement A1)</name>
          <t>Statement 01 with tag 17 in place of tag 18. A candidate is bare or carries tag 18, so this candidate is not a statement: is_scitt is False, sig_valid is None and match is NO_MATCH.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 692b39d654f222c856ea7339c87b270bdc65ccedc390a38d4508f5a7c3f8f3cf (330 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = NO_MATCH, is_scitt = False, sig_valid = None</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with the 1 byte at offset 0, d2, replaced by the 1 byte d1.</t>
        </section>
        <section anchor="c32-requirement-a1">
          <name>C32 (requirement A1)</name>
          <t>Statement 01 with the head of its protected header removed, so that the header map stands in place of the byte string. The protected header of a candidate is a byte string, so this candidate is not a statement: is_scitt is False, sig_valid is None and match is NO_MATCH.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): f6cb7b0bc3e82edaade68a8a784c0229c9bf7f8f8cece1e0ab577971cbd60066 (328 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = NO_MATCH, is_scitt = False, sig_valid = None</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with the 2 bytes at offset 2, 587b, removed.</t>
        </section>
        <section anchor="c33-requirement-a1">
          <name>C33 (requirement A1)</name>
          <t>Statement 01 with an empty protected header, signed again under the issuer key. An empty protected header is allowed, so the candidate is a statement and its signature verifies, while its ToBeSigned differs from that of 01 and match is NO_MATCH.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 2d0fb6e6ccc7375c85f9f476d90cfad7fe308db74d681747a8a9526f692c4914 (206 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = NO_MATCH, is_scitt = True, sig_valid = True</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with the 125 bytes at offset 2 replaced by the 1 byte 40. Its 64 signature bytes are then replaced by a signature under the issuer key over its ToBeSigned (hex):</t>
<artwork><![CDATA[
b112d5a29033a656b5a1234df11edbba3f3ab754a5fbb23c1a60528963c6fa9a
2ab8edd4a0e94109ad24906b19e42c13d72540b79c3a89ead7ae3bcf1d5fe50b
]]></artwork>
        </section>
        <section anchor="c34-requirement-a1">
          <name>C34 (requirement A1)</name>
          <t>Statement 01 with a protected header that encodes an empty array. The protected header of a candidate is empty or encodes one map, so this candidate is not a statement: is_scitt is False, sig_valid is None and match is NO_MATCH.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): c12a7646b4a7e328072824f77265c986e7af2ec052f38df704ba25b9e655e7c5 (207 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = NO_MATCH, is_scitt = False, sig_valid = None</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with the 125 bytes at offset 2 replaced by the 2 bytes 4180.</t>
        </section>
        <section anchor="c35-requirement-a1">
          <name>C35 (requirement A1)</name>
          <t>Statement 01 with the byte 00 appended to the contents of its protected header, which then encode two data items. The protected header of a candidate encodes one map and nothing after it, so this candidate is not a statement: is_scitt is False, sig_valid is None and match is NO_MATCH.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 507dda35f8d7f07522141a42f9afdc35dedc75c4f4c467e11f212e6b5abb7253 (331 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = NO_MATCH, is_scitt = False, sig_valid = None</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with the 2 bytes at offset 2, 587b, replaced by the 2 bytes 587c, and the 1 byte 00 inserted at offset 127.</t>
        </section>
        <section anchor="c36-requirement-a1">
          <name>C36 (requirement A1)</name>
          <t>Statement 01 with an empty array in place of its unprotected header. The unprotected header of a candidate is a map, so this candidate is not a statement: is_scitt is False, sig_valid is None and match is NO_MATCH.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): e883588345c587c807569f3e8a8e2c4c965e95d6522065d21760254e89df6dd5 (330 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = NO_MATCH, is_scitt = False, sig_valid = None</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with the 1 byte at offset 127, a0, replaced by the 1 byte 80.</t>
        </section>
        <section anchor="c37-requirement-a1">
          <name>C37 (requirement A1)</name>
          <t>Statement 01 with its payload written as a text string of the same bytes. The payload of a candidate is a byte string or nil, so this candidate is not a statement: is_scitt is False, sig_valid is None and match is NO_MATCH.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 50334ddd13c606869ae090ac949e0979d0db9d9d251daa820654da3991a520fa (330 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = NO_MATCH, is_scitt = False, sig_valid = None</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with the 1 byte at offset 128, 58, replaced by the 1 byte 78.</t>
        </section>
        <section anchor="c38-requirement-a1">
          <name>C38 (requirement A1)</name>
          <t>Statement 01 with its signature enclosed in tag 2. The signature of a candidate is a byte string, and a tagged byte string is not one, so this candidate is not a statement: is_scitt is False, sig_valid is None and match is NO_MATCH.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): be9dea61106eb236d02d2bb381f9e5b6f2e097fb61c1f8be38c09755299c48e6 (331 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = NO_MATCH, is_scitt = False, sig_valid = None</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with the 1 byte c2 inserted at offset 264.</t>
        </section>
        <section anchor="c39-requirement-a1">
          <name>C39 (requirement A1)</name>
          <t>Statement 01 with the unprotected header {-70002: text}, where the text is the one byte ff, which is not valid UTF-8. The candidate is therefore not valid, and not a statement: is_scitt is False, sig_valid is None and match is NO_MATCH.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 4939091506e6f12cc2f79f55f59d9521b120d74df66c02d51e49d365f6a87a81 (337 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = NO_MATCH, is_scitt = False, sig_valid = None</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with the 1 byte at offset 127, a0, replaced by the 8 bytes a13a0001117161ff.</t>
        </section>
        <section anchor="c40-requirement-a1">
          <name>C40 (requirement A1)</name>
          <t>Statement 01 with the last byte of the content type "application/json" in its protected header replaced by ff, which makes the text string not valid UTF-8. The protected header is therefore not valid, and the candidate is not a statement: is_scitt is False, sig_valid is None and match is NO_MATCH.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 34b0034951bacf7cd8cd1ae4dee0ff0209226033d3f95a3018a5e263eeae2cf6 (330 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = NO_MATCH, is_scitt = False, sig_valid = None</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with the 1 byte at offset 24, 6e, replaced by the 1 byte ff.</t>
        </section>
        <section anchor="c41-requirement-a1">
          <name>C41 (requirement A1)</name>
          <t>Statement 01 with the unprotected header {1: 0, 1: 0}. The map holds two equal keys, so the candidate is not valid and not a statement: is_scitt is False, sig_valid is None and match is NO_MATCH.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 1d707343f23ca681436e6a8864decdfed235d3d9c6c0371efbc18c075d0346ba (334 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = NO_MATCH, is_scitt = False, sig_valid = None</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with the 1 byte at offset 127, a0, replaced by the 5 bytes a201000100.</t>
        </section>
        <section anchor="c42-requirement-a1">
          <name>C42 (requirement A1)</name>
          <t>Statement 01 with the unprotected header {1: 0, 1.0: 0}, 1.0 as a half-precision float. An integer and a floating-point value are distinct keys, so the candidate is a statement: the reference matches and the signature verifies.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 3c2d77cab18554bc03b7ecd4b5c651a3859afd1fdd4c8ddd626588eccc8e808f (336 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = MATCH, is_scitt = True, sig_valid = True</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with the 1 byte at offset 127, a0, replaced by the 7 bytes a20100f93c0000.</t>
        </section>
        <section anchor="c43-requirement-a1">
          <name>C43 (requirement A1)</name>
          <t>Statement 01 with the unprotected header {1: 0, true: 0}. The integer 1 and true are distinct keys, so the candidate is a statement: the reference matches and the signature verifies.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 7a9f8dc2a4fe2dc440dbb9e88e8ef90548069aedeeb41619a95ea2aefb552eab (334 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = MATCH, is_scitt = True, sig_valid = True</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with the 1 byte at offset 127, a0, replaced by the 5 bytes a20100f500.</t>
        </section>
        <section anchor="c44-requirement-a1">
          <name>C44 (requirement A1)</name>
          <t>Statement 01 with the unprotected header {0.0: 0, -0.0: 0}, both half-precision floats. 0.0 and -0.0 are one key, so the map holds two equal keys and the candidate is not a statement: is_scitt is False, sig_valid is None and match is NO_MATCH.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 873a50d499d9579ff016c314f4279b9394cc2301a1d70e3fab875fa4d3d16e12 (338 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = NO_MATCH, is_scitt = False, sig_valid = None</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with the 1 byte at offset 127, a0, replaced by the 9 bytes a2f9000000f9800000.</t>
        </section>
        <section anchor="c45-requirement-a1">
          <name>C45 (requirement A1)</name>
          <t>Statement 01 with an unprotected header of two half-precision NaN keys whose significands differ, f9 7e00 and f9 7e01. They are distinct keys, so the candidate is a statement: the reference matches and the signature verifies.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): ea1104aaebfb99905e414ecfc8f58b8301d4887984960365db5e92a10084b9b7 (338 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = MATCH, is_scitt = True, sig_valid = True</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with the 1 byte at offset 127, a0, replaced by the 9 bytes a2f97e0000f97e0100.</t>
        </section>
        <section anchor="c46-requirement-a1">
          <name>C46 (requirement A1)</name>
          <t>Statement 01 with an unprotected header of two NaN keys, the half-precision f9 7e00 and the single-precision fa 7fc00000, whose significands are equal after both are zero-extended at the right to 64 bits. They are one key, so the map holds two equal keys and the candidate is not a statement: is_scitt is False, sig_valid is None and match is NO_MATCH.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 02661d39fbc6d9d2cec8c9e897cac75469fb6a6cfe8e66a270bd439aa35162c5 (340 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = NO_MATCH, is_scitt = False, sig_valid = None</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with the 1 byte at offset 127, a0, replaced by the 11 bytes a2f97e0000fa7fc0000000.</t>
        </section>
        <section anchor="c47-requirement-a1">
          <name>C47 (requirement A1)</name>
          <t>Statement 01 with the unprotected header {[1]: 0, [1]: 0}. Two arrays with equal elements are equal keys, so the candidate is not a statement: is_scitt is False, sig_valid is None and match is NO_MATCH.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): c50acc50b04489eaea57e36c00dd6d0b9f858ff264ec691047422192a7e31873 (336 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = NO_MATCH, is_scitt = False, sig_valid = None</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with the 1 byte at offset 127, a0, replaced by the 7 bytes a2810100810100.</t>
        </section>
        <section anchor="c48-requirement-a1">
          <name>C48 (requirement A1)</name>
          <t>Statement 01 with the unprotected header {-70002: 1("x")}, tag 1 around a text string, which is not valid content for tag 1. Whether the content of a tag is valid for that tag is not checked, so the candidate is a statement: the reference matches and the signature verifies.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 5e910fd4676c445dee82621a14d8f89811f17336280f63038cc8bccc6c11c791 (338 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = MATCH, is_scitt = True, sig_valid = True</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with the 1 byte at offset 127, a0, replaced by the 9 bytes a13a00011171c16178.</t>
        </section>
        <section anchor="c49-requirement-a1">
          <name>C49 (requirement A1)</name>
          <t>The candidate of C17, which is not a statement, under the reference of C13, which is not well-formed. Under an unusable reference match is INDETERMINATE, not NO_MATCH; is_scitt is False and sig_valid is None.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): e93f290f6b71e86a570f32f20dcf2c20440f6e090c9e0dc017a971abdc6f8ef7 (264 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = False, match = INDETERMINATE, is_scitt = False, sig_valid = None</t>
            </li>
          </ul>
          <t>The candidate is that of C17, and the reference is that of C13.</t>
        </section>
        <section anchor="c50-requirement-a1">
          <name>C50 (requirement A1)</name>
          <t>The ToBeSigned scheme with alg -44 (SHA-512) and a reference whose digest is SHA-512 over the ToBeSigned of statement 01. The reference is usable, the digests are equal, and the signature verifies.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 9c7253617b9fe51ba25eb0f957dadea493ca03e98c4a81806237757f13d054c6 (330 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = MATCH, is_scitt = True, sig_valid = True</t>
            </li>
          </ul>
          <t>The candidate is statement 01 of Appendix A.1, as in C1. The named scheme is the ToBeSigned scheme with alg -44. The reference, [-44, "ToBeSigned", digest] with SHA-512 over the ToBeSigned of statement 01 as its digest, is (80 bytes, hex):</t>
          <artwork><![CDATA[
83382b6a546f42655369676e6564584006b15f9394faa354ef476ad832429fc7
93b6371261264ef4e3dcd22ac01378a4da24bf58b43706a17ecff8cf9a45c8fd
602e69927b80b8510ad2cd739e2119cd
]]></artwork>
        </section>
        <section anchor="c51-requirement-a1">
          <name>C51 (requirement A1)</name>
          <t>The reference of Appendix A.1 with the head of its array written with a one-byte length argument, 98 03 in place of 83. The deterministic encoding of a reference is not required, so the reference is usable: the reference matches and the signature verifies.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 9c7253617b9fe51ba25eb0f957dadea493ca03e98c4a81806237757f13d054c6 (330 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = MATCH, is_scitt = True, sig_valid = True</t>
            </li>
          </ul>
          <t>The candidate is statement 01 of Appendix A.1, as in C1. The reference is the reference of Appendix A.1 with the 1 byte at offset 0, 83, replaced by the 2 bytes 9803 (48 bytes, hex):</t>
          <artwork><![CDATA[
98032f6a546f42655369676e65645820c3f5f13764679b9f77918bb52782480b
c222be5ae4bce37f51384a6b1faa9dbc
]]></artwork>
        </section>
        <section anchor="c52-requirement-a1">
          <name>C52 (requirement A1)</name>
          <t>Statement 01 with the head of its array, 84, replaced by 9f, the head of an array of indefinite length, and no break byte at its end. The candidate is not well-formed CBOR, so it is not a statement: is_scitt is False, sig_valid is None and match is NO_MATCH. A reader that ends the array at the end of the data would find statement 01.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 432f9cd95bfadbca540e3a86ec01db1eacfab275fbf10b2f2d52d49c63843c5a (330 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = NO_MATCH, is_scitt = False, sig_valid = None</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with the 1 byte at offset 1, 84, replaced by the 1 byte 9f.</t>
        </section>
        <section anchor="c53-requirement-a1">
          <name>C53 (requirement A1)</name>
          <t>Statement 01 with an unprotected header whose two keys are the maps {1: 2, 3: 4} and {3: 4, 1: 2}. Two maps with the same pairs are equal keys regardless of order, so the candidate is not valid and not a statement: is_scitt is False, sig_valid is None and match is NO_MATCH.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 91f2f491e7807b5e2af38f522803ea31cf2656254099f05df543dd43e445f9e4 (342 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = NO_MATCH, is_scitt = False, sig_valid = None</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with the 1 byte at offset 127, a0, replaced by the 13 bytes a2a20102030400a20304010200.</t>
        </section>
        <section anchor="c54-requirement-a1">
          <name>C54 (requirement A1)</name>
          <t>Statement 01 with an unprotected header whose two keys are tag 1 around the integer 0, once encoded as c1 00 and once as c1 18 00. Two tagged values with the same tag number and equal contents are equal keys, so the candidate is not valid and not a statement: is_scitt is False, sig_valid is None and match is NO_MATCH.</t>
          <ul spacing="normal">
            <li>
              <t>candidate SHA-256 (whole COSE_Sign1): 94b724c635a5c06e263ffb63c3c4409a989e6f2a578643ae3788ced8a07fd6c8 (337 bytes)</t>
            </li>
            <li>
              <t>measured: ref_usable = True, match = NO_MATCH, is_scitt = False, sig_valid = None</t>
            </li>
          </ul>
          <t>The candidate is statement 01 with the 1 byte at offset 127, a0, replaced by the 8 bytes a2c10000c1180000.</t>
        </section>
      </section>
    </section>
    <section numbered="false" anchor="acknowledgments">
      <name>Acknowledgments</name>
      <t>The author used AI tools to help draft this document and to generate and
cross-check its examples. The author reviewed the entire text and is responsible
for it.</t>
      <t>Citing adjacent work in the References does not imply that its authors endorse this
document.</t>
    </section>
    <section numbered="false" anchor="provenance">
      <name>Provenance</name>
      <t>The requirements in Section 4 are drawn from the requirements note at the commit cited in
Section 11. The illustrative cases in Appendix A were generated for this document; Section 11 separately
identifies the sources of the reported measurement.</t>
    </section>
    <section numbered="false" anchor="changes-to-be-removed-before-publication">
      <name>Changes (to be removed before publication)</name>
      <section numbered="false" anchor="since-draft-gruszka-scitt-statement-identification-03">
        <name>Since draft-gruszka-scitt-statement-identification-03</name>
        <ul spacing="normal">
          <li>
            <t>Section 5.3 keeps four identities apart: the signing input, a particular signature instance, the
complete serialized COSE object, and the statement together with its external content and context. A record that
binds the whole object to its external inputs is left out of scope and planned as a separate document.</t>
          </li>
          <li>
            <t>Section 5.4 states that two digests over two named objects of the same statement describe a relation,
not an error, and Section 10 adds the question whether and where a party that changes the representation records
what it changed.</t>
          </li>
          <li>
            <t>Section 6 keeps UNSUPPORTED, negative and INDETERMINATE results apart.</t>
          </li>
          <li>
            <t>Section 6 names the eight hash functions with a fixed output length of <xref target="RFC9054"/> that a
well-formed reference can name.</t>
          </li>
          <li>
            <t>Section 6 states that the validity rules of <xref target="RFC8949"/> Section 5.3.1 apply to the
reference as to the candidate.</t>
          </li>
          <li>
            <t>Section 6 states how integer and floating-point keys, NaN keys and compound keys compare under
<xref target="RFC8949"/> Section 5.6.1, how SHA-256/64 and SHA-512/256 are read, which hash functions a verifier of
the cases implements, the largest size and depth of a case input, and that a result with a rule left out is not a
result under the profile. Section 5.1 states the encoding of the Sig_structure.</t>
          </li>
          <li>
            <t>Section 6 states which verifier, leaving out which rule, gives another result for C18 to C20, and that no
case exercises rules 1 and 2 for A or a batch verification.</t>
          </li>
          <li>
            <t>Section 6 says that the read check of the candidate is a performed check, so that a candidate that
fails it gives NO_MATCH under a usable reference, and that a reference whose alg names a hash function outside the
eight is not well-formed for these cases.</t>
          </li>
          <li>
            <t>Section 6 says that the alg of the protected header is part of ToBeSigned, so that the identification rule
does not depend on the signature algorithm while a statement signed under another alg has another reference.</t>
          </li>
          <li>
            <t>Cases C24 to C54 are added for checks of Section 6: the form, validity and encoding of a reference, the
form and validity of a candidate and its headers, the equivalence of map keys, a tag whose content is not checked, a
candidate that is not a statement under an unusable reference, and a reference under SHA-512. Table 3 lists every
check of Section 6 with the cases that exercise it or, for a check that no case exercises, the reason.</t>
          </li>
          <li>
            <t>Section 6 cites CBOR::Core <xref target="I-D.rundgren-cbor-core"/> on duplicate map keys and the
deterministic encoding, cites <xref target="I-D.ietf-cbor-cde"/> for information as well, and keeps the key
equivalence of <xref target="RFC8949"/> Section 5.6.1.</t>
          </li>
          <li>
            <t>Section 6 states that an <tt>external_aad</tt> or a detached payload that is not supplied gives
<tt>match</tt> INDETERMINATE and <tt>sig_valid</tt> None.</t>
          </li>
          <li>
            <t>Section 6 names the four rules for <tt>sig_valid</tt> as the profile <tt>sid-ed25519-strict</tt>, names
rule 2 as a restriction that <xref target="RFC8032"/> does not make, and gives the result of C11 under each equation.</t>
          </li>
          <li>
            <t>Section 7 says that a whole-bytes identifier changes when the unprotected header or outer encoding is
rewritten, that a reference match under the ToBeSigned scheme shows only that the signing input
of the candidate is that of the designated statement, and
that a whole-object identifier does not cover a detached payload or an <tt>external_aad</tt>.</t>
          </li>
          <li>
            <t>Section 11 reports the second reader by Toshikatsu Oga (The HORIZONs Co., Ltd.) with its two limits,
the comparison of 988 single-byte mutants, and the six levels of assurance, and keeps the test between two
independent Transparency Services open.</t>
          </li>
          <li>
            <t>Section 11 no longer states that the ToBeSigned matches at the archived emulator were the same; it
states that the emulator registered the adapted statements and returned each submitted byte sequence unchanged.</t>
          </li>
          <li>
            <t>Cases C1 to C14, their candidates and their expected results are unchanged.</t>
          </li>
          <li>
            <t>Cases C15 to C23 are added, each for one check of Section 6 that C1 to C14 do not exercise: a named
scheme the verifier does not implement, a reference with a byte after it, a candidate that is not a COSE_Sign1, each
of rules 1 to 3, a signature of 63 bytes, a named <tt>external_aad</tt> that is not supplied, and a detached payload
under which the signature verifies. Section 6 states for every case which <tt>external_aad</tt> and which detached
payload it is supplied with.</t>
          </li>
        </ul>
      </section>
      <section numbered="false" anchor="since-draft-gruszka-scitt-statement-identification-02">
        <name>Since draft-gruszka-scitt-statement-identification-02</name>
        <ul spacing="normal">
          <li>
            <t>Section 2.1 cites the framing-space measurement
<xref target="I-D.templeman-scitt-framing-space"/> and states that a digest over the
transmitted octets and the ToBeSigned rule of Section 5.1 identify different
objects.</t>
          </li>
          <li>
            <t>Appendix A gives each case as a base statement or as a stated change to one, with the length and SHA-256 of the candidate; apart from the bytes that a stated change names, a case gives bytes in full only for new signature bytes and for inputs that Appendices A.1 and A.2 do not contain, such as the external_aad of C7 and the references of C13 and C14. C8 says what its signature bytes were made over, and the opening of Appendix A.3 names the stated key of Section 6 for every case. Section 5.1 states which payload enters ToBeSigned when a detached payload is supplied, and C1 and C8 show it. Cases C1 to C12, their candidates and their expected results are unchanged.</t>
          </li>
          <li>
            <t>Section 6 defines, for the cases of this document only, when a reference is well-formed and when it is compatible with the named scheme. Cases C13, a digest of 31 bytes, and C14, the scheme <tt>"WholeBytes"</tt>, are added, each with ref_usable False and match INDETERMINATE. Section 11 and the earlier Changes item on its measurement now name cases C1 to C12, the cases that measurement covered.</t>
          </li>
          <li>
            <t><xref target="I-D.mih-sokolov-scitt-payload-binding"/> is cited as revision -06; Section 2.1 follows its section numbers.</t>
          </li>
        </ul>
      </section>
      <section numbered="false" anchor="since-draft-gruszka-scitt-statement-identification-01">
        <name>Since draft-gruszka-scitt-statement-identification-01</name>
        <ul spacing="normal">
          <li>
            <t>In requirement A2, "may" is no longer written in capitals; recomputing a
target digest is not a permission in the sense of BCP 14.</t>
          </li>
          <li>
            <t>Requirement A5 says that the illustrative cases in Section 6 do not
test leaf hashing or Receipts.</t>
          </li>
          <li>
            <t>Section 11 adds the measurement of the package on the main branch of its repository against cases C1 to C12 of Section 6, and the result of a further
checker written from the text.</t>
          </li>
          <li>
            <t>Section 11 adds a local check of inclusion receipts from three
instances of the ledger and cites pull request 31 of the CCF Receipt
profile <xref target="CCF-DATA-HASH"/>.</t>
          </li>
          <li>
            <t>The Open Items section is removed. The references were checked against
the published documents on 2026-10-12; Open Question 2 stays in
Section 10.</t>
          </li>
          <li>
            <t>This appendix is added.</t>
          </li>
        </ul>
      </section>
      <section numbered="false" anchor="since-draft-gruszka-scitt-statement-identification-00">
        <name>Since draft-gruszka-scitt-statement-identification-00</name>
        <ul spacing="normal">
          <li>
            <t>Case C12 (requirement A4) is added: statement 01 with the head of
its array written with a one-byte length argument, so that the
ToBeSigned reference matches and the signature verifies while
the whole-object digest changes. Its bytes are in Appendix A.</t>
          </li>
          <li>
            <t>Section 11 adds a second local measurement, on 2026-10-11, with
two implementations, the ledger and an archived emulator.
Section 4.4 refers to it and to cases C5 and C12, and states that
the emulator's receipts are not COSE Receipts, so the measurement
is not a test of two Transparency Services.</t>
          </li>
        </ul>
      </section>
    </section>
  </back>

</rfc>
