2.2.3.2 SIGNATURE

The SIGNATURE structure carries the encoding of a signature for a CPA or an EXTENDED_PAYLOAD structure.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Field Length

Signature Length

ALG_ID

Signature Data (variable)

...

Field Length (2 bytes): Number of bytes, in little-endian byte order, in the CPA structure. MUST be set to 0x0088.

Signature Length (2 bytes): Number of bytes, in little-endian byte order, in the Signature Data field. MUST be set to 0x0080.

ALG_ID (4 bytes): Hash algorithm identifier, in little-endian byte order. MUST be set to 0x00008004, indicating the RSASSA-PKCS1-v1_5 ([RFC8017] section 8.2) algorithm.

Signature Data (variable): Signature created when signing the CPA.