Class HttpClientFactory.AllowX509TrustManager
- java.lang.Object
-
- com.foxinmy.weixin4j.http.factory.HttpClientFactory.AllowX509TrustManager
-
- All Implemented Interfaces:
TrustManager
,X509TrustManager
- Enclosing class:
- HttpClientFactory
public static class HttpClientFactory.AllowX509TrustManager extends Object implements X509TrustManager
-
-
Field Summary
Fields Modifier and Type Field Description static X509TrustManager
GLOBAL
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkClientTrusted(X509Certificate[] paramArrayOfX509Certificate, String paramString)
void
checkServerTrusted(X509Certificate[] paramArrayOfX509Certificate, String paramString)
X509Certificate[]
getAcceptedIssuers()
-
-
-
Field Detail
-
GLOBAL
public static final X509TrustManager GLOBAL
-
-
Method Detail
-
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
- Specified by:
getAcceptedIssuers
in interfaceX509TrustManager
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] paramArrayOfX509Certificate, String paramString) throws CertificateException
- Specified by:
checkServerTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] paramArrayOfX509Certificate, String paramString) throws CertificateException
- Specified by:
checkClientTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
-
-