TR-31 key block header
Offset (bytes) | Length (bytes) | TR-31 key block header field name |
---|---|---|
0 | 1 | Key block version ID. Identifies the version of the key block, which defines the
method by which it is cryptographically protected and the content and layout of the block. The allowed key block version ID values depend upon the Key Context value (offset 14 in KBH). Internal key blocks, those that have a The following key block version ID values defined by TR-31 are the only ones supported by CCA:
|
1 | 4 | Key block length. Provides the key-block length after encoding. Length includes the entire block (header + encrypted confidential data + MAC). |
5 (1 of 13) | 2 | Key usage. Provides information about the intended function of the protected
key/sensitive data. The following key usage values defined by TR-31 are the only ones supported
by CCA:
|
5 (2 of 13) | 2 |
|
5 (3 of 13) | 2 |
|
5 (4 of 13) | 2 |
|
5 (5 of 13) | 2 |
|
5 (6 of 13) | 2 |
|
5 (7 of 13) | 2 |
|
5 (8 of 13) | 2 |
|
5 (9 of 13) | 2 |
|
5 (10 of 13) | 2 |
|
5 (11 of 13) | 2 |
As defined by TR-31, numeric key block version IDs are reserved for proprietary key block definitions. Note: DK is an abbreviation for Die Deutsch Kreditwirtschaft, which is the German Banking
Industry Committee (GBIC). A supported DK proprietary block always includes a 16-byte optional block
that is valued to the following ASCII characters:
|
5 (12 of 13) | 2 |
As defined by TR-31, numeric key block version IDs are reserved for proprietary key block definitions. Note: DK is an abbreviation for Die Deutsch Kreditwirtschaft, which is the German Banking
Industry Committee (GBIC). A supported DK proprietary block always includes a 16-byte optional block
that is valued to the following ASCII characters:
|
5 (13 of 13) |
The following proprietary key usage values are the only ones supported by CCA:
|
|
7 | 1 | Algorithm. The approved algorithm for which the protected key may be used. The following algorithm values defined by TR-31 are the only ones supported by CCA:
|
8 | 1 | Mode of use. Defines the operation the protected key can perform. The following mode of use values defined by TR-31 are the only ones supported by CCA:
|
9 | 2 | Key version number. Version number used to indicate that contents of the key block is a component, or to prevent reinjection of old keys. |
11 | 1 | Exportability. Defines whether the protected key may be transferred outside the
cryptographic domain in which the key is found. The following exportability values defined by TR-31 are the only ones supported by CCA:
|
12 | 2 | Number of optional blocks. Defines the number of optional blocks included in the key block. The minimum value is zero and the maximum is 99. |
14 | 2 | Key Context: Defines whether the key block is in a key exchange context (wrapped by a
transport key) or in a storage context, for example, wrapped by the master file key (MFK). The
Key Context. value does not require a certain Exportability setting. The values are:
|