Example usage for Java javax.naming.ldap StartTlsResponse fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close() Closes the TLS connection gracefully and reverts back to the underlying connection. |
SSLSession | negotiate() Negotiates a TLS session using the default SSL socket factory. |
SSLSession | negotiate(SSLSocketFactory factory) Negotiates a TLS session using an SSL socket factory. |
void | setHostnameVerifier(HostnameVerifier verifier) Sets the hostname verifier used by negotiate() after the TLS handshake has completed and the default hostname verification has failed. |