OPC Studio User's Guide and Reference
ValidateCertificateEventArgs Constructor(Object,Object,IPkiCertificate,PkiChain,TransportPolicyErrors)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Security Namespace > ValidateCertificateEventArgs Class > ValidateCertificateEventArgs Constructor : ValidateCertificateEventArgs Constructor(Object,Object,IPkiCertificate,PkiChain,TransportPolicyErrors)
An object that contains state information for this validation.

The value of this parameter cannot be null (Nothing in Visual Basic).

The target object for which the validation is being performed.

The value of this parameter cannot be null (Nothing in Visual Basic).

The certificate to be validated.

The value of this parameter cannot be null (Nothing in Visual Basic).

The chain of certificate authorities associated with the certificate to be validated.

The value of this parameter cannot be null (Nothing in Visual Basic).

Errors associated with the certificate to be validated.
Initializes a new instance of the class, specifying its parameters individually.
Syntax
'Declaration
 
Public Function New( _
   ByVal sender As Object, _
   ByVal target As Object, _
   ByVal certificate As IPkiCertificate, _
   ByVal chain As PkiChain, _
   ByVal transportPolicyErrors As TransportPolicyErrors _
)
'Usage
 
Dim sender As Object
Dim target As Object
Dim certificate As IPkiCertificate
Dim chain As PkiChain
Dim transportPolicyErrors As TransportPolicyErrors
 
Dim instance As New ValidateCertificateEventArgs(sender, target, certificate, chain, transportPolicyErrors)

Parameters

sender
An object that contains state information for this validation.

The value of this parameter cannot be null (Nothing in Visual Basic).

target
The target object for which the validation is being performed.

The value of this parameter cannot be null (Nothing in Visual Basic).

certificate
The certificate to be validated.

The value of this parameter cannot be null (Nothing in Visual Basic).

chain
The chain of certificate authorities associated with the certificate to be validated.

The value of this parameter cannot be null (Nothing in Visual Basic).

transportPolicyErrors
Errors associated with the certificate to be validated.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also