Package com.github.underscore
Class U.BaseHttpSslSocketFactory.MyX509TrustManager
java.lang.Object
com.github.underscore.U.BaseHttpSslSocketFactory.MyX509TrustManager
- All Implemented Interfaces:
TrustManager
,X509TrustManager
- Enclosing class:
U.BaseHttpSslSocketFactory
public static class U.BaseHttpSslSocketFactory.MyX509TrustManager
extends Object
implements X509TrustManager
-
Field Summary
Modifier and TypeFieldDescription(package private) static U.BaseHttpSslSocketFactory.MyX509TrustManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkClientTrusted
(X509Certificate[] chain, String authType) void
checkServerTrusted
(X509Certificate[] chain, String authType)
-
Field Details
-
manger
-
-
Constructor Details
-
MyX509TrustManager
public MyX509TrustManager()
-
-
Method Details
-
getAcceptedIssuers
- Specified by:
getAcceptedIssuers
in interfaceX509TrustManager
-
checkClientTrusted
- Specified by:
checkClientTrusted
in interfaceX509TrustManager
-
checkServerTrusted
- Specified by:
checkServerTrusted
in interfaceX509TrustManager
-