it.eng.rdlab.soa3.pm.connector.utils.security
Class NullTrustManager
java.lang.Object
it.eng.rdlab.soa3.pm.connector.utils.security.NullTrustManager
- All Implemented Interfaces:
- TrustManager, X509TrustManager
public class NullTrustManager
- extends Object
- implements X509TrustManager
A trust manager that doesn't make anything: used for test purposes
- Author:
- Ciro Formisano (ENG)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullTrustManager
public NullTrustManager(KeyStore keystore)
throws Exception
- Throws:
Exception
checkClientTrusted
public void checkClientTrusted(X509Certificate[] chain,
String authType)
throws CertificateException
- Specified by:
checkClientTrusted in interface X509TrustManager
- Throws:
CertificateException
checkServerTrusted
public void checkServerTrusted(X509Certificate[] chain,
String authType)
throws CertificateException
- Specified by:
checkServerTrusted in interface X509TrustManager
- Throws:
CertificateException
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
- Specified by:
getAcceptedIssuers in interface X509TrustManager
Copyright © 2012. All Rights Reserved.