2.2.2.6 HMAC Structure
The HMAC structure is used to contain a SHA-256 HMAC.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
header |
Value (32 bytes) |
||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
header (3 bytes): The header field contains the CommonHeader structure (section 2.2.2.2), where the value of the Id field is set to 9 (HMAC), as specified in TypeId enumeration (section 2.2.1.3), and the value of the Length field set to 32 bytes.
Value (32 bytes): The Value field contains the 32 bytes making up the SHA-256 HMAC.