Skip to content

Reference

OpcCertificateStores Members

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

Reference

OpcCertificateStores Members ​

Type
OpcCertificateStores
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Properties ​

ApplicationStore ​

Gets the certificate store which is used by the application to store its own application certificate.

csharp
public OpcCertificateStoreInfo ApplicationStore { get; }
vbnet
Public ReadOnly Property ApplicationStore As OpcCertificateStoreInfo

Property value

OpcCertificateStoreInfo

An instance of the OpcCertificateStoreInfo class to maintain the certificate store which is used to store the application certificate.

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.

csharp
public bool AutoCreateCertificate { get; set; }
vbnet
Public Property AutoCreateCertificate As Boolean

Property value

Boolean

The value true in case there the application certificate is to be created automatically in case there is not a valid application certificate explicitly defined; otherwise the value false (the default value is true).

PathProbings ​

static · since v2.7

Gets a collection of OpcPathProbing instances evaluated to determine an appropriate path to use to store certificate files. This evaluation is performed by the GetDefaultCertificateStoresPath method. Modifying the items of this property influences the default certificate store paths used.

csharp
public static OpcPathProbingCollection PathProbings { get; }
vbnet
Public Shared ReadOnly Property PathProbings As OpcPathProbingCollection

Property value

OpcPathProbingCollection

An instance of the OpcPathProbingCollection class which contains all OpcPathProbing instances evaluated to determine an appropriate path to use to store certificate files.

Remarks

By default this property contains path probings which target the current working directory (using "."), the common application data and the application data of the environment.

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.

csharp
public OpcCertificateStoreInfo RejectedStore { get; }
vbnet
Public ReadOnly Property RejectedStore As OpcCertificateStoreInfo

Property value

OpcCertificateStoreInfo

An instance of the OpcCertificateStoreInfo class to maintain the certificate store which is used to store rejected certificates.

TrustedIssuerStore ​

Gets the certificate store which is used by the application to store all certificates of trusted issuers.

csharp
public OpcCertificateStoreInfo TrustedIssuerStore { get; }
vbnet
Public ReadOnly Property TrustedIssuerStore As OpcCertificateStoreInfo

Property value

OpcCertificateStoreInfo

An instance of the OpcCertificateStoreInfo class to maintain the certificate store which is used to store trusted issuer certificates.

TrustedPeerStore ​

Gets the certificate store which is used by the application to store all certificates of trusted applications.

csharp
public OpcCertificateStoreInfo TrustedPeerStore { get; }
vbnet
Public ReadOnly Property TrustedPeerStore As OpcCertificateStoreInfo

Property value

OpcCertificateStoreInfo

An instance of the OpcCertificateStoreInfo class to maintain the certificate store which is used to store the application certificates of trusted applications.

Methods ​

GetDefaultApplicationStorePath ​

static · since v2.7

Retrieves the default path used by application certificate stores (see ApplicationStore) as the default store path. This path is an extension of the default root path used by all certificate store paths by default (see GetDefaultCertificateStoresPath).

csharp
public static string GetDefaultApplicationStorePath()
vbnet
Public Shared Function GetDefaultApplicationStorePath() As String

Returns

String

The default path used by application certificate stores or a null reference (Nothing in Visual Basic) if the default root path could not evaluated (see GetDefaultCertificateStoresPath).

GetDefaultCertificateStoresPath ​

static · since v2.7

Retrieves the default root path used by all default store paths. These path is determined using the evaluation results of the PathProbings in combination with the sub-path 'OPC Foundation/CertificateStores' for non local working directories and with the sub-path 'CertificateStores' for local working directories.

csharp
public static string GetDefaultCertificateStoresPath()
vbnet
Public Shared Function GetDefaultCertificateStoresPath() As String

Returns

String

The default root path used by all default store paths or a null reference (Nothing in Visual Basic) if all PathProbings result into a null reference (Nothing in Visual Basic) or an empty string.

GetDefaultRejectedStorePath ​

static · since v2.7

Retrieves the default path used by rejected certificate stores (see RejectedStore) as the default store path. This path is an extension of the default root path used by all certificate store paths by default (see GetDefaultCertificateStoresPath).

csharp
public static string GetDefaultRejectedStorePath()
vbnet
Public Shared Function GetDefaultRejectedStorePath() As String

Returns

String

The default path used by rejected certificate stores or a null reference (Nothing in Visual Basic) if the default root path could not evaluated (see GetDefaultCertificateStoresPath).

GetDefaultTrustedIssuerStorePath ​

static · since v2.7

Retrieves the default path used by trusted issuer certificate stores (see TrustedIssuerStore) as the default store path. This path is an extension of the default root path used by all certificate store paths by default (see GetDefaultCertificateStoresPath).

csharp
public static string GetDefaultTrustedIssuerStorePath()
vbnet
Public Shared Function GetDefaultTrustedIssuerStorePath() As String

Returns

String

The default path used by trusted issuer certificate stores or a null reference (Nothing in Visual Basic) if the default root path could not evaluated (see GetDefaultCertificateStoresPath).

GetDefaultTrustedPeerStorePath ​

static · since v2.7

Retrieves the default path used by trusted peer certificate stores (see TrustedPeerStore) as the default store path. This path is an extension of the default root path used by all certificate store paths by default (see GetDefaultCertificateStoresPath).

csharp
public static string GetDefaultTrustedPeerStorePath()
vbnet
Public Shared Function GetDefaultTrustedPeerStorePath() As String

Returns

String

The default path used by trusted peer certificate stores or a null reference (Nothing in Visual Basic) if the default root path could not evaluated (see GetDefaultCertificateStoresPath).