netscape.ldap

Interface LDAPTLSSocketFactory

All Superinterfaces:
LDAPSocketFactory
Known Implementing Classes:
JSSESocketFactory, JSSSocketFactory

public interface LDAPTLSSocketFactory
extends LDAPSocketFactory

A socket factory interface for supporting the start TLS LDAPv3 extension (RFC 2830).

Version:
1.0
Since:
LDAPJDK 4.17

Method Summary

Socket
makeSocket(Socket s)
Creates an SSL socket layered over an existing socket.

Methods inherited from interface netscape.ldap.LDAPSocketFactory

makeSocket

Method Details

makeSocket

public Socket makeSocket(Socket s)
            throws LDAPException
Creates an SSL socket layered over an existing socket. Used for the start TLS operations (RFC2830).
Parameters:
s - An existing non-SSL socket
Returns:
A SSL socket layered over the input socket
Throws:
LDAPException - on error creating socket