Package netscape.ldap

Interface LDAPTLSSocketFactory

    • Method Detail

      • makeSocket

        java.net.Socket makeSocket​(java.net.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
        See Also:
        LDAPConnection.startTLS()