Class DoubleSSLTrustManager
- java.lang.Object
-
- com.atlassian.bamboo.agent.elastic.tunnel.DoubleSSLTrustManager
-
- All Implemented Interfaces:
TrustManager
,X509TrustManager
public class DoubleSSLTrustManager extends Object implements X509TrustManager
-
-
Constructor Summary
Constructors Constructor Description DoubleSSLTrustManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkClientTrusted(X509Certificate[] x509Certificates, String s)
void
checkServerTrusted(X509Certificate[] x509Certificates, String s)
X509Certificate[]
getAcceptedIssuers()
-
-
-
Method Detail
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] x509Certificates, String s) throws CertificateException
- Specified by:
checkClientTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] x509Certificates, String s) throws CertificateException
- Specified by:
checkServerTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
-
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
- Specified by:
getAcceptedIssuers
in interfaceX509TrustManager
-
-