@Test public void testGenerateCertificatesWithEmptyInput() throws Exception { assertEquals( "Zero certificates should be returned when passing an empty InputStream to " + "generateCertificates", 0, X509CertificateUtils.generateCertificates( new ByteArrayInputStream(new byte[0])).size()); }
public static Collection<? extends java.security.cert.Certificate> generateCertificates( InputStream in) throws CertificateException { if (sCertFactory == null) { buildCertFactory(); } return generateCertificates(in, sCertFactory); }
X509CertificateUtils { public static Collection<? extends java.security.cert.Certificate> generateCertificates( InputStream in) throws CertificateException { if (sCertFactory == null) { buildCertFactory(); } return generateCertificates(in, sCertFactory); } }
X509CertificateUtils { public static Collection<? extends java.security.cert.Certificate> generateCertificates( InputStream in) throws CertificateException { if (sCertFactory == null) { buildCertFactory(); } return generateCertificates(in, sCertFactory); }  }
X509CertificateUtils { public static Collection<? extends java.security.cert.Certificate> generateCertificates( InputStream in) throws CertificateException { if (sCertFactory == null) { buildCertFactory(); } return generateCertificates(in, sCertFactory); }  static X509Certificate generateCertificate(InputStream in); static X509Certificate generateCertificate(byte[] encodedForm); static X509Certificate generateCertificate(byte[] encodedForm,
            CertificateFactory certFactory); static Collection<? extends java.security.cert.Certificate> generateCertificates(
            InputStream in); static Collection<? extends java.security.cert.Certificate> generateCertificates(
            InputStream in, CertificateFactory certFactory); }
X509CertificateUtils { public static Collection<? extends java.security.cert.Certificate> generateCertificates( InputStream in) throws CertificateException { if (sCertFactory == null) { buildCertFactory(); } return generateCertificates(in, sCertFactory); }  static X509Certificate generateCertificate(InputStream in); static X509Certificate generateCertificate(byte[] encodedForm); static X509Certificate generateCertificate(byte[] encodedForm,
            CertificateFactory certFactory); static Collection<? extends java.security.cert.Certificate> generateCertificates(
            InputStream in); static Collection<? extends java.security.cert.Certificate> generateCertificates(
            InputStream in, CertificateFactory certFactory); static final byte[] BEGIN_CERT_HEADER; static final byte[] END_CERT_FOOTER; }