public class LDAPTrustManager extends Object implements X509TrustManager
Constructor and Description |
---|
LDAPTrustManager(String trustStoreLoc,
String trustStorePassword) |
Modifier and Type | Method and Description |
---|---|
void |
checkClientTrusted(X509Certificate[] xcs,
String authType) |
void |
checkServerTrusted(X509Certificate[] xcs,
String authType) |
X509Certificate[] |
getAcceptedIssuers() |
public LDAPTrustManager(String trustStoreLoc, String trustStorePassword) throws NoSuchAlgorithmException, KeyStoreException
public void checkClientTrusted(X509Certificate[] xcs, String authType) throws CertificateException
checkClientTrusted
in interface X509TrustManager
CertificateException
public void checkServerTrusted(X509Certificate[] xcs, String authType) throws CertificateException
checkServerTrusted
in interface X509TrustManager
CertificateException
public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers
in interface X509TrustManager
Copyright © 2010–2018. All rights reserved.