SSTP_CONFIG_PARAMS structure

The SSTP_CONFIG_PARAMS structure is used to get and set the device configuration for Secure Socket Tunneling Protocool (SSTP) on a RAS Server.

Syntax


typedef struct _SSTP_CONFIG_PARAMS {
  DWORD          dwNumPorts;
  DWORD          dwPortFlags;
  BOOL           isUseHttps;
  DWORD          certAlgorithm;
  SSTP_CERT_INFO sstpCertDetails;
} SSTP_CONFIG_PARAMS, *SSTP_CONFIG_PARAMS;

Members

dwNumPorts

A value that specifies the number of ports configured on the RRAS server to accept SSTP connections. The maximum values for dwNumPorts are listed in the following table. The value zero is not allowed.

ValueMeaning
1

Windows Web Server 2008

1000

Windows Server 2008 Standard

30000

Windows Server 2008 Datacenterand Windows Server 2008 Enterprise

 

Note  If dwNumPorts contains a value beyond the limit configured in the registry at service start time (the default is 1000 for Windows Server 2008 Standard and Windows Server 2008 Enterprise), the MprConfigServerGetInfoEx and MprConfigServerSetInfoEx functions will return ERROR_SUCCESS_REBOOT_REQUIRED.
 
dwPortFlags

A value that specifies the type of ports configured on the RRAS server for SSTP. The following values are supported:

ValueMeaning
MPR_ENABLE_RAS_ON_DEVICE

If set, RAS is enabled on the device.

 

isUseHttps

A value that is TRUE if HTTPS is used and FALSE otherwise.

certAlgorithm

A value that specifies the certificate hashing algorithm used. The following values are supported:

ValueMeaning
CALG_SHA_256

256-bit SHA hashing algorithm

 

sstpCertDetails

An SSTP_CERT_INFO structure that contains the SSTP based certificate hash.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Mprapi.h

See also

Router Management Reference
Router Management Structures
MPRAPI_TUNNEL_CONFIG_PARAMS

 

 

Community Additions

ADD
Show: