Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcCertificateStores type exposes the following members.
Gets the certificate store which is used by the application to store its own application certificate.
C#
public OpcCertificateStoreInfo ApplicationStore { get; }
Property Value
An instance of the OpcCertificateStoreInfo class to maintain the certificate store which is used to store the application certificate.
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
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).
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
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.
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
An instance of the OpcCertificateStoreInfo class to maintain the certificate store which is used to store rejected certificates.
Gets the certificate store which is used by the application to store all certificates of trusted issuers.
C#
public OpcCertificateStoreInfo TrustedIssuerStore { get; }
Property Value
An instance of the OpcCertificateStoreInfo class to maintain the certificate store which is used to store trusted issuer certificates.
Gets the certificate store which is used by the application to store all certificates of trusted applications.
C#
public OpcCertificateStoreInfo TrustedPeerStore { get; }
Property Value
An instance of the OpcCertificateStoreInfo class to maintain the certificate store which is used to store the application certificates of trusted applications.
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
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).
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
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.
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
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).
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
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).
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
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).