OpcCertificateStores Members

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcCertificateStores type exposes the following members.

ApplicationStore

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

C#

public OpcCertificateStoreInfo ApplicationStore { get; }


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.

C#

public bool AutoCreateCertificate { get; set; }


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

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.

C#

public static OpcPathProbingCollection PathProbings { get; }


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.

C#

public OpcCertificateStoreInfo RejectedStore { get; }


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.

C#

public OpcCertificateStoreInfo TrustedIssuerStore { get; }


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.

C#

public OpcCertificateStoreInfo TrustedPeerStore { get; }


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.

GetDefaultApplicationStorePath()

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).

C#

public static string GetDefaultApplicationStorePath()


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()

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.

C#

public static string GetDefaultCertificateStoresPath()


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()

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).

C#

public static string GetDefaultRejectedStorePath()


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()

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).

C#

public static string GetDefaultTrustedIssuerStorePath()


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()

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).

C#

public static string GetDefaultTrustedPeerStorePath()


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).