3.3.5.5 SecDeviceAccountRegister

The SecDeviceAccountRegister message contains information for device registration, and an account layer message. The account layer message can be either SecAccountRegister or SecAccountOnNewDeviceRegister, depending whether the client wants to register a new account or an account on a new device. The server identifies the type of the account layer messages by checking the message identifier in the message header. If the relay server cannot parse the account layer message, it SHOULD<13> send an SSTP Close command to close the session designated by the EventID field in the Register command.

The following sections describe how the relay server processes the SecDeviceAccountRegister message according to the type of the account layer messages in the SecDeviceAccountRegister message.