2.2.1.2 TSCredentials

The TSCredentials structure contains both the user's credentials that are delegated to the server and their type.<14>

 TSCredentials ::= SEQUENCE {
         credType    [0] INTEGER,
         credentials [1] OCTET STRING
 }

credType: An unsigned integer encoded as an ASN.1 INTEGER that defines the type of credentials that are carried in the credentials field. The credType field MUST be one of the following values.

Value

Meaning

1

credentials contains a TSPasswordCreds structure (section 2.2.1.2.1) that defines the user's password credentials.

2

credentials contains a TSSmartCardCreds structure (section 2.2.1.2.2) that defines the user's smart card credentials.

6

credentials contains a TSRemoteGuardCreds structure (section 2.2.1.2.3) that defines the user's redirected credentials.

credentials: An ASN.1 OCTET STRING that contains the user's password, smart card credentials, or Remote Credential Guard credentials in a TSPasswordCreds structure, a TSSmartCardCreds structure, or a TSRemoteGuardCreds structure, respectively.