2.2.1.4 REMOTEDESKTOP_CTL_AUTHENTICATE_PACKET

The REMOTEDESKTOP_CTL_AUTHENTICATE_PACKET is the expert authentication response packet. The expert sends this packet that includes the Remote Assistance connection string to the novice requesting authentication. The REMOTEDESKTOP_CTL_AUTHENTICATE_PACKET is used only when the novice or expert is using version 1.


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

packetHeader (72 bytes)

...

...

bufHeader

raConnectionString (variable)

...

expertBlob (variable)

...

packetHeader (72 bytes): The REMOTEDESKTOP_CTL_PACKETHEADER part of the packet. The virtual channel name MUST be set to "RC_CTL".

bufHeader (4 bytes): The REMOTEDESKTOP_CTL_BUFHEADER part of the packet. The packet type MUST be set to REMOTEDESKTOP_CTL_AUTHENTICATE.

raConnectionString (variable): A NULL-terminated, variable-length Unicode string containing the Remote Assistance connection string, as specified in [MS-RAI] sections 2.2.1 and 2.2.2.

expertBlob (variable): A NULL-terminated, variable-length, semicolon-delimited, Unicode-based set of PropertyName, PropertyValue pairs. Each pair is also prefixed with the length of the characters in the pair, including the equal (=) sign. For example, if PropertyName is "NAME", and PropertyValue is "John", the value of expertBlob is "9;NAME=John". This is a mechanism to provide more information about the expert that is connecting to the novice. "NAME" and "PASS" are the only two properties used in expertBlob. The PASS property is used when the Remote Assistance Invitation File is protected by a password in version 1, or when a version 1 expert is making a connection with a Remote Assistance Invitation File. The PASS property value is a string that contains the result of encrypting the PassStub in the Remote Assistance Invitation File with the password. For more details, see [MS-RAI] section 6.