1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 header Value (variable) ... ... header (3 bytes): The header field contains the CommonHeader structure (section ), where the value of the field is set to 6 (ErrorString), as specified in enumeration (section ), and Id TypeId the value of the Length field is variable. The field contains the error message string. Because the length of the Value (variable): Value Length field within the CommonHeader structure is 2 bytes, the length of the error message string is limited to a maximum of 65,535 bytes. HMAC Structure The HMAC structure is used to contain a SHA-256 HMAC. 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 header (32 bytes) ... ... ... ... header (3 bytes): The header field contains the CommonHeader structure (section ), where the value of the Id field is set to 9 (HMAC), as specified in TypeId enumeration (section ), and the value of the Length field set to 32 bytes. (32 bytes): The Value field contains the 32 bytes making up the SHA-256 HMAC. InitializationVector Structure The InitializationVector structure is used to contain the initialization vector used to encrypt the EncryptedBringUpSuccessResponse structure (section ) in the BringUpSuccessResponseUnpaired message (section ). 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 header ...
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 header Value (variable) ... ... header (3 bytes): The header field contains the CommonHeader structure (section ), where the value of the Id field is set to 6 (ErrorString), as specified in TypeId enumeration (section ), and the value of the Length field is variable. Value (variable): The Value field contains the error message string. Because the length of the Length field within the CommonHeader structure is 2 bytes, the length of the error message string is limited to a maximum of 65,535 bytes. HMAC Structure The HMAC structure is used to contain a SHA-256 HMAC. 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 header (32 bytes) ... ... ... ... header (3 bytes): The header field contains the CommonHeader structure (section ), where the value of the Id field is set to 9 (HMAC), as specified in TypeId enumeration (section ), and the value of the Length field set to 32 bytes. (32 bytes): The Value field contains the 32 bytes making up the SHA-256 HMAC. InitializationVector Structure The InitializationVector structure is used to contain the initialization vector used to encrypt the EncryptedBringUpSuccessResponse structure (section ) in the BringUpSuccessResponseUnpaired message (section ). 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 header ...