Click or drag to resize

X509CRL2CertificateInCrl Method

Verifies whether the specified certificate is in the current revocation list.

Namespace:  System.Security.Cryptography.X509Certificates
Assembly:  PKI.Core (in PKI.Core.dll) Version: 3.3.0.0 (3.3.0.0)
Syntax
public bool CertificateInCrl(
	X509Certificate2 cert
)

Parameters

cert
Type: System.Security.Cryptography.X509CertificatesX509Certificate2
Certificate to verify.

Return Value

Type: Boolean
True if the specified certificate is presented in the CRL. Otherwise False.
Exceptions
ExceptionCondition
UninitializedObjectExceptionAn object is not initialized.
Remarks
This method do not check, whether the certificate was issued by the same issuer, as this CRL.
See Also