> ## 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 précis.

## 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 à quels protocoles TLS (Transport Layer Security) 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` au moyen d'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-CA/reference/networking/xnetworking/structs/xnetworkingthumbprint)\*

Le 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 à quels protocoles TLS la requête HTTP doit être limitée pour un point de terminaison d'URL précis. Il se peut qu'il n'y ait aucune empreinte numérique. Une utilisation typique de Fiddler comportera 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-CA/build/console-features/networking/web-requests/intro-winhttp)

## Voir aussi

[XNetworkingQuerySecurityInformationForUrlAsync](/fr-CA/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlasync)\
[XNetworkingQuerySecurityInformationForUrlUtf16Async](/fr-CA/reference/networking/xnetworking/functions/xnetworkingquerysecurityinformationforurlutf16async)\
[XNetworking](/fr-CA/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)
