HTTP_SERVICE_CONFIG_SSL_SNI_KEY structure (http.h)

The HTTP_SERVICE_CONFIG_SSL_SNI_KEY structure serves as the key by which a given Secure Sockets Layer (SSL) Server Name Indication (SNI) certificate record is identified in the SSL SNI store. It appears in the HTTP_SERVICE_CONFIG_SSL_SNI_SET and the HTTP_SERVICE_CONFIG_SSL_SNI_QUERY structures, and is passed as the pConfigInformation parameter to HttpDeleteServiceConfiguration, HttpQueryServiceConfiguration, and HttpSetServiceConfiguration when the ConfigId parameter is set to HttpServiceConfigSslSniCertInfo.

Syntax

typedef struct _HTTP_SERVICE_CONFIG_SSL_SNI_KEY {
  SOCKADDR_STORAGE IpPort;
  PWSTR            Host;
} HTTP_SERVICE_CONFIG_SSL_SNI_KEY, *PHTTP_SERVICE_CONFIG_SSL_SNI_KEY;

Members

IpPort

A SOCKADDR_STORAGE structure that contains the Internet Protocol version 4 (IPv4) address with which this SSL SNI certificate is associated. It must be set to the IPv4 wildcard address of type SOCKADDR_IN with ss_family set to AF_INET and sin_addr filled with zeros. Port can be any valid port.

Host

A pointer to a null-terminated Unicode UTF-16 string that represents the hostname.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header http.h

See also

HTTP_SERVICE_CONFIG_SSL_SNI_QUERY

HTTP_SERVICE_CONFIG_SSL_SNI_SET

HttpDeleteServiceConfiguration

HttpQueryServiceConfiguration

HttpSetServiceConfiguration