OpcCertificateJudgementEventArgs Members

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

OpcCertificateJudgementEventArgs(X509Certificate2, X509Certificate2, OpcCertificateImpeachment, OpcResult)

Initializes a new instance of the OpcCertificateJudgementEventArgs class using the event data specified.

C#

public OpcCertificateJudgementEventArgs(X509Certificate2 trustedCertificate, X509Certificate2 impeachedCertificate, OpcCertificateImpeachment impeachment, OpcResult impeachmentInfo)


Parameters

trustedCertificate X509Certificate2

The X509Certificate2 instance providing the trusted certificate data.

impeachedCertificate X509Certificate2

The X509Certificate2 instance providing the impeached certificate data.

impeachment OpcCertificateImpeachment

The kind of impeachement the impeached certificate is confronted with.

impeachmentInfo OpcResult

The OpcResult which provides additional information about the impeachment. This information is also used in case of an non-dismissed judgement for an exception.


Exceptions

ArgumentNullException

The trustedCertificate or impeachedCertificate or impeachmentInfo is a null reference (Nothing in Visual Basic).

Dismiss

Gets or sets a value indicating whether the impeachment of the ImpeachedCertificate is to be rejected independent from the Impeachment of the certificate judgement.

C#

public bool Dismiss { get; set; }


Property Value

Boolean

The value true to reject the impeachment of the ImpeachedCertificate; otherwise the value false. The default value is false.

ImpeachedCertificate

Gets the certificate which is impeached.

C#

public X509Certificate2 ImpeachedCertificate { get; }


Property Value

X509Certificate2

An instance of the X509Certificate2 class representing the certificate which is impeached.

Impeachment

Gets a value indicating the kind of impeachment the ImpeachedCertificate is confronted with.

C#

public OpcCertificateImpeachment Impeachment { get; }


Property Value

OpcCertificateImpeachment

One of the members defined by the OpcCertificateImpeachment enumeration.

ImpeachmentInfo

Gets the information used to represent the Impeachment in case there an exception is to be thrown.

C#

public OpcResult ImpeachmentInfo { get; }


Property Value

OpcResult

The information associated with the Impeachment which is used for any subsequently thrown exception.

TrustedCertificate

Gets the certificate which is trusted.

C#

public X509Certificate2 TrustedCertificate { get; }


Property Value

X509Certificate2

An instance of the X509Certificate2 class representing the certificate which is trusted.

ToString()

Returns a string that represents the current OpcCertificateJudgementEventArgs.

C#

public override string ToString()


Returns

String

A string that represents the current OpcCertificateJudgementEventArgs including either the ImpeachmentInfo (if available) or the Impeachment of the event data represented.