public static class EasySslSocketFactory.EasyX509TrustManager extends Object implements com.sun.net.ssl.X509TrustManager
Constructor and Description |
---|
EasySslSocketFactory.EasyX509TrustManager(KeyStore keystore)
Constructor for EasyX509TrustManager.
|
Modifier and Type | Method and Description |
---|---|
X509Certificate[] |
getAcceptedIssuers() |
boolean |
isClientTrusted(X509Certificate[] certificates) |
boolean |
isServerTrusted(X509Certificate[] certificates) |
public EasySslSocketFactory.EasyX509TrustManager(KeyStore keystore) throws NoSuchAlgorithmException, KeyStoreException
keystore
- KeyStoreNoSuchAlgorithmException
KeyStoreException
public boolean isClientTrusted(X509Certificate[] certificates)
isClientTrusted
in interface com.sun.net.ssl.X509TrustManager
X509TrustManager.isClientTrusted(X509Certificate[])
public boolean isServerTrusted(X509Certificate[] certificates)
isServerTrusted
in interface com.sun.net.ssl.X509TrustManager
X509TrustManager.isServerTrusted(X509Certificate[])
public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers
in interface com.sun.net.ssl.X509TrustManager
X509TrustManager.getAcceptedIssuers()
Copyright © 2016 Internet2. All rights reserved.