org.sonatype.tests.http.server.jetty.impl
Class JettyServerProvider.CustomTrustManager

java.lang.Object
  extended by org.sonatype.tests.http.server.jetty.impl.JettyServerProvider.CustomTrustManager
All Implemented Interfaces:
TrustManager, X509TrustManager
Enclosing class:
JettyServerProvider

public static final class JettyServerProvider.CustomTrustManager
extends Object
implements X509TrustManager


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

Constructor Detail

JettyServerProvider.CustomTrustManager

public JettyServerProvider.CustomTrustManager()
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()
Specified by:
getAcceptedIssuers in interface X509TrustManager


Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.