org.jsslutils.sslcontext.trustmanagers
Class TrustAllServersWrappingTrustManager.Wrapper

java.lang.Object
  extended by org.jsslutils.sslcontext.trustmanagers.TrustAllServersWrappingTrustManager.Wrapper
All Implemented Interfaces:
X509TrustManagerWrapper
Enclosing class:
TrustAllServersWrappingTrustManager

public static class TrustAllServersWrappingTrustManager.Wrapper
extends Object
implements X509TrustManagerWrapper

Wrapper factory class that wraps existing X509TrustManagers into X509TrustManagers that trust any clients.

Author:
Bruno Harbulot.

Constructor Summary
TrustAllServersWrappingTrustManager.Wrapper()
           
 
Method Summary
 X509TrustManager wrapTrustManager(X509TrustManager trustManager)
          Builds an X509TrustManager from another X509TrustManager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrustAllServersWrappingTrustManager.Wrapper

public TrustAllServersWrappingTrustManager.Wrapper()
Method Detail

wrapTrustManager

public X509TrustManager wrapTrustManager(X509TrustManager trustManager)
Builds an X509TrustManager from another X509TrustManager.

Specified by:
wrapTrustManager in interface X509TrustManagerWrapper
Parameters:
trustManager - original X509TrustManager.
Returns:
wrapped X509TrustManager.


Copyright © 2012. All Rights Reserved.