Searched defs:generateCertificate (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/net/http/
H A DSslCertificateTest.java48 X509Certificate x509Certificate = generateCertificate(Issue1597Certificate);
101 X509Certificate x509Certificate = generateCertificate(Issue41662Certificate);
109 private static X509Certificate generateCertificate(String pem) throws Exception { method in class:SslCertificateTest
111 return (X509Certificate) cf.generateCertificate(new ByteArrayInputStream(pem.getBytes()));

Completed in 22 milliseconds