API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.naming.ldap. StartTlsResponse View Source
Author(s)
Vincent Ryan
Since
1.4
Version
Serial
Hierarchy
 Object
      StartTlsResponse
Implements
 ExtendedResponse
Subclasses
Description
publicabstract abstract class StartTlsResponse
  This class implements the LDAPv3 Extended Response for StartTLS as defined in Lightweight Directory Access Protocol (v3): Extension for Transport Layer Security The object identifier for StartTLS is 1.3.6.1.4.1.1466.20037 and no extended response value is defined.
See also:    StartTlsRequest
Constructors
protected StartTlsResponse ()
  Constructs a StartTLS extended response.
Methods
Hide/Show inherited methods
publicabstract void close () throws IOException
  Closes the TLS connection gracefully and reverts back to the underlying connection.
public byte getEncodedValue () [Specified in ExtendedResponse]
  Retrieves the StartTLS response's ASN.1 BER encoded value.
public String getID () [Specified in ExtendedResponse]
  Retrieves the StartTLS response's object identifier string.
publicabstract SSLSession negotiate () throws IOException
  Negotiates a TLS session using the default SSL socket factory.
publicabstract SSLSession negotiate (SSLSocketFactory factory) throws IOException
  Negotiates a TLS session using an SSL socket factory.
publicabstract void setEnabledCipherSuites (String suites)
  Overrides the default list of cipher suites enabled for use on the TLS connection.
publicabstract void setHostnameVerifier (HostnameVerifier verifier)
  Sets the hostname verifier used by negotiate() after the TLS handshake has completed and the default hostname verification has failed.
Fields
Hide/Show inherited fields
publicfinalstatic String OID = "1.3.6.1.4.1.1466.20037"
The StartTLS extended response's assigned object identifier is 1.3.6.1.4.1.1466.20037.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar