hudson.cli
Class NoCheckTrustManager

java.lang.Object
  extended by hudson.cli.NoCheckTrustManager
All Implemented Interfaces:
TrustManager, X509TrustManager

public class NoCheckTrustManager
extends Object
implements X509TrustManager

Author:
Kohsuke Kawaguchi

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

Constructor Detail

NoCheckTrustManager

public NoCheckTrustManager()
Method Detail

checkClientTrusted

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

checkServerTrusted

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

getAcceptedIssuers

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


Copyright © 2004-2013. All Rights Reserved.