Method Summary |
|
public void | addHandshakeCompletedListener(HandshakeCompletedListener listener) This method works according to the specification of implemented class. |
public void | close() This method works according to the specification of implemented class. |
protected void | closeTransportLayer() Closes the transport data streams. |
public void | connect(SocketAddress endpoint) This method works according to the specification of implemented class. |
public void | connect(SocketAddress endpoint, int timeout) This method works according to the specification of implemented class. |
public boolean | getEnableSessionCreation() This method works according to the specification of implemented class. |
public String[] | getEnabledCipherSuites() This method works according to the specification of implemented class. |
public String[] | getEnabledProtocols() This method works according to the specification of implemented class. |
public InputStream | getInputStream() This method works according to the specification of implemented class. |
public boolean | getNeedClientAuth() This method works according to the specification of implemented class. |
public OutputStream | getOutputStream() This method works according to the specification of implemented class. |
public SSLSession | getSession() This method works according to the specification of implemented class. |
public String[] | getSupportedCipherSuites() This method works according to the specification of implemented class. |
public String[] | getSupportedProtocols() This method works according to the specification of implemented class. |
public boolean | getUseClientMode() This method works according to the specification of implemented class. |
public boolean | getWantClientAuth() This method works according to the specification of implemented class. |
protected void | init() Initialize the SSL socket. |
protected void | initTransportLayer() Initialize the transport data streams. |
protected void | needAppData() This method is called by SSLSocketInputStream class
when client application tryes to read application data from
the stream, but there is no data in its underlying buffer. |
public void | removeHandshakeCompletedListener(HandshakeCompletedListener listener) This method works according to the specification of implemented class. |
public void | sendUrgentData(int data) This method is not supported for SSLSocket implementation. |
public void | setEnableSessionCreation(boolean flag) This method works according to the specification of implemented class. |
public void | setEnabledCipherSuites(String[] suites) This method works according to the specification of implemented class. |
public void | setEnabledProtocols(String[] protocols) This method works according to the specification of implemented class. |
public void | setNeedClientAuth(boolean need) This method works according to the specification of implemented class. |
public void | setOOBInline(boolean on) This method is not supported for SSLSocket implementation. |
public void | setUseClientMode(boolean mode) This method works according to the specification of implemented class. |
public void | setWantClientAuth(boolean want) This method works according to the specification of implemented class. |
public void | shutdownInput() This method is not supported for SSLSocket implementation. |
public void | shutdownOutput() This method is not supported for SSLSocket implementation. |
public void | startHandshake() Performs the handshake process over the SSL/TLS connection
as described in rfc 2246, TLS v1 specification
http://www.ietf.org/rfc/rfc2246.txt. |
public String | toString() Returns the string representation of the object. |
protected void | writeAppData(byte[] data, int offset, int len) This method is called by SSLSocketOutputStream when client application
tryes to send the data over ssl protocol. |