IT. Expert System.

Android Reference

ConnectionStateSSLv3


org.apache.harmony.xnet.provider.jsse

Class ConnectionStateSSLv3



  • public class ConnectionStateSSLv3
    extends ConnectionState
    This class encapsulates 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.
    • Constructor Detail

      • ConnectionStateSSLv3

        protected ConnectionStateSSLv3(SSLSessionImpl session)
        Creates the instance of SSL v3 Connection State. All of the security parameters are provided by session object.
        Parameters:
        session: - the sessin object which incapsulates all of the security parameters established by handshake protocol. The key calculation for the state is done according to the SSL v3 Protocol specification. (http://www.mozilla.org/projects/security/pki/nss/ssl/draft302.txt)
    • Method Detail

      • encrypt

        protected byte[] encrypt(byte type,
                     byte[] fragment,
                     int offset,
                     int len)
        Creates the GenericStreamCipher or GenericBlockCipher data structure for specified data of specified type.
        Specified by:
        encrypt in class ConnectionState
        Parameters:
        type - - the ContentType of the provided data
        fragment - - the byte array containing the data to be encrypted under the current connection state.
        offset - - the offset from which the data begins with.
        len - - the length of the data.
        Throws:
        AlertException - if alert was occurred.
      • decrypt

        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.
        Specified by:
        decrypt in class ConnectionState
        Parameters:
        type - - the ContentType of the data to be decrypted.
        fragment - - the byte array containing the data to be encrypted under the current connection state.
        offset - - the offset from which the data begins with.
        len - - the length of the data.
        Throws:
        AlertException - if alert was occured.
      • shutdown

        protected void shutdown()
        Shutdown the protocol. It will be impossible to use the instance after the calling of this method.
        Overrides:
        shutdown in class ConnectionState


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 458 / . Delta: 0.03899 с