Checks whether the certificate revocation list contains the specified certificate. Also makes sure that the CRL is suitable for the certificate.

Namespace:  Rebex.Security.Cryptography.Pkcs
Assembly:  Rebex.Common (in Rebex.Common.dll)


Visual Basic
Public Function CheckCertificate ( _
	subject As Certificate _
) As RevocationCheckResult
public RevocationCheckResult CheckCertificate(
	Certificate subject


Type: Rebex.Security.Certificates..::..Certificate
Certificate to check.

Return Value

Revocation check result.


Please note that this method does not check the validity of the CRL itself. Call ValidateRevocationList(CertificateRevocationList, Nullable<(Of <<'(DateTime>)>>)) on the issuer certificate to perform this check.

Version Information


Supported in: .NET 5.0; .NET Framework 4.8, 4.7.x, 4.6.x, 4.5.x, 4.0, 3.5 SP1

.NET Standard 2.0

Supported in: .NET Core 3.1; .NET Core 2.1; Xamarin.Android 10.1 (or higher); Xamarin.iOS 13.10 (or higher)

See Also