| java.lang.Object org.apache.harmony.xnet.provider.jsse.ConnectionState org.apache.harmony.xnet.provider.jsse.ConnectionStateSSLv3
ConnectionStateSSLv3 | public class ConnectionStateSSLv3 extends ConnectionState (Code) | | This class incapsulates the operating environment of the SSL v3
(http://wp.netscape.com/eng/ssl3) Record Protocol and provides
relating encryption/decryption functionality.
The work functionality is based on the security
parameters negotiated during the handshake.
|
Method Summary | |
protected byte[] | decrypt(byte type, byte[] fragment, int offset, int len) Retrieves the fragment of the Plaintext structure of
the specified type from the provided data. | protected byte[] | encrypt(byte type, byte[] fragment, int offset, int len) Creates the GenericStreamCipher or GenericBlockCipher
data structure for specified data of specified type. | protected void | shutdown() Shutdownes the protocol. |
ConnectionStateSSLv3 | protected ConnectionStateSSLv3(SSLSessionImpl session)(Code) | | Creates the instance of SSL v3 Connection State. All of the
security parameters are provided by session object.
session: the sessin object which incapsulatesall of the security parameters established by handshake protocol.The key calculation for the state is done accordingto the SSL v3 Protocol specification.(http://www.mozilla.org/projects/security/pki/nss/ssl/draft302.txt) |
decrypt | protected byte[] decrypt(byte type, byte[] fragment, int offset, int len)(Code) | | Retrieves the fragment of the Plaintext structure of
the specified type from the provided data.
throws: AlertException - if alert was occured. |
shutdown | protected void shutdown()(Code) | | Shutdownes the protocol. It will be impossiblke to use the instance
after the calling of this method.
|
|
|