Click or drag to resize

X509CRL2CertificateInCrl Method

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

Namespace:  System.Security.Cryptography.X509Certificates
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.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
ArgumentNullExceptioncert parameter is null.
UninitializedObjectException An object is not initialized.
Remarks
This method do not check, whether the certificate was issued by the same issuer, as this CRL.
See Also