Skip to main content

2. Countersignature Header Parameters

This section defines a set of common header parameters. A summary of these header parameters can be found in Table 1. This table should be consulted to determine the value of the label and the type of the value.

The set of header parameters defined in this section is:

V2 countersignature: This header parameter holds one or more countersignature values. Countersignatures provide a method of having a second party sign some data. The countersignature header parameter can occur as an unprotected attribute in any of the following structures that are defined in [RFC9052]: COSE_Sign1, COSE_Signature, COSE_Encrypt, COSE_recipient, COSE_Encrypt0, COSE_Mac, and COSE_Mac0. Details of version 2 countersignatures are found in Section 3.

NameLabelValue TypeDescription
Countersignature version 211COSE_Countersignature / [+ COSE_Countersignature ]V2 countersignature attribute
Countersignature0 version 212COSE_Countersignature0V2 Abbreviated Countersignature

Table 1: Common Header Parameters

The CDDL fragment that represents the set of header parameters defined in this section is given below. Each of the header parameters is tagged as optional because they do not need to be in every map; however, the header parameters required in specific maps are discussed above.

CountersignatureV2_header = (
? 11 => COSE_Countersignature / [+ COSE_Countersignature]
)

Countersignature0V2_header = (
? 12 => COSE_Countersignature0
)