X509CRL2CertificateInCrl Method

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

Definition

Namespace: SysadminsLV.PKI.Cryptography.X509Certificates
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
public bool CertificateInCrl(
	X509Certificate2 cert
)

Parameters

cert  X509Certificate2
Certificate to verify.

Return Value

Boolean
True if the specified certificate is presented in the CRL. Otherwise False.

Remarks

This method do not check, whether the certificate was issued by the same issuer, as this CRL.

Exceptions

ArgumentNullExceptioncert parameter is null.

See Also