3.2.5.4.4 ENCRYPTED_SESSION_KEY Message

The syntax of this message is specified in section 2.2.2.4. The RPID field (as specified in section 2.2.1) of this message MUST be zeroed out.

The server MUST send this message to the client as a response to the PUBLIC_KEY message (section 3.2.5.4.3).

The server MUST generate a session key (section 3.1.1.2.7), if one is not already generated, and send the session key as part of an ENCRYPTED_SESSION_KEY message to the client using a wxf:ReceiveResponse message (section 3.2.5.3.8) targeted to RunspacePool.

When this message is sent, the RunspacePool MUST be in an Opened state.