Opc.Ua.Core
InternalValidateAsync Method



Opc.Ua Namespace > CertificateValidator Class : InternalValidateAsync Method
The certificates to be checked.
The endpoint for domain validation.
The cancellation token.
Throws an exception if validation fails.
Syntax
'Declaration
 
<AsyncStateMachineAttribute(Opc.Ua.CertificateValidator/d__51)> 
Protected Overridable Function InternalValidateAsync( _ 
   ByVal certificates As X509Certificate2Collection, _ 
   ByVal endpoint As ConfiguredEndpoint, _ 
   Optional ByVal ct As CancellationToken _ 
) As Task
'Usage
 
Dim instance As CertificateValidator
Dim certificates As X509Certificate2Collection
Dim endpoint As ConfiguredEndpoint
Dim ct As CancellationToken
Dim value As Task
 
value = instance.InternalValidateAsync(certificates, endpoint, ct)
[AsyncStateMachine(Opc.Ua.CertificateValidator/d__51)] 
protected virtual Task InternalValidateAsync( 
   X509Certificate2Collection certificates, 
   ConfiguredEndpoint endpoint, 
   CancellationToken ct 
)
[AsyncStateMachine(Opc.Ua.CertificateValidator/d__51)] 
protected: 
virtual Task^ InternalValidateAsync( 
   X509Certificate2Collection^ certificates, 
   ConfiguredEndpoint^ endpoint, 
   CancellationToken ct 
) 

Parameters

certificates
The certificates to be checked.
endpoint
The endpoint for domain validation.
ct
The cancellation token.
Exceptions
ExceptionDescription
If certificate[0] cannot be accepted
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