public class LDAPTrustManager
extends java.lang.Object
implements javax.net.ssl.X509TrustManager
| Constructor and Description |
|---|
LDAPTrustManager(javax.net.ssl.X509TrustManager trustManager, boolean ibmJSSE) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType)
This method determines whether an SSL client with the provided certificate chain should be trusted.
|
void |
checkServerTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType)
This method determines whether an SSL server with the provided certificate chain should be trusted.
|
java.security.cert.X509Certificate[] |
getAcceptedIssuers()
This method retrieves the set of certificate authority certificates which are trusted for authenticating peers.
|
static javax.net.ssl.X509TrustManager[] |
wrap(javax.net.ssl.TrustManager[] trustManagers, boolean ibmJSSE) |
public LDAPTrustManager(javax.net.ssl.X509TrustManager trustManager,
boolean ibmJSSE)
public void checkClientTrusted(java.security.cert.X509Certificate[] chain,
java.lang.String authType)
throws java.security.cert.CertificateException
checkClientTrusted in interface javax.net.ssl.X509TrustManagerjava.security.cert.CertificateException
public void checkServerTrusted(java.security.cert.X509Certificate[] chain,
java.lang.String authType)
throws java.security.cert.CertificateException
checkServerTrusted in interface javax.net.ssl.X509TrustManagerjava.security.cert.CertificateExceptionpublic java.security.cert.X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface javax.net.ssl.X509TrustManager
public static javax.net.ssl.X509TrustManager[] wrap(javax.net.ssl.TrustManager[] trustManagers,
boolean ibmJSSE)