QuickOPC 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 target object for which the validation is being performed.
The certificate to be validated.
The chain of certificate authorities associated with the certificate to be validated.
Errors associated with the certificate to be validated.
Initializes a new instance of the class.
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.
target
The target object for which the validation is being performed.
certificate
The certificate to be validated.
chain
The chain of certificate authorities associated with the certificate to be validated.
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