public class SSLClient extends SSLCTX
Constructor and Description |
---|
SSLClient(int options,
int num_sessions)
Start a new client context.
|
Modifier and Type | Method and Description |
---|---|
SSL |
connect(Socket socket,
byte[] session_id)
Establish a new SSL connection to an SSL server.
|
public SSLClient(int options, int num_sessions) throws NoSuchAlgorithmException
NoSuchAlgorithmException
for details.
public final SSL connect(Socket socket, byte[] session_id) throws IOException, NoSuchAlgorithmException, CryptoException
socket
- [in] A reference to a totalcross.net.Socket.session_id
- [in] A 32 byte session id for session resumption. This can be
null if no session resumption is not required.IOException
CryptoException
NoSuchAlgorithmException