Searched refs:pem (Results 1 – 3 of 3) sorted by relevance
109 private static X509Certificate generateCertificate(String pem) throws Exception { in generateCertificate() argument111 return (X509Certificate) cf.generateCertificate(new ByteArrayInputStream(pem.getBytes())); in generateCertificate()
24 import com.android.org.bouncycastle.util.io.pem.PemObject;25 import com.android.org.bouncycastle.util.io.pem.PemReader;26 import com.android.org.bouncycastle.util.io.pem.PemWriter;
2 *.pem