1MacedPublicKey = [                     ; COSE_Mac0 [RFC9052 s6.2]
2    protected: bstr .cbor { 1 : 5},    ; Algorithm : HMAC-256
3    unprotected: { },
4    payload : bstr .cbor PublicKey,
5    tag : bstr ; HMAC-256(K_mac, MAC_structure)
6]
7
8MAC_structure = [                      ; [RFC9052 s6.3]
9    context : "MAC0",
10    protected : bstr .cbor { 1 : 5 },
11    external_aad : bstr .size 0,
12    payload : bstr .cbor PublicKey
13]
14
15; INCLUDE PublicKey.cddl for: PublicKey
16