com.foxinmy.weixin4j.http.factory
Class HttpClientFactory.AllowX509TrustManager

java.lang.Object
  extended by 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
static X509TrustManager GLOBAL
           
 
Method Summary
 void checkClientTrusted(X509Certificate[] paramArrayOfX509Certificate, String paramString)
           
 void checkServerTrusted(X509Certificate[] paramArrayOfX509Certificate, String paramString)
           
 X509Certificate[] getAcceptedIssuers()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GLOBAL

public static final X509TrustManager GLOBAL
Method Detail

getAcceptedIssuers

public X509Certificate[] getAcceptedIssuers()
Specified by:
getAcceptedIssuers in interface X509TrustManager

checkServerTrusted

public void checkServerTrusted(X509Certificate[] paramArrayOfX509Certificate,
                               String paramString)
                        throws CertificateException
Specified by:
checkServerTrusted in interface X509TrustManager
Throws:
CertificateException

checkClientTrusted

public void checkClientTrusted(X509Certificate[] paramArrayOfX509Certificate,
                               String paramString)
                        throws CertificateException
Specified by:
checkClientTrusted in interface X509TrustManager
Throws:
CertificateException


Copyright © 2014–2017. All rights reserved.