Class TestCertificates.CertData (1.44.2)

public static class TestCertificates.CertData

Beta
Wrapper for a PEM encoded certificate providing utility routines.

Inheritance

java.lang.Object > TestCertificates.CertData

Constructors

CertData(String pem)

public CertData(String pem)
Parameter
Name Description
pem String

Methods

getBase64Der()

public String getBase64Der()
Returns
Type Description
String
Exceptions
Type Description
IOException

getCertfificate()

public Certificate getCertfificate()
Returns
Type Description
Certificate
Exceptions
Type Description
IOException
CertificateException

getDer()

public byte[] getDer()
Returns
Type Description
byte[]
Exceptions
Type Description
IOException

getTrustManager()

public X509TrustManager getTrustManager()
Returns
Type Description
X509TrustManager
Exceptions
Type Description
IOException
GeneralSecurityException