com.cloudcontrolled.api.client.security
Class DumbX509TrustManager

java.lang.Object
  extended by com.sun.net.ssl.internal.ssl.X509ExtendedTrustManager
      extended by com.cloudcontrolled.api.client.security.DumbX509TrustManager
All Implemented Interfaces:
TrustManager, X509TrustManager

public class DumbX509TrustManager
extends com.sun.net.ssl.internal.ssl.X509ExtendedTrustManager
implements TrustManager

DumbX509TrustManager class.

Author:
Denis Neuling (denisneuling@gmail.com)

Constructor Summary
DumbX509TrustManager()
           
 
Method Summary
 void checkClientTrusted(X509Certificate[] arg0, String arg1)
          
 void checkClientTrusted(X509Certificate[] arg0, String arg1, String arg2, String arg3)
          
 void checkServerTrusted(X509Certificate[] arg0, String arg1)
          
 void checkServerTrusted(X509Certificate[] arg0, String arg1, String arg2, String arg3)
          
 X509Certificate[] getAcceptedIssuers()
           getAcceptedIssuers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DumbX509TrustManager

public DumbX509TrustManager()
Method Detail

checkClientTrusted

public void checkClientTrusted(X509Certificate[] arg0,
                               String arg1)
                        throws CertificateException

Specified by:
checkClientTrusted in interface X509TrustManager
Throws:
CertificateException

checkServerTrusted

public void checkServerTrusted(X509Certificate[] arg0,
                               String arg1)
                        throws CertificateException

Specified by:
checkServerTrusted in interface X509TrustManager
Throws:
CertificateException

getAcceptedIssuers

public X509Certificate[] getAcceptedIssuers()

getAcceptedIssuers.

Specified by:
getAcceptedIssuers in interface X509TrustManager
Returns:
an array of X509Certificate objects.

checkClientTrusted

public void checkClientTrusted(X509Certificate[] arg0,
                               String arg1,
                               String arg2,
                               String arg3)
                        throws CertificateException

Specified by:
checkClientTrusted in class com.sun.net.ssl.internal.ssl.X509ExtendedTrustManager
Throws:
CertificateException

checkServerTrusted

public void checkServerTrusted(X509Certificate[] arg0,
                               String arg1,
                               String arg2,
                               String arg3)
                        throws CertificateException

Specified by:
checkServerTrusted in class com.sun.net.ssl.internal.ssl.X509ExtendedTrustManager
Throws:
CertificateException


Copyright © 2012. All Rights Reserved.