Verifies the validity of the certificate chain, including its compliance with the specified criteria,
using the specified chain engine.
Namespace:
Rebex.Security.Certificates
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
Visual Basic |
---|
Public Function Validate ( _ serverName As String, _ options As ValidationOptions, _ engine As CertificateChainEngine _ ) As ValidationResult |
C# |
---|
public ValidationResult Validate( string serverName, ValidationOptions options, CertificateChainEngine engine ) |
Parameters
- serverName
- Type: System..::..String
The name of the server.
- options
- Type: Rebex.Security.Certificates..::..ValidationOptions
Validation options (not supported by CertificateChainEngine.Native engine on Xamarin.iOS and Xamarin.Android).
- engine
- Type: Rebex.Security.Certificates..::..CertificateChainEngine
Certificate chain engine.