Package org.jclouds.http.config
Class SSLModule.TrustAllCerts
- java.lang.Object
-
- org.jclouds.http.config.SSLModule.TrustAllCerts
-
- All Implemented Interfaces:
TrustManager
,X509TrustManager
- Enclosing class:
- SSLModule
@Singleton public static class SSLModule.TrustAllCerts extends Object implements X509TrustManager
Used to trust all certs
-
-
Constructor Summary
Constructors Constructor Description TrustAllCerts()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkClientTrusted(X509Certificate[] certs, String authType)
void
checkServerTrusted(X509Certificate[] certs, String authType)
X509Certificate[]
getAcceptedIssuers()
-
-
-
Method Detail
-
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
- Specified by:
getAcceptedIssuers
in interfaceX509TrustManager
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] certs, String authType)
- Specified by:
checkClientTrusted
in interfaceX509TrustManager
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] certs, String authType)
- Specified by:
checkServerTrusted
in interfaceX509TrustManager
-
-