Package org.littleshoot.proxy.extras
Class TrustingTrustManager
- java.lang.Object
-
- org.littleshoot.proxy.extras.TrustingTrustManager
-
- All Implemented Interfaces:
TrustManager,X509TrustManager
class TrustingTrustManager extends Object implements X509TrustManager
TrustManager that trusts all servers
-
-
Constructor Summary
Constructors Constructor Description TrustingTrustManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckClientTrusted(X509Certificate[] arg0, String arg1)voidcheckServerTrusted(X509Certificate[] arg0, String arg1)X509Certificate[]getAcceptedIssuers()
-
-
-
Method Detail
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] arg0, String arg1)
- Specified by:
checkClientTrustedin interfaceX509TrustManager
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] arg0, String arg1)
- Specified by:
checkServerTrustedin interfaceX509TrustManager
-
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
- Specified by:
getAcceptedIssuersin interfaceX509TrustManager
-
-