Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.68 KB

streamwebsocketinformation_serverintermediatecertificates.md

File metadata and controls

25 lines (17 loc) · 1.68 KB
-api-id -api-type
P:Windows.Networking.Sockets.StreamWebSocketInformation.ServerIntermediateCertificates
winrt property

Windows.Networking.Sockets.StreamWebSocketInformation.ServerIntermediateCertificates

-description

Gets the intermediate certificates sent by the server during SSL negotiation when making an SSL connection with a StreamWebSocket server.

-property-value

The set of certificates sent by the server during SSL negotiation.

-remarks

This property returns the intermediate server certificates used when making an SSL connection with a WebSockets server. These certificates are provided by the server during the SSL connection negotiation. The properties on the Certificate objects in the returned vector can be used to get detailed information on the certificates.

By the time the list of intermediate certificates is available through this property, the SSL connection has already been established. If you wish to inspect the server certificates during the connection process in order to perform custom validation, you should register a handler for the StreamWebSocket.ServerCustomValidationRequested event, and perform your custom server validation in that handler, using the WebSocketServerCustomValidationRequestedEventArgs instance passed to your event handler to inspect the intermediate certificates.

-examples

-see-also