@Beta public static class TestCertificates.CertData extends Object
Beta | Modifier and Type | Method | Description |
|---|---|---|
String |
getBase64Der() |
|
Certificate |
getCertfificate() |
|
byte[] |
getDer() |
|
X509TrustManager |
getTrustManager() |
public 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–2019 Google. All rights reserved.