CertificateChain.Validate Method
Namespace: Rebex.Security.Certificates
Assembly: Rebex.Common.dll (version 7.0.9119)
Validate()
Verifies the validity of the certificate chain.
Declaration
public ValidationResult Validate()
Returns
Type | Description |
---|---|
ValidationResult | Validation result. |
Validate(ValidationOptions)
Verifies the validity of the certificate chain, including its compliance with the specified criteria.
Declaration
public ValidationResult Validate(ValidationOptions options)
Parameters
Type | Name | Description |
---|---|---|
ValidationOptions | options | Validation options (not supported by CertificateChainEngine.Native engine on Xamarin.iOS and Xamarin.Android). |
Returns
Type | Description |
---|---|
ValidationResult | Validation result. |
Validate(String, ValidationOptions)
Verifies the validity of the certificate chain, including its compliance with the specified criteria.
Declaration
public ValidationResult Validate(string serverName, ValidationOptions options)
Parameters
Type | Name | Description |
---|---|---|
String | serverName | The name of the server. |
ValidationOptions | options | Validation options (not supported by CertificateChainEngine.Native engine on Xamarin.iOS and Xamarin.Android). |
Returns
Type | Description |
---|---|
ValidationResult | Validation result. |
Validate(String, ValidationOptions, CertificateChainEngine)
Verifies the validity of the certificate chain, including its compliance with the specified criteria, using the specified chain engine.
Declaration
public ValidationResult Validate(string serverName, ValidationOptions options, CertificateChainEngine engine)
Parameters
Type | Name | Description |
---|---|---|
String | serverName | The name of the server. |
ValidationOptions | options | Validation options (not supported by CertificateChainEngine.Native engine on Xamarin.iOS and Xamarin.Android). |
CertificateChainEngine | engine | Certificate chain engine. |
Returns
Type | Description |
---|---|
ValidationResult | Validation result. |