> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XNetworkingSecurityInformation

> XNetworkingSecurityInformation

# XNetworkingSecurityInformation

Defines the security information used in configuring the HTTP stack for a specific URL endpoint.

## Syntax

```cpp theme={null}
typedef struct XNetworkingSecurityInformation {
    uint32_t enabledHttpSecurityProtocolFlags;
    size_t thumbprintCount;
    XNetworkingThumbprint* thumbprints;
} XNetworkingSecurityInformation
```

### Members

*enabledHttpSecurityProtocolFlags*\
Type: uint32\_t

A bitmask of flags that indicate which Transport Layer Security (TLS) protocols the HTTP request should restrict for this URL endpoint and should be passed to the `WINHTTP_OPTION_SECURE_PROTOCOLS` WinHTTP option with a call to `WinHttpSetOption`. It can be any combination of `WINHTTP_FLAG_SECURE_PROTOCOL_TLS1`, `WINHTTP_FLAG_SECURE_PROTOCOL_TLS1_1`, `WINHTTP_FLAG_SECURE_PROTOCOL_TLS1_2`, and `WINHTTP_FLAG_SECURE_PROTOCOL_TLS1_3`.

*thumbprintCount*\
Type: size\_t

Number of thumbprints in the array pointed to by the `thumbprints` field.

*thumbprints*\
Type: [XNetworkingThumbprint](/reference/networking/xnetworking/structs/xnetworkingthumbprint)\*

The array of thumbprints expected to be in the certificate chain presented by the server for this URL endpoint.

## Remarks

This structure describes the security information used in configuring the HTTP stack. It determines which TLS protocols the HTTP request should be restricted for a specific URL endpoint. There may not always be any thumbprints. Typical Fiddler usage will have one root thumbprint.

## Requirements

**Header:** XNetworking.h

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## Conceptual documentation

* [WinHTTP overview](/build/console-features/networking/web-requests/intro-winhttp)

## See also

[XNetworkingQuerySecurityInformationForUrlAsync](/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasync)\
[XNetworkingQuerySecurityInformationForUrlUtf16Async](/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16async)\
[XNetworking](/reference/networking/xnetworking/xnetworking_members)


## Related topics

- [XNetworkingVerifyServerCertificate](/reference/networking/xnetworking/functions/xnetworkingverifyservercertificate.md)
- [XNetworkingQuerySecurityInformationForUrlAsyncResult](/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasyncresult.md)
- [XNetworkingQuerySecurityInformationForUrlUtf16AsyncResult](/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16asyncresult.md)
- [XNetworkingThumbprintType](/reference/networking/xnetworking/enums/xnetworkingthumbprinttype.md)
- [WinHTTP overview](/build/console-features/networking/web-requests/intro-winhttp.md)
