Opc.Ua.Core
ValidateAsync(X509Certificate2Collection,ConfiguredEndpoint,CancellationToken) Method



Opc.Ua Namespace > CertificateValidator Class > ValidateAsync Method : ValidateAsync(X509Certificate2Collection,ConfiguredEndpoint,CancellationToken) Method
Validates a certificate with domain validation check. ValidateAsync(X509Certificate2Collection,CancellationToken)
Syntax
'Declaration
 
<AsyncStateMachineAttribute(Opc.Ua.CertificateValidator/d__37)> 
Public Overloads Overridable Function ValidateAsync( _ 
   ByVal chain As X509Certificate2Collection, _ 
   ByVal endpoint As ConfiguredEndpoint, _ 
   ByVal ct As CancellationToken _ 
) As Task
'Usage
 
Dim instance As CertificateValidator
Dim chain As X509Certificate2Collection
Dim endpoint As ConfiguredEndpoint
Dim ct As CancellationToken
Dim value As Task
 
value = instance.ValidateAsync(chain, endpoint, ct)
[AsyncStateMachine(Opc.Ua.CertificateValidator/d__37)] 
public virtual Task ValidateAsync( 
   X509Certificate2Collection chain, 
   ConfiguredEndpoint endpoint, 
   CancellationToken ct 
)
[AsyncStateMachine(Opc.Ua.CertificateValidator/d__37)] 
public: 
virtual Task^ ValidateAsync( 
   X509Certificate2Collection^ chain, 
   ConfiguredEndpoint^ endpoint, 
   CancellationToken ct 
) 

Parameters

chain
endpoint
ct
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CertificateValidator Class
CertificateValidator Members
Overload List