Reference
OpcCertificateJudgementEventArgs Members
Provides the event data for 'CertificateJudgement' events.
Reference
OpcCertificateJudgementEventArgs Members
- Type
- OpcCertificateJudgementEventArgs
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Inherits members from EventArgs.
Constructors
OpcCertificateJudgementEventArgs
Initializes a new instance of the OpcCertificateJudgementEventArgs class using the event data specified.
public OpcCertificateJudgementEventArgs(
X509Certificate2 trustedCertificate,
X509Certificate2 impeachedCertificate,
OpcCertificateImpeachment impeachment,
OpcResult impeachmentInfo)Public Sub New(
trustedCertificate As X509Certificate2,
impeachedCertificate As X509Certificate2,
impeachment As OpcCertificateImpeachment,
impeachmentInfo As OpcResult)Parameters
| Name | Type | Description |
|---|---|---|
trusted | X509Certificate2 | The X509Certificate2 instance providing the trusted certificate data. |
impeached | X509Certificate2 | The X509Certificate2 instance providing the impeached certificate data. |
impeachment | Opc | 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
| Exception | Condition |
|---|---|
| Argument | The impeachmentInfo is a null reference ( |
Properties
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.
public bool Dismiss { get; set; }Public Property Dismiss As BooleanProperty value
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.
public X509Certificate2 ImpeachedCertificate { get; }Public ReadOnly Property ImpeachedCertificate As X509Certificate2Property value
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.
public OpcCertificateImpeachment Impeachment { get; }Public ReadOnly Property Impeachment As OpcCertificateImpeachmentProperty value
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.
public OpcResult ImpeachmentInfo { get; }Public ReadOnly Property ImpeachmentInfo As OpcResultProperty value
The information associated with the Impeachment which is used for any subsequently thrown exception.
TrustedCertificate
Gets the certificate which is trusted.
public X509Certificate2 TrustedCertificate { get; }Public ReadOnly Property TrustedCertificate As X509Certificate2Property value
An instance of the X509Certificate2 class representing the certificate which is trusted.
Methods
ToString
Returns a string that represents the current OpcCertificateJudgementEventArgs.
public override string ToString()Public Overrides Function ToString() As StringReturns
A string that represents the current OpcCertificateJudgementEventArgs including either the ImpeachmentInfo (if available) or the Impeachment of the event data represented.
Overrides

