OpcSecurity Members

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

AutoAcceptUntrustedCertificates

Gets or sets a value indicating whether the client have to automatically accept untrusted server certificates.

C#

public bool AutoAcceptUntrustedCertificates { get; set; }


Property Value

Boolean

The value true if untrusted server certificates have to be automatically handled as trusted certificates; otherwise the value false (the default value is true).



Remarks

Additionally to define the value of this property as true there is also the possibility to define the value of this property as false and use the CertificateValidationFailed event to manually validate a server certificate.

CertificateValidationRules

Gets or sets a value which defines the different rules to use when validating a certificate.

C#

public OpcCertificateValidationRules CertificateValidationRules { get; set; }


Property Value

OpcCertificateValidationRules

A bitwise combination of the members defined by the OpcCertificateValidationRules enumeration to define the different rules to apply when validating a certificate. The default value is Default.