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 X509TrustManagerGLOBAL
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckClientTrusted(X509Certificate[] paramArrayOfX509Certificate, String paramString)voidcheckServerTrusted(X509Certificate[] paramArrayOfX509Certificate, String paramString)X509Certificate[]getAcceptedIssuers()
-
-
-
Field Detail
-
GLOBAL
public static final X509TrustManager GLOBAL
-
-
Method Detail
-
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
- Specified by:
getAcceptedIssuersin interfaceX509TrustManager
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] paramArrayOfX509Certificate, String paramString) throws CertificateException
- Specified by:
checkServerTrustedin interfaceX509TrustManager- Throws:
CertificateException
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] paramArrayOfX509Certificate, String paramString) throws CertificateException
- Specified by:
checkClientTrustedin interfaceX509TrustManager- Throws:
CertificateException
-
-