Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Internet Directory
11g Release 1 (11.1.1.9)

E56822-01


oracle.ldap.util.jndi
Class LDAPTrustManager

java.lang.Object
  extended by oracle.ldap.util.jndi.LDAPTrustManager

All Implemented Interfaces:
javax.net.ssl.TrustManager, javax.net.ssl.X509TrustManager

public class LDAPTrustManager
extends java.lang.Object
implements javax.net.ssl.X509TrustManager

Constructor Summary
LDAPTrustManager(javax.net.ssl.X509TrustManager trustManager, boolean ibmJSSE)
           

 

Method Summary
 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)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

LDAPTrustManager

public LDAPTrustManager(javax.net.ssl.X509TrustManager trustManager,
                        boolean ibmJSSE)

Method Detail

checkClientTrusted

public void checkClientTrusted(java.security.cert.X509Certificate[] chain,
                               java.lang.String authType)
                        throws java.security.cert.CertificateException
This method determines whether an SSL client with the provided certificate chain should be trusted.
Specified by:
checkClientTrusted in interface javax.net.ssl.X509TrustManager
Throws:
java.security.cert.CertificateException

checkServerTrusted

public void checkServerTrusted(java.security.cert.X509Certificate[] chain,
                               java.lang.String authType)
                        throws java.security.cert.CertificateException
This method determines whether an SSL server with the provided certificate chain should be trusted.
Specified by:
checkServerTrusted in interface javax.net.ssl.X509TrustManager
Throws:
java.security.cert.CertificateException

getAcceptedIssuers

public java.security.cert.X509Certificate[] getAcceptedIssuers()
This method retrieves the set of certificate authority certificates which are trusted for authenticating peers.
Specified by:
getAcceptedIssuers in interface javax.net.ssl.X509TrustManager

wrap

public static javax.net.ssl.X509TrustManager[] wrap(javax.net.ssl.TrustManager[] trustManagers,
                                                    boolean ibmJSSE)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Internet Directory
11g Release 1 (11.1.1.9)

E56822-01


Copyright © 1999, 2015 Oracle and/or its affiliates. All Rights Reserved.