Apache JMeter
2.0.1.20050615

org.apache.jmeter.util
Class JsseSSLManager.AlwaysTrustManager

java.lang.Object
  extended byorg.apache.jmeter.util.JsseSSLManager.AlwaysTrustManager
All Implemented Interfaces:
com.sun.net.ssl.TrustManager, com.sun.net.ssl.X509TrustManager
Enclosing class:
JsseSSLManager

protected static class JsseSSLManager.AlwaysTrustManager
extends Object
implements com.sun.net.ssl.X509TrustManager

Author:
MStover Created March 21, 2002

Field Summary
protected  X509Certificate[] certs
          Description of the Field
 
Constructor Summary
JsseSSLManager.AlwaysTrustManager(KeyStore store)
          Constructor for the AlwaysTrustManager object
 
Method Summary
 void checkClientTrusted(X509Certificate[] arg0, String arg1)
           
 void checkServerTrusted(X509Certificate[] arg0, String arg1)
           
 X509Certificate[] getAcceptedIssuers()
          Gets the AcceptedIssuers attribute of the AlwaysTrustManager object
 boolean isClientTrusted(X509Certificate[] arg0)
           
 boolean isServerTrusted(X509Certificate[] arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

certs

protected X509Certificate[] certs
Description of the Field

Constructor Detail

JsseSSLManager.AlwaysTrustManager

public JsseSSLManager.AlwaysTrustManager(KeyStore store)
Constructor for the AlwaysTrustManager object

Parameters:
store - Description of Parameter
Method Detail

getAcceptedIssuers

public X509Certificate[] getAcceptedIssuers()
Gets the AcceptedIssuers attribute of the AlwaysTrustManager object

Specified by:
getAcceptedIssuers in interface com.sun.net.ssl.X509TrustManager
Returns:
The AcceptedIssuers value

checkClientTrusted

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

checkServerTrusted

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

isClientTrusted

public boolean isClientTrusted(X509Certificate[] arg0)
Specified by:
isClientTrusted in interface com.sun.net.ssl.X509TrustManager

isServerTrusted

public boolean isServerTrusted(X509Certificate[] arg0)
Specified by:
isServerTrusted in interface com.sun.net.ssl.X509TrustManager

Apache JMeter
2.0.1.20050615

Copyright © 1998-2005 Apache Software Foundation. All Rights Reserved.