> ## 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

Définit les informations de sécurité utilisées pour configurer la pile HTTP pour un point de terminaison d'URL spécifique.

## Syntaxe

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

### Membres

*enabledHttpSecurityProtocolFlags*\
Type : uint32\_t

Masque de bits d'indicateurs qui indiquent les protocoles TLS (Transport Layer Security) auxquels la requête HTTP doit se limiter pour ce point de terminaison d'URL ; il doit être passé à l'option WinHTTP `WINHTTP_OPTION_SECURE_PROTOCOLS` via un appel à `WinHttpSetOption`. Il peut s'agir de n'importe quelle combinaison de `WINHTTP_FLAG_SECURE_PROTOCOL_TLS1`, `WINHTTP_FLAG_SECURE_PROTOCOL_TLS1_1`, `WINHTTP_FLAG_SECURE_PROTOCOL_TLS1_2` et `WINHTTP_FLAG_SECURE_PROTOCOL_TLS1_3`.

*thumbprintCount*\
Type : size\_t

Nombre d'empreintes numériques dans le tableau pointé par le champ `thumbprints`.

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

Tableau des empreintes numériques censées figurer dans la chaîne de certificats présentée par le serveur pour ce point de terminaison d'URL.

## Remarques

Cette structure décrit les informations de sécurité utilisées pour configurer la pile HTTP. Elle détermine les protocoles TLS auxquels la requête HTTP doit se limiter pour un point de terminaison d'URL spécifique. Il n'y a pas toujours d'empreintes numériques. Une utilisation classique de Fiddler comporte une empreinte numérique racine.

## Configuration requise

**En-tête :** XNetworking.h

**Plateformes prises en charge :** Windows, consoles de la famille XBOX One et consoles XBOX Series

## Documentation conceptuelle

* [Vue d'ensemble de WinHTTP](/fr/build/console-features/networking/web-requests/intro-winhttp)

## Voir aussi

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


## Related topics

- [XNetworkingSecurityInformation](/reference/networking/xnetworking/structs/xnetworkingsecurityinformation.md)
- [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)
