Verifies the validity of the certificate chain, including its compliance with the specified criteria.
Namespace:
Rebex.Security.Certificates
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
Visual Basic |
---|
Public Function Validate ( _ serverName As String, _ options As ValidationOptions _ ) As ValidationResult |
C# |
---|
public ValidationResult Validate( string serverName, ValidationOptions options ) |
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).