@Beta public static class TestCertificates.CertData extends Object
Beta | Modifier and Type | Method and 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–2025 Google. All rights reserved.