public static class SSLUtils.CallbackTrustManager extends Object implements X509TrustManager
| Constructor and Description |
|---|
SSLUtils.CallbackTrustManager(KeyStore trustStore) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(X509Certificate[] chain,
String authType) |
void |
checkServerTrusted(X509Certificate[] chain,
String authType) |
X509Certificate[] |
getAcceptedIssuers() |
void |
registerCertificate(X509Certificate cert) |
public SSLUtils.CallbackTrustManager(KeyStore trustStore) throws NoSuchAlgorithmException, KeyStoreException, NoSuchProviderException
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException
checkClientTrusted in interface X509TrustManagerCertificateExceptionpublic void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException
checkServerTrusted in interface X509TrustManagerCertificateExceptionpublic X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface X509TrustManagerpublic void registerCertificate(X509Certificate cert) throws KeyStoreException, InvalidNameException, NoSuchAlgorithmException, NoSuchProviderException, IOException
Copyright © 2015 OpenEstate. All rights reserved.