SecPkgContext_NegotiatedTlsExtensions structure (sspi.h)

The SecPkgContext_NegotiatedTlsExtensions structure contains information about the (D)TLS extensions negotiated for the current (D)TLS connection.

Syntax

typedef struct _SecPkgContext_NegotiatedTlsExtensions {
  unsigned long  ExtensionsCount;
  unsigned short *Extensions;
} SecPkgContext_NegotiatedTlsExtensions, *PSecPkgContext_NegotiatedTlsExtensions;

Members

ExtensionsCount

The number of negotiated (D)TLS extensions.

Extensions

A pointer to the array of 2-byte TLS extension IDs as defined in the IANA (D)TLS extensions registry.

Remarks

The list of (D)TLS extensions returned via this structure is not exhaustive. Depending on the type of the (D)TLS extension, it is not always possible to determine whether it has been negotiated with the peer. This structure generally reports negotiable (D)TLS extensions of interest to SSPI callers, such as: Certificate Status Request, Application Layer Protocol Negotiation, Secure Real-time Transport Protocol, Token Binding, Extended Master Secret, Renegotiation Info.

Requirements

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

See also

IANA (D)TLS extensions registry

QueryContextAttributes (Schannel) function