@Test
@DisplayName("returns the downloaded crl on successful CRL signature validation")
void returnCrlOnSuccessfulValidation() throws Exception
{

  HttpCrlFetcher crlFetcher = getCrlFetcher(certificate);
  X509CRL x509CRL = crlFetcher.download(HTTP_TEST_URL);
  Assertions.assertEquals("C=DE,O=bund,OU=bsi,CN=TEST csca-germany", x509CRL.getIssuerDN().getName());
  Assertions.assertEquals(2, x509CRL.getVersion());
}