org.ujmp.core.util
Class DummyTrustManager
java.lang.Object
org.ujmp.core.util.DummyTrustManager
- All Implemented Interfaces:
- TrustManager, X509TrustManager
public class DummyTrustManager
- extends Object
- implements X509TrustManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummyTrustManager
public DummyTrustManager()
isClientTrusted
public boolean isClientTrusted(X509Certificate[] cert)
isServerTrusted
public boolean isServerTrusted(X509Certificate[] cert)
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
- Specified by:
getAcceptedIssuers
in interface X509TrustManager
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
Copyright © 2010. All Rights Reserved.