@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
IOException
CertificateException
public byte[] getDer() throws IOException
IOException
public String getBase64Der() throws IOException
IOException
public X509TrustManager getTrustManager() throws IOException, GeneralSecurityException
IOException
GeneralSecurityException
Copyright © 2011–2019 Google. All rights reserved.