Avaya Client Services API Reference (Windows)
Avaya Client Services API Reference (Windows)
Avaya.ClientServices
CertificateManager Class
CertificateManager Methods
DeleteCertificateStore Method
DeleteClientIdentityCertificateChain Method
Enroll Method
GetCertificates Method
GetClientIdentityCertificate Method
IsCertificateStoreInUse Method
SetCertificates Method
SetClientIdentityCertificate Method
SetClientIdentityCertificateChain Method
ValidateCertificates Method

# CertificateManager SetCertificates 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#
Copy

    public void SetCertificates(
    	List<X509Certificate2> trustedAnchors
    )

#### Parameters

trustedAnchors
  Type: System.Collections.Generic
  List
  X509Certificate2
  List of CA certificates trusted by the client application.

Exceptions

Exception | Condition
--- | ---
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(List
X509Certificate2
).

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

See Also

#### Reference

CertificateManager Class
Avaya.ClientServices Namespace

© 2017 Avaya LLC. All Rights Reserved.