com.zeroturnaround.liverebel.api.http
Class LiveRebelX509TrustManager
java.lang.Object
com.zeroturnaround.liverebel.api.http.LiveRebelX509TrustManager
- All Implemented Interfaces:
- TrustManager, X509TrustManager
public class LiveRebelX509TrustManager
- extends Object
- implements X509TrustManager
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LiveRebelX509TrustManager
public LiveRebelX509TrustManager(KeyStore keystore)
throws NoSuchAlgorithmException,
KeyStoreException
- Constructor for ZTX509TrustManager.
- Throws:
NoSuchAlgorithmException
KeyStoreException
checkClientTrusted
public void checkClientTrusted(X509Certificate[] certificates,
String authType)
throws CertificateException
- Specified by:
checkClientTrusted in interface X509TrustManager
- Throws:
CertificateException
checkServerTrusted
public void checkServerTrusted(X509Certificate[] certificates,
String authType)
throws CertificateException
- Specified by:
checkServerTrusted in interface X509TrustManager
- Throws:
CertificateException
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
- Specified by:
getAcceptedIssuers in interface X509TrustManager
Copyright © 2013. All Rights Reserved.