C# Class Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_UD_SC_SEC1

The TS_UD_SC_SEC1 data block returns negotiated security-related information to the client. See sections and for a detailed d discussion of how this information is used.
file:///C:/ts_dev/TestSuites/MS-RDPBCGR/TestSuite/Src/TD/latest_XMLS_16may/RDPBCGR/ _rfc_ms-rdpbcgr2_1_1_4_3.xml
Show file Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Properties

Property Type Description
encryptionLevel EncryptionLevel
encryptionMethod EncryptionMethods
header TS_UD_HEADER
serverCertLen UInt32Class
serverCertificate SERVER_CERTIFICATE
serverRandom byte[]
serverRandomLen UInt32Class

Property Details

encryptionLevel public property

A 32-bit unsigned integer. It describes the encryption behavior to use for the session. When Enhanced RDP Security is being used, this field MUST be set to ENCRYPTION_LEVEL_NONE (0).
public EncryptionLevel encryptionLevel
return EncryptionLevel

encryptionMethod public property

A 32-bit unsigned integer. The selected cryptographic method to use for the session. When Enhanced RDP Security is being used, this field MUST be set to ENCRYPTION_METHOD_NONE (0).
public EncryptionMethods encryptionMethod
return EncryptionMethods

header public property

GCC user data block header, as specified in User Data Header. The User Data Header type field MUST be set to SC_SECURITY (0x0C02).
public TS_UD_HEADER,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr header
return TS_UD_HEADER

serverCertLen public property

A 32-bit unsigned integer. The size in bytes of the serverCertificate field.
public UInt32Class,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr serverCertLen
return UInt32Class

serverCertificate public property

The variable-length certificate containing the server's public key information. The length in bytes is given by the serverCertLen field.
public SERVER_CERTIFICATE,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr serverCertificate
return SERVER_CERTIFICATE

serverRandom public property

The variable-length server random value used to derive session keys (see sections and ). The length in bytes is given by the serverRandomLen field.
public byte[] serverRandom
return byte[]

serverRandomLen public property

A 32-bit unsigned integer. The size in bytes of the serverRandom field. This field MUST be set to 32 bytes.
public UInt32Class,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr serverRandomLen
return UInt32Class