Click or drag to resize

CertificateManagerSetCertificates Method

Creates the private trust store using supplied trusted anchors (Root and Intermediate CA certificates).

Namespace:  Avaya.ClientServices
Assembly:  AvayaClientServices (in AvayaClientServices.dll) Version: 550.0.60.0
Syntax
C#
public void SetCertificates(
	List<X509Certificate2> trustedAnchors
)

Parameters

trustedAnchors
Type: System.Collections.GenericListX509Certificate2
List of CA certificates trusted by the client application.
Exceptions
ExceptionCondition
CryptographicException is thrown when the request has failed to create the private trust store.
Remarks

This method creates the private trust store if one does not exists. Unlike system certificate stores, the client application can configure only one trust store.The Root and Intermediate CA certificates can be added while creating the trust store and cannot be modified subsequently; any such modification attempts result in an error. In order to modify an existing private trust store, a call to DeleteCertificateStore is required followed by SetCertificates(ListX509Certificate2).

Before calling this method, client applications must ensure the is enabled.

See Also