net.authorize.arb.http
Class HttpUtil.SavingTrustManager

java.lang.Object
  extended by net.authorize.arb.http.HttpUtil.SavingTrustManager
All Implemented Interfaces:
TrustManager, X509TrustManager
Enclosing class:
HttpUtil

private static class HttpUtil.SavingTrustManager
extends Object
implements X509TrustManager

WRITEME: The documentation for this type (SavingTrustManager) is incomplete. (brpocock@star-hope.org, Nov 19, 2009)


Field Summary
(package private)  X509Certificate[] chain
          WRITEME: document this field chain (SavingTrustManager)
private  X509TrustManager tm
          WRITEME: document this field tm (SavingTrustManager)
 
Constructor Summary
HttpUtil.SavingTrustManager(X509TrustManager tm1)
           
 
Method Summary
 void checkClientTrusted(X509Certificate[] certChain, String authType)
          This is an overriding method.
 void checkServerTrusted(X509Certificate[] certChain, String authType)
          This is an overriding method.
 X509Certificate[] getAcceptedIssuers()
          This is an overriding method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

chain

X509Certificate[] chain
WRITEME: document this field chain (SavingTrustManager)


tm

private final X509TrustManager tm
WRITEME: document this field tm (SavingTrustManager)

Constructor Detail

HttpUtil.SavingTrustManager

HttpUtil.SavingTrustManager(X509TrustManager tm1)
Parameters:
tm1 - WRITEME
Method Detail

checkClientTrusted

public void checkClientTrusted(X509Certificate[] certChain,
                               String authType)
                        throws CertificateException
This is an overriding method.

Specified by:
checkClientTrusted in interface X509TrustManager
Throws:
CertificateException
See Also:
X509TrustManager.checkClientTrusted(java.security.cert.X509Certificate[], java.lang.String)

checkServerTrusted

public void checkServerTrusted(X509Certificate[] certChain,
                               String authType)
                        throws CertificateException
This is an overriding method.

Specified by:
checkServerTrusted in interface X509TrustManager
Throws:
CertificateException
See Also:
X509TrustManager.checkServerTrusted(java.security.cert.X509Certificate[], java.lang.String)

getAcceptedIssuers

public X509Certificate[] getAcceptedIssuers()
This is an overriding method.

Specified by:
getAcceptedIssuers in interface X509TrustManager
See Also:
X509TrustManager.getAcceptedIssuers()