| java.lang.Object com.sun.portal.kssl.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) Creates an Handshake object that is used to negotiate a
version 3 handshake with an SSL peer. |
Method Summary | |
public void | destroy() Frees data structures associated with the handshake layer. | void | doHandShake(byte aswho) Initiates an SSL handshake with the peer specified previously
in the constructor. | void | setCipherSuites(byte[] cipherSuites) |
negSuite | byte negSuite(Code) | | Negotiated cipher suite.
|
negSuiteName | String negSuiteName(Code) | | Name of negotiated cipher suite.
|
Handshake | Handshake(String host, int port, Record r)(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 |
destroy | public void destroy()(Code) | | Frees data structures associated with the handshake layer.
|
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 |
setCipherSuites | void setCipherSuites(byte[] cipherSuites)(Code) | | |
|
|