public CrlClientOnline(Certificate[] chain){
  for (int i=0; i < chain.length; i++) {
    X509Certificate cert=(X509Certificate)chain[i];
    LOGGER.info("Checking certificate: " + cert.getSubjectDN());
    try {
      addUrl(CertificateUtil.getCRLURL(cert));
    }
 catch (    CertificateParsingException e) {
      LOGGER.info("Skipped CRL url (certificate could not be parsed)");
    }
  }
}

public CrlClientOnline ( Certificate [ ] chain ) { for ( int i = 0 ; i < chain . length ; i ++ ) { X509Certificate cert = ( X509Certificate ) chain [ i ] ; LOGGER . info ( "Checking certificate: " + cert . getSubjectDN ( ) ) ; try { addUrl ( CertificateUtil . getCRLURL ( cert ) ) ; } catch ( CertificateParsingException e ) { LOGGER . info ( "Skipped CRL url (certificate could not be parsed)" ) ; } } }
creates a crlclientonline instance using a certificate chain .
