Method Invalid
- Namespace
- DotNetBrowser.Net.Handlers
- Assembly
- DotNetBrowser.dll
Invalid()
Creates a VerifyCertificateResponse that notifies the engine that the given certificate is invalid with the Invalid.
public static VerifyCertificateResponse Invalid()
Returns
- VerifyCertificateResponse
The VerifyCertificateResponse instance that can be used as a return value in VerifyCertificateHandler implementation.
Invalid(IList<CertificateVerificationStatus>)
Creates a VerifyCertificateResponse that notifies the engine that the given certificate is invalid with the specific CertificateVerificationStatus.
public static VerifyCertificateResponse Invalid(IList<CertificateVerificationStatus> certificateVerificationStatuses)
Parameters
certificateVerificationStatuses
IList<CertificateVerificationStatus>The list of statuses that explain why the certificate is invalid.
Returns
- VerifyCertificateResponse
The VerifyCertificateResponse instance that can be used as a return value in VerifyCertificateHandler implementation.
Remarks
If the status list is null or empty the Invalid value will be used.