Click or drag to resize

CertificateManagerValidateCertificates Method (ListX509Certificate2, CertificateManagerCertificateValidatorCompletionHandler)

Performs a trust validation of a certificate chain to determine if the secure connection with the peer can be trusted.

Namespace:  Avaya.ClientServices
Assembly:  AvayaClientServices (in AvayaClientServices.dll) Version: 550.0.60.0
Syntax
C#
public void ValidateCertificates(
	List<X509Certificate2> certificateChain,
	CertificateManagerCertificateValidatorCompletionHandler completionHandler
)

Parameters

certificateChain
Type: System.Collections.GenericListX509Certificate2
Certificate chain subjected to validation.
completionHandler
Type: Avaya.ClientServicesCertificateManagerCertificateValidatorCompletionHandler
The completion handler for this operation.
Remarks

While establishing secure connection, the certificate chain is received as part of SSL Handshake that can be validated using this method. The validation result determines if the connection is secure and peer can be trusted. This method performs trust validation asynchronously and upon completion a result is reported through completionHandler argument.

As per RFC 5280, the trust validation involves a certificate chain building which leads up to a trusted anchors. For client application, if the private trust store has been configured, it will be solely used to build a certificate chain. In a case when the private trust store is unavailable, the system certificate stores will be used. This method does not fall back between the certificate stores (private trust store vs system certificate stores) or shares them while looking for the trusted anchors.

See Also