@Beta public static class TestCertificates.CertData extends Object
Beta | Constructor and Description |
|---|
TestCertificates.CertData(String pem) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBase64Der() |
Certificate |
getCertfificate() |
byte[] |
getDer() |
X509TrustManager |
getTrustManager() |
public TestCertificates.CertData(String pem)
public Certificate getCertfificate() throws IOException, CertificateException
IOExceptionCertificateExceptionpublic byte[] getDer()
throws IOException
IOExceptionpublic String getBase64Der() throws IOException
IOExceptionpublic X509TrustManager getTrustManager() throws IOException, GeneralSecurityException
IOExceptionGeneralSecurityExceptionCopyright © 2011-2015 Google. All Rights Reserved.