goldengate.common.crypto.ssl
Class GgX509TrustManager

java.lang.Object
  extended by goldengate.common.crypto.ssl.GgX509TrustManager
All Implemented Interfaces:
TrustManager, X509TrustManager

public class GgX509TrustManager
extends Object
implements X509TrustManager

GoldenGate X509 Trust Manager implementation

Author:
Frederic Bregier

Constructor Summary
GgX509TrustManager()
          Create an "always-valid" X509TrustManager
GgX509TrustManager(TrustManagerFactory tmf)
          Create a "default" X509TrustManager
 
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

GgX509TrustManager

public GgX509TrustManager()
Create an "always-valid" X509TrustManager


GgX509TrustManager

public GgX509TrustManager(TrustManagerFactory tmf)
                   throws CryptoException
Create a "default" X509TrustManager

Parameters:
tmf -
Throws:
CryptoException
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 © 2009-2012 Frederic Bregier. All Rights Reserved.