Class JSSESocketFactory

java.lang.Object
netscape.ldap.factory.JSSESocketFactory
All Implemented Interfaces:
Serializable, LDAPSocketFactory, LDAPTLSSocketFactory

public class JSSESocketFactory extends Object implements LDAPTLSSocketFactory, Serializable
Creates an SSL socket connection to a server, using the JSSE package from Sun. This class implements the LDAPSocketFactory interface.

Version:
1.0
See Also:
  • Field Details

  • Constructor Details

    • JSSESocketFactory

      public JSSESocketFactory()
      Default factory constructor
    • JSSESocketFactory

      public JSSESocketFactory(String[] suites)
      Factory constructor
      Parameters:
      suites - Cipher suites to attempt to use with the server; if null, use any cipher suites available in the JSSE package
    • JSSESocketFactory

      public JSSESocketFactory(SSLSocketFactory factory)
      Factory constructor
      Parameters:
      factory - the SSL socketfactory to use
    • JSSESocketFactory

      public JSSESocketFactory(String[] suites, SSLSocketFactory factory)
      Factory constructor
      Parameters:
      suites - Cipher suites to attempt to use with the server; if null, use any cipher suites available in the JSSE package
      factory - the SSL socketfactory to use
  • Method Details