Share via


IWebSocketInformation2.ServerIntermediateCertificates Property

Definition

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

public:
 property IVectorView<Certificate ^> ^ ServerIntermediateCertificates { IVectorView<Certificate ^> ^ get(); };
IVectorView<Certificate> ServerIntermediateCertificates();
public IReadOnlyList<Certificate> ServerIntermediateCertificates { get; }
var iVectorView = iWebSocketInformation2.serverIntermediateCertificates;
Public ReadOnly Property ServerIntermediateCertificates As IReadOnlyList(Of Certificate)

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 appropriate MessageWebSocket.ServerCustomValidationRequested or 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.

Applies to