# OpcCertificateStores Class

<dl class="api-definition">
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx">Opc.UaFx</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
<dt>Members</dt>
<dd><a href="./members">OpcCertificateStores Members</a></dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Provides access to the set of OPC UA predefined certificate stores typically used by an OPC UA application to maintain its certificates.

## Syntax

<div class="api-signature" data-lang="csharp">

```csharp
public class OpcCertificateStores
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Class OpcCertificateStores
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → **OpcCertificateStores**

## Properties

| Name | Description |
|---|---|
| [ApplicationStore](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccertificatestores/members#applicationstore) | Gets the certificate store which is used by the application to store its own application certificate. |
| [AutoCreateCertificate](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccertificatestores/members#autocreatecertificate) | Gets or sets a value indicating whether the application certificate is to be created automatically in the case there is not a valid application certificate explicitly defined to use. |
| [PathProbings](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccertificatestores/members#pathprobings)<span class="api-meta">static · since v2.7</span> | Gets a collection of [OpcPathProbing](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpathprobing/) instances evaluated to determine an appropriate path to use to store certificate files. |
| [RejectedStore](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccertificatestores/members#rejectedstore) | Gets the certificate store which is used by the application to store all certificates which are not trusted and are therefore by default rejected by the application. |
| [TrustedIssuerStore](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccertificatestores/members#trustedissuerstore) | Gets the certificate store which is used by the application to store all certificates of trusted issuers. |
| [TrustedPeerStore](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccertificatestores/members#trustedpeerstore) | Gets the certificate store which is used by the application to store all certificates of trusted applications. |

## Methods

| Name | Description |
|---|---|
| [GetDefaultApplicationStorePath](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccertificatestores/members#getdefaultapplicationstorepath)<span class="api-meta">static · since v2.7</span> | Retrieves the default path used by application certificate stores (see [ApplicationStore](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccertificatestores/members#applicationstore)) as the default store path. |
| [GetDefaultCertificateStoresPath](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccertificatestores/members#getdefaultcertificatestorespath)<span class="api-meta">static · since v2.7</span> | Retrieves the default root path used by all default store paths. |
| [GetDefaultRejectedStorePath](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccertificatestores/members#getdefaultrejectedstorepath)<span class="api-meta">static · since v2.7</span> | Retrieves the default path used by rejected certificate stores (see [RejectedStore](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccertificatestores/members#rejectedstore)) as the default store path. |
| [GetDefaultTrustedIssuerStorePath](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccertificatestores/members#getdefaulttrustedissuerstorepath)<span class="api-meta">static · since v2.7</span> | Retrieves the default path used by trusted issuer certificate stores (see [TrustedIssuerStore](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccertificatestores/members#trustedissuerstore)) as the default store path. |
| [GetDefaultTrustedPeerStorePath](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccertificatestores/members#getdefaulttrustedpeerstorepath)<span class="api-meta">static · since v2.7</span> | Retrieves the default path used by trusted peer certificate stores (see [TrustedPeerStore](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccertificatestores/members#trustedpeerstore)) as the default store path. |

## Applies to

| Package | Versions |
|---|---|
| Opc.UaFx.Advanced | v2.5–v2.59 |
