it.haefelinger.flaka.util
Class InitSSL.AntiX509TrustManager

java.lang.Object
  extended by it.haefelinger.flaka.util.InitSSL.AntiX509TrustManager
All Implemented Interfaces:
TrustManager, X509TrustManager
Enclosing class:
InitSSL

public static class InitSSL.AntiX509TrustManager
extends Object
implements X509TrustManager


Constructor Summary
InitSSL.AntiX509TrustManager()
           
 
Method Summary
 void checkClientTrusted(X509Certificate[] certs, String authType)
           
 void checkServerTrusted(X509Certificate[] certs, String authType)
           
 X509Certificate[] getAcceptedIssuers()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitSSL.AntiX509TrustManager

public InitSSL.AntiX509TrustManager()
Method Detail

getAcceptedIssuers

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

checkServerTrusted

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

checkClientTrusted

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