CertificateManagerSetCertificates Method |
Namespace: Avaya.ClientServices
public void SetCertificates( List<X509Certificate2> trustedAnchors )
Exception | Condition |
---|---|
CryptographicException | is thrown when the request has failed to create the private trust store. |
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.