Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep Javadoc index of package

Package Samples:


Jessie: This is the security provider for Jessie. It implements the following algorithms: .SSLv3 .SSL .TLSv1 .TLS .JessieX509 .JessieX509 .SRP
JDBCSessionContext: The SQL table this class stores sessions in, called SESSIONS , looks like this: TABLE SESSIONS ( ID VARBINARY(32) PRIMARY KEY UNIQUE NOT NULL, CREATED TIMESTAMP NOT NULL, LAST_ACCESSED TIMESTAMP NOT NULL, PROTOCOL VARCHAR(7) NOT NULL, SUITE VARCHAR(255) NOT NULL, PEER_HOST TEXT NOT NULL, PEER_CERT_TYPE VARCHAR(32), PEER_CERTS BLOB, CERT_TYPE VARCHAR(32), CERTS BLOB, SECRET VARBINARY(48) NOT NULL ) Note that the master secret for sessions is not protected before being inserted into the database; it is up to the system to protect the stored data from unauthorized access.
DiffieHellman: Simple implementation of two-party Diffie-Hellman key agreement. The primes used in this class are from the following documents: D. Harkins and D. Carrel, "The Internet Key Exchange (IKE)", RFC 2409 . T. Kivinen and M. Kojo, "More Modular Exponential (MODP) Diffie-Hellman groups for Internet Key Exchange (IKE)", RFC 3526 . The generator for all these primes is 2.
Enumerated: An enumerated type in the SSL protocols. Enumerated values take on one of a set of possible numeric values, which are not specifically ordered, and may be extensible to a maximum value. enum { e1(v1), e2(v2), ... [[, (n) ]] } Enumerated types are encoded as big-endian multibyte integers, which take up the least possible number of bytes. Thus, an enumeration with up to 255 values will be encoded in a single byte, and so on.
SSLRSASignature: The RSA signature algorithm as used in the SSL protocol. Note that this is different from the RSA signature used to verify certificates. This signature scheme works as follows: digitally-signed struct { opaque md5_hash[16]; opaque sha_hash[20]; } Where a digitally-signed struct is RSA-encrypted with block type 0 or 1 according to PKCS #1, version 1.5.
Alert: An alert message in the SSL protocol. Alerts are sent both as warnings which may allow execution to continue, or they may be fatal, which will halt this session. An alert object is composed of two enums -- the level, which indicates the seriousness of the alert, and the description, which indicates the reason for the alert. struct { AlertLevel level; AlertDescription description; }
RecordOutputStream: An output stream for writing data to the record layer. All data written to this stream (through any of the write methods) is immediately sent as a full record, so it is advisable to write large arrays to the stream instead of one byte at a time (alternatively, a can be used).
SRPTrustManagerFactory: This is an implementation of a engine for the ``SRP'' algorithm. You must initialize instances of this algorithm with .
SSLHMac: The MAC function in SSLv3. This mac is defined as: hash(MAC_write_secret, pad_2 + hash(MAC_write_secret + pad_1 + data)); hash is e.g. MD5 or SHA-1, pad_1 is the value 0x36 48 times for MD5 and 40 times for SHA-1, and pad_2 is the value 0x5c repeated similarly.
GNUSecurityParameters: This class implements the SecurityParameters interface, using the GNU Crypto interface for ciphers and macs, and the JZlib package for record compression.
SSLSocket: This is the core of the Jessie SSL implementation; it implements the for normal and "wrapped" sockets, and handles all protocols implemented by this library.
RecordingInputStream: A filter input stream that records every byte read from the underlying input stream. This class is useful for protocols that require portions of the communication to be saved, such as the handshake and key derivation in SSL.
Context: This is Jessie's implementation of a engine, and is available under the algorithm names ``SSLv3'', ``SSL'', ``TLSv1'', and ``TLS''.
ContentType: The content type enumeration, which marks packets in the record layer. enum { change_cipher_spec(20), alert(21), handshake(22), application_data(23), (255) } ContentType;
SecurityParameters: The interface that all security parameters used by Jessie must implement. Security parameters handle all transforming of data, including encryption, authentication, and compression.
SessionContext: A collection of SSL sessions. This implementation is a memory-only store; subclasses may implement persistent storage.
Session: A generic SSL session implementation for SSL and TLS.
Constructed: The base interface to SSL constructed types.

Home | Contact Us | Privacy Policy | Terms of Service