|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--de.bb.minissl.SslClient
Implements the client side handshake for SSL. Creates the primary hello and passes the answer either to a Ssl2 or Ssl3 client.
| Constructor Summary | |
SslClient()
Creates a new SslClient object, which uses the given InputStream for reading and the given OutputStream for writing. |
|
SslClient(java.io.InputStream is,
java.io.OutputStream os)
Creates a new SslClient object, which uses the given InputStream for reading and the given OutputStream for writing. |
|
| Method Summary | |
void |
connect(java.io.InputStream is,
java.io.OutputStream os)
Connects the current object, which uses the given InputStream for reading and the given OutputStream for writing. |
java.util.Vector |
getCertificates()
Return the vector of received certificates. |
int |
getCipherType()
Query the used ciphertype |
java.io.InputStream |
getInputStream()
Returns an input stream for this Ssl connection. |
java.io.OutputStream |
getOutputStream()
Returns an input stream for this Ssl connection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SslClient()
connect(InputStream is, OutputStream os)connect(InputStream is, OutputStream os) throws IOException
public SslClient(java.io.InputStream is,
java.io.OutputStream os)
throws java.io.IOException
is - the InputStream, which is used for readingos - the OutputStream, which is used for writingjava.io.IOException - throws an IOException if any non recoverable error occurs.| Method Detail |
public void connect(java.io.InputStream is,
java.io.OutputStream os)
throws java.io.IOException
is - the InputStream, which is used for readingos - the OutputStream, which is used for writingjava.io.IOException - throws an IOException if any non recoverable error occurs.
public java.io.InputStream getInputStream()
throws java.io.IOException
java.io.IOException - throws an IOException on error
public java.io.OutputStream getOutputStream()
throws java.io.IOException
java.io.IOException - throws an IOException on error
public int getCipherType()
throws java.io.IOException
java.io.IOException - throws an IOException when not connected
public final java.util.Vector getCertificates()
throws java.io.IOException
java.io.IOException - throws an IOException when not connected
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||