2.2.2.4 EncryptedBringUpSuccessResponse Structure
The EncryptedBringUpSuccessResponse structure is used to contain an encrypted BringUpSuccessResponse message (section 2.2.3.2).
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
header |
Value (variable) |
||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
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 11 (EncryptedBringUpSuccessResponse), as specified in TypeId enumeration (section 2.2.1.3), and the value of the Length field is variable.
Value (variable): The Value field contains an encrypted BringUpSuccessResponse message (section 2.2.3.2). The message is encrypted using AES-256 in cipher block chaining (CBC) mode, with PKCS#7 padding used to encrypt the message. The encryption key is a 256-bit key (K2) already known by both the server and the client. A randomly generated initialization vector is used. This initialization vector is communicated to the client through the InitializationVector structure. Because the length of the Length field within the CommonHeader structure is 2 bytes, the length of the encrypted message is limited to a maximum of 65,535 bytes.