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 voidcheckClientTrusted(X509Certificate[] certs, String authType)voidcheckServerTrusted(X509Certificate[] certs, String authType)X509Certificate[]getAcceptedIssuers()
-
-
-
Method Detail
-
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
- Specified by:
getAcceptedIssuersin interfaceX509TrustManager
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] certs, String authType)
- Specified by:
checkClientTrustedin interfaceX509TrustManager
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] certs, String authType)
- Specified by:
checkServerTrustedin interfaceX509TrustManager
-
-