EasyUA Reference
Validate(X509Certificate2Collection) Method
See Also  Send Feedback
Opc.Ua.Core.Net4 Assembly > Opc.Ua Namespace > CertificateValidator Class > Validate Method : Validate(X509Certificate2Collection) Method

chain

Glossary Item Box

Validates a certificate.

Syntax

Visual Basic (Usage)Copy Code
Dim instance As CertificateValidator
Dim chain As X509Certificate2Collection
 
instance.Validate(chain)
C# 
public virtual void Validate( 
   X509Certificate2Collection chain
)

Parameters

chain

Remarks

Each UA application may have a list of trusted certificates that is different from all other UA applications that may be running on the same machine. As a result, the certificate validator cannot rely completely on the Windows certificate store and user or machine specific CTLs (certificate trust lists). The validator constructs the trust chain for the certificate and follows the chain until it finds a certification that is in the application trust list. Non-fatal trust chain errors (i.e. certificate expired) are ignored if the certificate is in the application trust list. If no certificate in the chain is trusted then the validator will still accept the certification if there are no trust chain errors. The validator may be configured to ignore the application trust list and/or trust chain.

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.