OPTIGA™ Trust M
Host Library Documentation
metadata_object_confidentiality.h
Go to the documentation of this file.
1 
41 const uint8_t manifest_metadata[] =
42 {
43  // COSE Sign1 Trust
44  0x84,
45  // Protected signed header trust
46  0x43,
47  // Trust Sign Algorithm
48  0xA1,
49  // ECDSA
50  0x01, 0x26,
51  // Unprotected signed header trust
52  0xA1,
53  // Root of trust
54  0x04, 0x42,
55  // Trust Anchor OID
56  0xE0, 0xE3,
57  // Payload info Byte string of single byte length
58  0x58,
59  // Byte string length of manifest
60  0x9B,
61  // Trust manifest, array of 6 entries
62  0x86,
63  // Version(Major Type 0)
64  0x01,
65  // NULL
66  0xF6,
67  // NULL
68  0xF6,
69  // Resources, array of 4 entries
70  0x84,
71  // Trust Payload Type
72  0x21,
73  // Payload Length
74  0x0D,
75  // Trust Payload version
76  0x03,
77  // Trust Add info data
78  0x82,
79  // content reset
80  0x00,
81  // additional flag
82  0x00,
83  // Trust Processors, array of 2 entries
84  0x82,
85  // Processing step integrity, array of 2 entries
86  0x82,
87  // Process( Major Type 1)
88  0x20,
89  // Parameters, byte string with single byte length
90  0x58,
91  // Byte string length
92  0x25,
93  // IFX Digest info, array of 2 entries
94  0x82,
95  // Digest Algorithm
96  0x18,
97  // SHA-256
98  0x29,
99  // Digest
100  0x58,
101  // Byte string length
102  0x20,
103  // Digest data
104  0x8D, 0x4F, 0xD1, 0x71, 0x7A, 0xDC, 0xD5, 0x3F,
105  0x47, 0x17, 0x3D, 0x89, 0x29, 0xC8, 0x87, 0xDD,
106  0x64, 0x73, 0xD0, 0x0F, 0x3B, 0x74, 0x7B, 0xA9,
107  0x0A, 0x55, 0xEA, 0x95, 0x35, 0x35, 0xBF, 0xD2,
108  // Processing step decrypt, array of 2 entries
109  0x82,
110  // Process( Major Type 0)
111  0x01,
112  // COSE_Encrypt_Trust array of 3 entries
113  0x83,
114  // protected-encrypt-header-Trust
115  0x43,
116  // Map
117  0xA1,
118  // Key
119  0x01,
120  // AES-CCM-16-64-128, 128-bit key, 64-bit Authentication(MAC) tag, 13-byte nonce
121  0x0A,
122  // recipients array of 1
123  0x81,
124  // COSE_Recipient_Trust array of 2
125  0x82,
126  // protected-recipient-header-Trust
127  0x58,
128  // byte str
129  0x54,
130  // Map of 3
131  0xA3,
132  // Key
133  0x04,
134  // Value
135  0x42,
136  // Shared secret OID
137  0xF1, 0xD1,
138  // Key
139  0x01,
140  // Value (KeyDerivationAlgorithms)
141  0x3A, 0x00, 0x01, 0x00, 0xB7,
142  // Key
143  0x05,
144  // Value array of 2
145  0x82,
146  0x44,
147  // label(4)
148  0x74, 0x65, 0x73, 0x74,
149  0x58,
150  0x40,
151  // seed(64)
152  0x43, 0xBB, 0xB9, 0xEC, 0x7F, 0x97, 0xE1, 0xA2,
153  0xE3, 0x69, 0x85, 0xC6, 0x2A, 0x3B, 0x30, 0x88,
154  0x06, 0xBC, 0x1E, 0x56, 0xB5, 0x92, 0x2D, 0x37,
155  0x40, 0x64, 0x02, 0xBD, 0xA6, 0x68, 0x49, 0x9F,
156  0xC6, 0x4F, 0x00, 0x02, 0xDD, 0x3D, 0x28, 0xE8,
157  0x1D, 0x42, 0x04, 0x98, 0xF9, 0x93, 0xAC, 0x79,
158  0x89, 0x41, 0x00, 0xE6, 0x65, 0x56, 0xEF, 0x34,
159  0x51, 0x9B, 0xED, 0x56, 0xBA, 0xBC, 0xB8, 0xC8,
160  // ciphertext-recipient-header-Trust
161  0xF6,
162  // AdditionalInfo
163  0xF6,
164  // Trust Target
165  0x82,
166  // Component identifier(0)
167  0x40,
168  // Storage identifier
169  0x42,
170  // Optiga target OID
171  0xE0, 0xE2,
172  // Signature info, byte string of single byte length
173  0x58,
174  // Byte string length for ECC 256
175  0x40,
176  // Signature data
177  0xEE, 0xBD, 0x47, 0x34, 0x4E, 0x7A, 0x30, 0x9D, 0x85, 0x55, 0x3D, 0xEE, 0xDD, 0x73, 0xCF, 0xD3,
178  0x92, 0x54, 0x2D, 0x07, 0x36, 0x8C, 0xFD, 0x9B, 0x5E, 0x4B, 0x69, 0xF0, 0xEC, 0x34, 0x15, 0xE0,
179  0x55, 0x11, 0xC9, 0xE5, 0xD6, 0x50, 0xC7, 0xB9, 0x4C, 0xA0, 0xEE, 0x46, 0x1A, 0x1A, 0xE9, 0x2C,
180  0xD8, 0x37, 0x84, 0x2B, 0x13, 0x94, 0x29, 0x30, 0xF2, 0xE0, 0x1E, 0xC7, 0xB9, 0xBA, 0x82, 0x42,
181 };
182 
187 {
188  0x38, 0x3B, 0xFE, 0x8C, 0x8C, 0x95, 0x3D, 0x1B, 0x84, 0x91, 0x85, 0x57, 0xC1, 0xCA, 0x9D, 0xED,
189  0xF6, 0xF8, 0x9B, 0xBC, 0x58,
190 };
191 
manifest_metadata
const uint8_t manifest_metadata[]
Definition: metadata_object_confidentiality.h:41
metadata_final_fragment_array
const uint8_t metadata_final_fragment_array[]
Definition: metadata_object_confidentiality.h:186