/// <summary> /// Returns true the certificate is in the CRL. /// </summary> /// <param name="crl"></param> /// <param name="certificate"></param> /// <returns></returns> public static bool IsRevoked(this Crl crl, Certificate certificate) { return(crl.ToX509Crl().IsRevoked(certificate.ToX509Certificate())); }
/// <summary> /// Verifies the signature on the CRL. /// </summary> /// <param name="crl"></param> /// <param name="issuer"></param> public static void Verify(this Crl crl, Certificate issuer) { crl.ToX509Crl().Verify(issuer.ToX509Certificate().GetPublicKey()); }