| java.lang.Object com.sun.midp.ssl.Handshake
Handshake | class Handshake (Code) | | This class implements the SSL handshake protocol which is responsible
for negotiating security parameters used by the record layer.
Currently, only client-side functionality is implemented.
|
Constructor Summary | |
| Handshake(String host, int port, Record r, CertStore tcs) Creates an Handshake object that is used to negotiate a
version 3 handshake with an SSL peer. |
Method Summary | |
void | doHandShake(byte aswho) Initiates an SSL handshake with the peer specified previously
in the constructor. |
ARCFOUR_128_MD5 | final static byte ARCFOUR_128_MD5(Code) | | ARCFOUR_128_MD5 (0x04).
|
ARCFOUR_128_SHA | final static byte ARCFOUR_128_SHA(Code) | | ARCFOUR_128_SHA (0x05).
|
ARCFOUR_40_MD5 | final static byte ARCFOUR_40_MD5(Code) | | ARCFOUR_40_MD5 (0x03).
|
negSuite | byte negSuite(Code) | | Negotiated cipher suite.
|
negSuiteName | String negSuiteName(Code) | | Name of negotiated cipher suite.
|
Handshake | Handshake(String host, int port, Record r, CertStore tcs)(Code) | | Creates an Handshake object that is used to negotiate a
version 3 handshake with an SSL peer.
Parameters: host - hostname of the peer Parameters: port - port number of the peer Parameters: r - Record instance through which handshakewill occur Parameters: tcs - trusted certificate store containing certificates exception: RuntimeException - if SHA-1 or MD5 is not available |
doHandShake | void doHandShake(byte aswho) throws IOException(Code) | | Initiates an SSL handshake with the peer specified previously
in the constructor.
Parameters: aswho - role played in the handshake (for now onlyRecord.CLIENT is supported) exception: IOException - if the handshake fails for some reason |
|
|