public static List<X509Certificate> parseCertificates(String[] base64EncodedCertificates) throws CertificateException {
  List<X509Certificate> certificates=new ArrayList<X509Certificate>();
  for (  String base64EncodedCertificate : base64EncodedCertificates) {
    certificates.add(parseCertificate(base64EncodedCertificate));
  }
  return certificates;
}

public static List < X509Certificate > parseCertificates ( String [ ] base64EncodedCertificates ) throws CertificateException { List < X509Certificate > certificates = new ArrayList < X509Certificate > ( ) ; for ( String base64EncodedCertificate : base64EncodedCertificates ) { certificates . add ( parseCertificate ( base64EncodedCertificate ) ) ; } return certificates ; }
extract certificates from dep export format string representation
