< A B C D E F G H I L M N O P R S T U V W

<

() - Static method in class com.kodemuse.security.ssl.AlertLevel
 
() - Static method in class com.kodemuse.security.ssl.ContentType
 
() - Static method in class com.kodemuse.security.ssl.AlertDescription
 

A

AbstractSSLSocketDecorator - class com.kodemuse.security.ssl.AbstractSSLSocketDecorator.
Base class for decorating socket and converting to Secure Socket
AbstractSSLSocketDecorator(SSLContext, TrustStore) - Constructor for class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
accept() - Method in class com.kodemuse.security.ssl.SSLServerSocket
 
affirm(boolean) - Static method in class com.kodemuse.security.ssl.SSLUtil
 
affirm(boolean, String) - Static method in class com.kodemuse.security.ssl.SSLUtil
 
Alert - class com.kodemuse.security.ssl.Alert.
struct { AlertLevel level; AlertDescription description; } Alert;
ALERT_CONTENT - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
Alert(AlertLevel, AlertDescription) - Constructor for class com.kodemuse.security.ssl.Alert
 
Alert(byte[]) - Constructor for class com.kodemuse.security.ssl.Alert
 
Alert(DataInputStream) - Constructor for class com.kodemuse.security.ssl.Alert
 
AlertDescription - class com.kodemuse.security.ssl.AlertDescription.
enum { close_notify(0), unexpected_message(10), bad_record_mac(20), decompression_failure(30), handshake_failure(40), no_certificate(41), bad_certificate(42), unsupported_certificate(43), certificate_revoked(44), certificate_expired(45), certificate_unknown(46), illegal_parameter (47) (255) } AlertDescription;
AlertDescription(DataInputStream) - Constructor for class com.kodemuse.security.ssl.AlertDescription
 
AlertDescription(int) - Constructor for class com.kodemuse.security.ssl.AlertDescription
 
AlertException - exception com.kodemuse.security.ssl.AlertException.
encapsulates alert.
AlertException(Alert, String) - Constructor for class com.kodemuse.security.ssl.AlertException
 
AlertLevel - class com.kodemuse.security.ssl.AlertLevel.
enum { warning(1), fatal(2), (255) } AlertLevel;
AlertLevel(DataInputStream) - Constructor for class com.kodemuse.security.ssl.AlertLevel
 
AlertLevel(int) - Constructor for class com.kodemuse.security.ssl.AlertLevel
 
APPLICATION_DATA_CONTENT - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
ASN1Cert - class com.kodemuse.security.ssl.ASN1Cert.
opaque ASN.1Cert<1..2^24-1>;
ASN1Cert(byte[]) - Constructor for class com.kodemuse.security.ssl.ASN1Cert
 
ASN1Cert(DataInputStream) - Constructor for class com.kodemuse.security.ssl.ASN1Cert
 
ASN1Cert(X509Certificate) - Constructor for class com.kodemuse.security.ssl.ASN1Cert
 
available() - Method in class com.kodemuse.security.ssl.SSLInputStream
 

B

BAD_CERTIFICATE_ALERTDESC - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
BAD_RECORD_MAC_ALERTDESC - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
buf - Variable in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 

C

cacheClientSession(SessionID, byte[], CipherSpec) - Method in class com.kodemuse.security.ssl.SSLContext
 
cacheServerSession(String, int, SessionID, byte[], CipherSpec) - Method in class com.kodemuse.security.ssl.SSLContext
 
cat(byte[], byte[]) - Static method in class com.kodemuse.security.ssl.SSLUtil
 
cat(byte[], int, int, byte[], int, int) - Static method in class com.kodemuse.security.ssl.SSLUtil
 
cat(byte[], int, int, byte[], int, int, byte[], int) - Static method in class com.kodemuse.security.ssl.SSLUtil
 
CERTIFICATE_EXPIRED_ALERTDESC - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
CERTIFICATE_HANDSHAKE - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
CERTIFICATE_REQUEST_HANDSHAKE - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
CERTIFICATE_REVOKED_ALERTDESC - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
CERTIFICATE_UNKNOWN_ALERTDESC - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
CERTIFICATE_VERIFY_HANDSHAKE - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
CertificateChain - class com.kodemuse.security.ssl.CertificateChain.
struct { ASN.1Cert certificate_list<1..2^24-1>; } Certificate; certificate_list This is a sequence (chain) of X.509.v3 certificates, ordered with the sender's certificate first followed by any certificate authority certificates proceeding sequentially upward.
CertificateChain(DataInputStream) - Constructor for class com.kodemuse.security.ssl.CertificateChain
 
CertificateChain(X509Certificate[]) - Constructor for class com.kodemuse.security.ssl.CertificateChain
 
CertificateRequest - class com.kodemuse.security.ssl.CertificateRequest.
enum { rsa_sign(1), dss_sign(2), rsa_fixed_dh(3), dss_fixed_dh(4), rsa_ephemeral_dh(5), dss_ephemeral_dh(6), fortezza_kea(20), (255) } ClientCertificateType; opaque DistinguishedName<1..2^16-1>; struct { ClientCertificateType certificate_types<1..2^8-1>; DistinguishedName certificate_authorities<3..2^16-1>; } CertificateRequest;
CertificateRequest(TrustStore) - Constructor for class com.kodemuse.security.ssl.CertificateRequest
 
CertificateVerify - class com.kodemuse.security.ssl.CertificateVerify.
struct { Signature signature; } CertificateVerify; CertificateVerify.signature.md5_hash MD5(master_secret + pad_2 + MD5(handshake_messages + master_secret + pad_1)); CertificateVerify.signature.sha_hash SHA(master_secret + pad_2 + SHA(handshake_messages + master_secret + pad_1));
CertificateVerify(DataInputStream) - Constructor for class com.kodemuse.security.ssl.CertificateVerify
 
CertificateVerify(HandshakeDigest, MasterSecret, RSAPrivateKey) - Constructor for class com.kodemuse.security.ssl.CertificateVerify
 
CHANGE_CIPHER_SPEC_CONTENT - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
ChangeCipherSpec - class com.kodemuse.security.ssl.ChangeCipherSpec.
struct { enum { change_cipher_spec(1), (255) } type; } ChangeCipherSpec;
ChangeCipherSpec() - Constructor for class com.kodemuse.security.ssl.ChangeCipherSpec
 
ChangeCipherSpec(DataInputStream) - Constructor for class com.kodemuse.security.ssl.ChangeCipherSpec
 
CipherSpec - class com.kodemuse.security.ssl.CipherSpec.
uint8 CipherSuite[2]; let uint8[0] == major unint8[1] == minor enum { stream, block } CipherType; enum { true, false } IsExportable; enum { null, rc4, rc2, des, 3des, des40, fortezza } BulkCipherAlgorithm; enum { null, md5, sha } MACAlgorithm; struct { BulkCipherAlgorithm bulk_cipher_algorithm; MACAlgorithm mac_algorithm; CipherType cipher_type; IsExportable is_exportable; uint8 hash_size; uint8 key_material; uint8 IV_size; } CipherSpec;
CipherSpec.CSException - exception com.kodemuse.security.ssl.CipherSpec.CSException.
 
CipherSpec.CSException(Exception) - Constructor for class com.kodemuse.security.ssl.CipherSpec.CSException
 
CipherSpec.CSException(String) - Constructor for class com.kodemuse.security.ssl.CipherSpec.CSException
 
CipherSpec.NotSupportedException - exception com.kodemuse.security.ssl.CipherSpec.NotSupportedException.
 
CipherSpec.NotSupportedException(CipherSpec) - Constructor for class com.kodemuse.security.ssl.CipherSpec.NotSupportedException
 
CipherSpec(DataInputStream) - Constructor for class com.kodemuse.security.ssl.CipherSpec
 
CipherSpec(int, int) - Constructor for class com.kodemuse.security.ssl.CipherSpec
 
CipherSpecImpl - class com.kodemuse.security.ssl.CipherSpecImpl.
uint8 CipherSuite[2]; let uint8[0] == major unint8[1] == minor enum { stream, block } CipherType; enum { true, false } IsExportable; enum { null, rc4, rc2, des, 3des, des40, fortezza } BulkCipherAlgorithm; enum { null, md5, sha } MACAlgorithm; struct { BulkCipherAlgorithm bulk_cipher_algorithm; MACAlgorithm mac_algorithm; CipherType cipher_type; IsExportable is_exportable; uint8 hash_size; uint8 key_material; uint8 IV_size; } CipherSpec;
CipherSpecImpl(CipherSpec) - Constructor for class com.kodemuse.security.ssl.CipherSpecImpl
 
CipherSuiteNotSupportedException - exception com.kodemuse.security.ssl.CipherSuiteNotSupportedException.
This exception is thrown if the client-server have not been able to negotiate a mutually acceptable cipher suite
CipherSuiteNotSupportedException(CipherSpec) - Constructor for class com.kodemuse.security.ssl.CipherSuiteNotSupportedException
 
CLIENT - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
CLIENT_HELLO_HANDSHAKE - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
CLIENT_KEY_EXCHANGE_HANDSHAKE - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
ClientHello - class com.kodemuse.security.ssl.ClientHello.
struct { ProtocolVersion client_version; Random random; SessionID session_id; CipherSpec cipher_suites<2..2^16-1>; CompressionMethod compression_methods<1..2^8-1>; } ClientHello;
ClientHello(DataInputStream) - Constructor for class com.kodemuse.security.ssl.ClientHello
 
ClientHello(ProtocolVersion, Random, SessionID, CipherSpec[], CompressionMethod[]) - Constructor for class com.kodemuse.security.ssl.ClientHello
 
ClientHelloV2 - class com.kodemuse.security.ssl.ClientHelloV2.
SSL v2 client hello.
ClientHelloV2(DataInputStream) - Constructor for class com.kodemuse.security.ssl.ClientHelloV2
 
ClientKeyExchange - class com.kodemuse.security.ssl.ClientKeyExchange.
struct { select (KeyExchangeAlgorithm) { case rsa: EncryptedPreMasterSecret; case diffie_hellman: ClientDiffieHellmanPublic; case fortezza_kea: FortezzaKeys; } exchange_keys; } ClientKeyExchange; enum { rsa, diffie_hellman, fortezza_kea } KeyExchangeAlgorithm; struct { ProtocolVersion client_version; opaque random[46]; } PreMasterSecret; struct { public-key-encrypted PreMasterSecret pre_master_secret; } EncryptedPreMasterSecret;
ClientKeyExchange(ProtocolVersion, RSAPublicKey) - Constructor for class com.kodemuse.security.ssl.ClientKeyExchange
 
ClientKeyExchange(RSAPrivateKey, DataInputStream) - Constructor for class com.kodemuse.security.ssl.ClientKeyExchange
 
ClientMain - class com.kodemuse.security.ssl.ClientMain.
Client side Test program.
CLOSE_ALERT - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
CLOSE_NOTIFY_ALERTDESC - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
close() - Method in class com.kodemuse.net.SocketWrapper
 
close() - Method in class com.kodemuse.security.ssl.SSLInputStream
 
close() - Method in class com.kodemuse.security.ssl.SSLSocket
 
close() - Method in class com.kodemuse.security.ssl.SSLOutputStream
 
com.kodemuse.net - package com.kodemuse.net
 
com.kodemuse.security.ssl - package com.kodemuse.security.ssl
 
com.kodemuse.security.ssl.tomcat - package com.kodemuse.security.ssl.tomcat

SSL Library integration with Tomcat Web Server.

This package integrates SSL Library with Tomcat.
compareMAC(byte[], byte[]) - Static method in class com.kodemuse.security.ssl.SSLUtil
 
CompressionMethod - class com.kodemuse.security.ssl.CompressionMethod.
enum { null(0), (255) } CompressionMethod;
CompressionMethod(DataInputStream) - Constructor for class com.kodemuse.security.ssl.CompressionMethod
 
CompressionMethod(int) - Constructor for class com.kodemuse.security.ssl.CompressionMethod
 
ConnectionDecorator - interface com.kodemuse.net.ConnectionDecorator.
Transform a socket.
ConnectionHandler - interface com.kodemuse.net.ConnectionHandler.
Handles a connection.
ContentType - class com.kodemuse.security.ssl.ContentType.
The higher level protocol used to process the enclosed fragment.
ContentType(DataInputStream) - Constructor for class com.kodemuse.security.ssl.ContentType
 
ContentType(int) - Constructor for class com.kodemuse.security.ssl.ContentType
 
convertBytesToInt(byte[], int) - Static method in class com.kodemuse.security.ssl.SSLUtil
 
convertIntToBytes(int) - Static method in class com.kodemuse.security.ssl.SSLUtil
 
convertIntToBytes(int, byte[], int) - Static method in class com.kodemuse.security.ssl.SSLUtil
 
convertLongToBytes(long, byte[], int) - Static method in class com.kodemuse.security.ssl.SSLUtil
 
convertShortToBytes(int, byte[], int) - Static method in class com.kodemuse.security.ssl.SSLUtil
 
convertToIOEx(Exception) - Static method in class com.kodemuse.security.ssl.SSLUtil
 
counter() - Method in class com.kodemuse.security.ssl.ResumedSessionEntry
 
createdAtTime - Variable in class com.kodemuse.security.ssl.ResumedSessionEntry
 
createSocket(int) - Method in class com.kodemuse.security.ssl.tomcat.SSLServerSocketFactory
 
createSocket(int, int) - Method in class com.kodemuse.security.ssl.tomcat.SSLServerSocketFactory
 
createSocket(int, int, InetAddress) - Method in class com.kodemuse.security.ssl.tomcat.SSLServerSocketFactory
 
ctxt - Variable in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
currCS - Variable in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 

D

data - Variable in class com.kodemuse.security.ssl.Record.Wrapper
 
DataSource - interface com.kodemuse.security.ssl.DataSource.
Classes implementing this interface know how to write themselves for SSL Serialization.
decode(byte[], CipherSpec) - Static method in class com.kodemuse.security.ssl.Record
 
DECOMPRESSION_FAILURE_ALERTDESC - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
decorate(Socket) - Method in interface com.kodemuse.net.ConnectionDecorator
 
decorate(Socket) - Method in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
decrypt(byte[]) - Method in class com.kodemuse.security.ssl.CipherSpecImpl
 
decrypt(byte[], int, int) - Method in class com.kodemuse.security.ssl.CipherSpecImpl
 
decrypt(byte[], int, int) - Method in class com.kodemuse.security.ssl.StreamCipherSpecImpl
 
digest - Variable in class com.kodemuse.security.ssl.CipherSpecImpl
 
digest(Digest) - Static method in class com.kodemuse.security.ssl.SSLUtil
 
din - Variable in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
done - Variable in class com.kodemuse.security.ssl.SSLSocket
 
drain(InputStream) - Static method in class com.kodemuse.security.ssl.SSLUtil
 
dump(String, byte[]) - Static method in class com.kodemuse.security.ssl.SSLUtil
 

E

encrypt(byte[]) - Method in class com.kodemuse.security.ssl.CipherSpecImpl
 
encrypt(byte[], int, int) - Method in class com.kodemuse.security.ssl.CipherSpecImpl
 
encrypt(byte[], int, int) - Method in class com.kodemuse.security.ssl.StreamCipherSpecImpl
 
engineGenerateSeed(int) - Method in class com.kodemuse.security.ssl.UnsecureRandomGenerator
 
engineNextBytes(byte[]) - Method in class com.kodemuse.security.ssl.UnsecureRandomGenerator
 
engineSetSeed(byte[]) - Method in class com.kodemuse.security.ssl.UnsecureRandomGenerator
 
equals(Object) - Method in class com.kodemuse.security.ssl.SessionID
 
ExpectedValuesMap - class com.kodemuse.security.ssl.ExpectedValuesMap.
Map of expected values.
ExpectedValuesMap() - Constructor for class com.kodemuse.security.ssl.ExpectedValuesMap
 

F

FATAL_ALERTLEVEL - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
feedDigest(HandshakeDigest) - Method in class com.kodemuse.security.ssl.HandshakeDigest
 
Finished - class com.kodemuse.security.ssl.Finished.
enum { client(0x434C4E54), server(0x53525652) } Sender; struct { opaque md5_hash[16]; opaque sha_hash[20]; } Finished; md5_hash MD5(master_secret + pad2 + MD5(handshake_messages + Sender + master_secret + pad1)); sha_hash SHA(master_secret + pad2 + SHA(handshake_messages + Sender + master_secret + pad1));
FINISHED_CLIENT_SENDER - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
FINISHED_HANDSHAKE - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
FINISHED_SERVER_SENDER - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
Finished(byte[], byte[]) - Constructor for class com.kodemuse.security.ssl.Finished
 
Finished(DataInputStream, CipherSpec) - Constructor for class com.kodemuse.security.ssl.Finished
 
flush() - Method in class com.kodemuse.security.ssl.SSLOutputStream
 
fragment - Variable in class com.kodemuse.security.ssl.Record
 

G

generate() - Static method in class com.kodemuse.security.ssl.SessionID
 
get(Object) - Method in class com.kodemuse.security.ssl.ExpectedValuesMap
 
getAlert() - Method in class com.kodemuse.security.ssl.AlertException
 
getCertificate() - Method in class com.kodemuse.security.ssl.ASN1Cert
 
getCertificates() - Method in class com.kodemuse.security.ssl.TrustStore
 
getCertificates() - Method in class com.kodemuse.security.ssl.CertificateChain
 
getCipherSpec() - Method in class com.kodemuse.security.ssl.CipherSuiteNotSupportedException
 
getCipherSpec() - Method in class com.kodemuse.security.ssl.ServerHello
 
getCipherSpecs() - Method in class com.kodemuse.security.ssl.ClientHello
 
getClientFinished(MasterSecret, HandshakeDigest) - Method in class com.kodemuse.security.ssl.CipherSpecImpl
 
getClientMAC(ContentType, long, byte[]) - Method in class com.kodemuse.security.ssl.CipherSpecImpl
 
getClientMAC(ContentType, long, byte[], int, int) - Method in class com.kodemuse.security.ssl.CipherSpecImpl
 
getClientSessionEntry(SessionID) - Method in class com.kodemuse.security.ssl.SSLContext
 
getData() - Method in class com.kodemuse.security.ssl.ClientHelloV2
 
getData() - Method in class com.kodemuse.security.ssl.SessionID
 
getData() - Method in class com.kodemuse.security.ssl.Random
 
getData() - Method in class com.kodemuse.security.ssl.Finished
 
getData(DataSource) - Static method in class com.kodemuse.security.ssl.SSLUtil
 
getDigest() - Method in class com.kodemuse.security.ssl.CipherSpecImpl
 
getEncoded() - Method in class com.kodemuse.security.ssl.ASN1Cert
 
getFinished(boolean, MasterSecret, HandshakeDigest) - Method in class com.kodemuse.security.ssl.CipherSpecImpl
 
getFragment() - Method in class com.kodemuse.security.ssl.Record
 
getFragment() - Method in class com.kodemuse.security.ssl.Handshake
 
getHandshakeCertificateChain() - Method in class com.kodemuse.security.ssl.SSLContext
 
getHandshakeInput(HandshakeType) - Method in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
getHashSize() - Method in class com.kodemuse.security.ssl.CipherSpecImpl
 
getHello() - Method in class com.kodemuse.security.ssl.ClientHelloV2
 
getInetAddress() - Method in class com.kodemuse.net.SocketWrapper
 
getInput(byte[]) - Static method in class com.kodemuse.security.ssl.SSLUtil
 
getInputStream() - Method in class com.kodemuse.net.SocketWrapper
 
getInputStream() - Method in class com.kodemuse.security.ssl.SSLSocket
 
getIVSize() - Method in class com.kodemuse.security.ssl.CipherSpecImpl
 
getIVSize() - Method in class com.kodemuse.security.ssl.StreamCipherSpecImpl
 
getKeepAlive() - Method in class com.kodemuse.net.SocketWrapper
 
getKeySize() - Method in class com.kodemuse.security.ssl.CipherSpecImpl
 
getKeySize() - Method in class com.kodemuse.security.ssl.StreamCipherSpecImpl
 
getKeystoreFile() - Method in class com.kodemuse.security.ssl.tomcat.SSLServerSocketFactory
Get the value of keystoreFile.
getKeystorePass() - Method in class com.kodemuse.security.ssl.tomcat.SSLServerSocketFactory
Get the value of keystorePass.
getLocalAddress() - Method in class com.kodemuse.net.SocketWrapper
 
getLocalPort() - Method in class com.kodemuse.net.SocketWrapper
 
getLogFile() - Method in class com.kodemuse.security.ssl.tomcat.SSLServerSocketFactory
Get the value of truststoreFile.
getMAC(boolean, ContentType, long, byte[]) - Method in class com.kodemuse.security.ssl.CipherSpecImpl
 
getMAC(boolean, ContentType, long, byte[], int, int) - Method in class com.kodemuse.security.ssl.CipherSpecImpl
 
getMAC(ContentType, byte[], long, byte[], int, int) - Method in class com.kodemuse.security.ssl.CipherSpecImpl
 
getMAC(ContentType, byte[], long, byte[], int, int) - Method in class com.kodemuse.security.ssl.StreamCipherSpecImpl
 
getMajor() - Method in class com.kodemuse.security.ssl.ProtocolVersion
 
getMasterSecret() - Method in class com.kodemuse.security.ssl.MasterSecret
 
getMD5() - Method in class com.kodemuse.security.ssl.Finished
 
getMinor() - Method in class com.kodemuse.security.ssl.ProtocolVersion
 
getMinor() - Method in class com.kodemuse.security.ssl.CipherSpec
 
getOutputStream() - Method in class com.kodemuse.net.SocketWrapper
 
getOutputStream() - Method in class com.kodemuse.security.ssl.SSLSocket
 
getPeerCertificates() - Method in class com.kodemuse.security.ssl.SSLSocket
 
getPort() - Method in class com.kodemuse.net.SocketWrapper
 
getPreMasterSecret() - Method in class com.kodemuse.security.ssl.ClientKeyExchange
 
getPrivateKey() - Method in class com.kodemuse.security.ssl.SSLContext
 
getRandom() - Method in class com.kodemuse.security.ssl.ServerHello
 
getRandom() - Method in class com.kodemuse.security.ssl.ClientHello
 
getReceiveBufferSize() - Method in class com.kodemuse.net.SocketWrapper
 
getRootCause() - Method in class com.kodemuse.security.ssl.SSLIOException
 
getSendBufferSize() - Method in class com.kodemuse.net.SocketWrapper
 
getServerFinished(MasterSecret, HandshakeDigest) - Method in class com.kodemuse.security.ssl.CipherSpecImpl
 
getServerMAC(ContentType, long, byte[]) - Method in class com.kodemuse.security.ssl.CipherSpecImpl
 
getServerMAC(ContentType, long, byte[], int, int) - Method in class com.kodemuse.security.ssl.CipherSpecImpl
 
getServerSessionEntry(String, int) - Method in class com.kodemuse.security.ssl.SSLContext
Called by client side to get server session entry information,
getSessionID() - Method in class com.kodemuse.security.ssl.ServerHello
 
getSessionID() - Method in class com.kodemuse.security.ssl.ClientHello
 
getSHA1() - Method in class com.kodemuse.security.ssl.Finished
 
getSoLinger() - Method in class com.kodemuse.net.SocketWrapper
 
getSoTimeout() - Method in class com.kodemuse.net.SocketWrapper
 
getSSLClientSocketDecorator(TrustStore) - Method in class com.kodemuse.security.ssl.SSLContext
 
getSSLServerSocketDecorator(TrustStore) - Method in class com.kodemuse.security.ssl.SSLContext
Converts Socket to Server Side SSL Socket
getSupportedCipherSpec() - Method in class com.kodemuse.security.ssl.SSLContext
 
getTcpNoDelay() - Method in class com.kodemuse.net.SocketWrapper
 
getTruststoreFile() - Method in class com.kodemuse.security.ssl.tomcat.SSLServerSocketFactory
Get the value of truststoreFile.
getType() - Method in class com.kodemuse.security.ssl.ContentType
 
getType() - Method in class com.kodemuse.security.ssl.Record
 
getType() - Method in class com.kodemuse.security.ssl.HandshakeType
 
getType() - Method in class com.kodemuse.security.ssl.Handshake
 
getVersion() - Method in class com.kodemuse.security.ssl.Record
 

H

handleConnection(Socket) - Method in interface com.kodemuse.net.ConnectionHandler
 
Handshake - class com.kodemuse.security.ssl.Handshake.
struct { HandshakeType msg_type; // handshake type uint24 length; // bytes in message select (HandshakeType) { case hello_request: HelloRequest; case client_hello: ClientHello; case server_hello: ServerHello; case certificate: Certificate; case server_key_exchange: ServerKeyExchange; case certificate_request: CertificateRequest; case server_hello_done: ServerHelloDone; case certificate_verify: CertificateVerify; case client_key_exchange: ClientKeyExchange; case finished: Finished; } body; } Handshake;
HANDSHAKE_CONTENT - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
HANDSHAKE_FAILURE_ALERTDESC - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
Handshake(DataInputStream) - Constructor for class com.kodemuse.security.ssl.Handshake
 
Handshake(HandshakeType, byte[]) - Constructor for class com.kodemuse.security.ssl.Handshake
 
handshakeDigest - Variable in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
HandshakeDigest - class com.kodemuse.security.ssl.HandshakeDigest.
Hash digest caluclation.
HandshakeDigest() - Constructor for class com.kodemuse.security.ssl.HandshakeDigest
 
HandshakeType - class com.kodemuse.security.ssl.HandshakeType.
enum { hello_request(0), client_hello(1), server_hello(2), certificate(11), server_key_exchange (12), certificate_request(13), server_hello_done(14), certificate_verify(15), client_key_exchange(16), finished(20), (255) } HandshakeType;
HandshakeType(DataInputStream) - Constructor for class com.kodemuse.security.ssl.HandshakeType
 
HandshakeType(int) - Constructor for class com.kodemuse.security.ssl.HandshakeType
 
hashCode() - Method in class com.kodemuse.security.ssl.SessionID
 
hashSize - Variable in class com.kodemuse.security.ssl.CipherSpecImpl
 
HELLO_REQUEST_HANDSHAKE - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 

I

ILLEGAL_PARAMETER_ALERTDESC - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
impl() - Method in class com.kodemuse.security.ssl.CipherSpec
 
incCount() - Method in class com.kodemuse.security.ssl.ResumedSessionEntry
 
initializeCrypto(CipherSpec, boolean) - Method in class com.kodemuse.security.ssl.MasterSecret
 
initiateHandshake() - Method in class com.kodemuse.security.ssl.SSLSocket
 
inner - Variable in class com.kodemuse.net.SocketWrapper
 
invoke(Request, Response, ValveContext) - Method in class com.kodemuse.security.ssl.tomcat.SSLValve
 
isBlockCipher() - Method in class com.kodemuse.security.ssl.CipherSpecImpl
 
isClientAuth() - Method in class com.kodemuse.security.ssl.tomcat.SSLServerSocketFactory
Get the value of clientAuth.
isEqual(Alert) - Method in class com.kodemuse.security.ssl.Alert
 
isEqual(AlertDescription) - Method in class com.kodemuse.security.ssl.AlertDescription
 
isEqual(AlertLevel) - Method in class com.kodemuse.security.ssl.AlertLevel
 
isEqual(ASN1Cert) - Method in class com.kodemuse.security.ssl.ASN1Cert
 
isEqual(byte[], byte[]) - Static method in class com.kodemuse.security.ssl.SSLUtil
 
isEqual(CipherSpec) - Method in class com.kodemuse.security.ssl.CipherSpec
 
isEqual(CompressionMethod) - Method in class com.kodemuse.security.ssl.CompressionMethod
 
isEqual(ContentType) - Method in class com.kodemuse.security.ssl.ContentType
 
isEqual(Finished) - Method in class com.kodemuse.security.ssl.Finished
 
isEqual(HandshakeType) - Method in class com.kodemuse.security.ssl.HandshakeType
 
isEqual(ProtocolVersion) - Method in class com.kodemuse.security.ssl.ProtocolVersion
 
isEqual(X509Certificate) - Method in class com.kodemuse.security.ssl.ASN1Cert
 
isExportable() - Method in class com.kodemuse.security.ssl.CipherSpecImpl
 
isSessionResumed() - Method in class com.kodemuse.security.ssl.SSLSocket
 
isStreamCipher() - Method in class com.kodemuse.security.ssl.CipherSpecImpl
 
isTrusted(X509Certificate[]) - Method in class com.kodemuse.security.ssl.TrustStore
 
isValid() - Method in class com.kodemuse.security.ssl.SessionID
 

L

log() - Method in class com.kodemuse.net.SocketWrapper
 
log() - Method in class com.kodemuse.security.ssl.LogCapability
 
LogCapability - class com.kodemuse.security.ssl.LogCapability.
Base class for other classes.
LogCapability() - Constructor for class com.kodemuse.security.ssl.LogCapability
 

M

MAC - Variable in class com.kodemuse.security.ssl.Record.Wrapper
 
macPad1 - Variable in class com.kodemuse.security.ssl.CipherSpecImpl
 
macPad2 - Variable in class com.kodemuse.security.ssl.CipherSpecImpl
 
Main - class com.kodemuse.security.ssl.Main.
Test program.
main(String[]) - Static method in class com.kodemuse.security.ssl.Main
Driver program
main(String[]) - Static method in class com.kodemuse.security.ssl.ClientMain
Driver program
makeCopy() - Method in class com.kodemuse.security.ssl.HandshakeDigest
 
makeCopy() - Method in class com.kodemuse.security.ssl.ResumedSessionEntry
 
makeCopy() - Method in class com.kodemuse.security.ssl.CipherSpec
 
master_secret - Variable in class com.kodemuse.security.ssl.ResumedSessionEntry
 
masterSecret - Variable in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
MasterSecret - class com.kodemuse.security.ssl.MasterSecret.
master_secret = MD5(pre_master_secret + SHA('A' + pre_master_secret + ClientHello.random + ServerHello.random)) + MD5(pre_master_secret + SHA('BB' + pre_master_secret + ClientHello.random + ServerHello.random)) + MD5(pre_master_secret + SHA('CCC' + pre_master_secret + ClientHello.random + ServerHello.random)); key_block = MD5(master_secret + SHA(`A' + master_secret + ServerHello.random + ClientHello.random)) + MD5(master_secret + SHA(`BB' + master_secret + ServerHello.random + ClientHello.random)) + MD5(master_secret + SHA(`CCC' + master_secret + ServerHello.random + ClientHello.random)) + [...]; client_write_MAC_secret[CipherSpec.hash_size] server_write_MAC_secret[CipherSpec.hash_size] client_write_key[CipherSpec.key_material] server_write_key[CipherSpec.key_material] client_write_IV[CipherSpec.IV_size] // non-export ciphers server_write_IV[CipherSpec.IV_size] // non-export ciphers
MasterSecret() - Constructor for class com.kodemuse.security.ssl.MasterSecret
 
MAX_RECORD_SIZE - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
MD5_PAD_1 - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
MD5_PAD_2 - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
MD5LEN - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
md5Value() - Method in class com.kodemuse.security.ssl.HandshakeDigest
 

N

newByteArray(int, byte) - Static method in class com.kodemuse.security.ssl.SSLUtil
 
NO_CERTIFICATE_ALERTDESC - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
NULL_COMPRESSION - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 

O

out - Variable in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
OutputBuffer - class com.kodemuse.security.ssl.OutputBuffer.
provides methods to read data from a buffer.
OutputBuffer() - Constructor for class com.kodemuse.security.ssl.OutputBuffer
 
OutputBuffer(int) - Constructor for class com.kodemuse.security.ssl.OutputBuffer
 

P

peerCert - Variable in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
peerCertificates - Variable in class com.kodemuse.security.ssl.SSLSocket
 
printStackTrace() - Method in class com.kodemuse.security.ssl.SSLIOException
 
printStackTrace(PrintStream) - Method in class com.kodemuse.security.ssl.SSLIOException
 
printStackTrace(PrintWriter) - Method in class com.kodemuse.security.ssl.SSLIOException
 
protocolLog() - Static method in class com.kodemuse.security.ssl.LogCapability
 
ProtocolVersion - class com.kodemuse.security.ssl.ProtocolVersion.
struct { uint8 major, minor; } ProtocolVersion;
ProtocolVersion(DataInputStream) - Constructor for class com.kodemuse.security.ssl.ProtocolVersion
 
ProtocolVersion(int, int) - Constructor for class com.kodemuse.security.ssl.ProtocolVersion
 

R

Random - class com.kodemuse.security.ssl.Random.
struct { uint32 gmt_unix_time; opaque random_bytes[28]; } Random; Single byte entities containing uninterpreted data are of type opaque.
Random() - Constructor for class com.kodemuse.security.ssl.Random
 
Random(byte[]) - Constructor for class com.kodemuse.security.ssl.Random
 
Random(DataInputStream) - Constructor for class com.kodemuse.security.ssl.Random
 
read_sequence_num - Variable in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
read() - Method in class com.kodemuse.security.ssl.SSLInputStream
 
read(byte[]) - Method in class com.kodemuse.security.ssl.SSLInputStream
 
read(byte[], int, int) - Method in class com.kodemuse.security.ssl.SSLInputStream
 
readCertificateHandshake(boolean) - Method in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
readChangeCipherSpec() - Method in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
readClientCertificateVerify() - Method in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
readClientHelloHandshake() - Method in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
readClientKeyExchangeHandshake() - Method in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
readFinished(boolean) - Method in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
readHandshake() - Method in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
readInt24(DataInputStream) - Static method in class com.kodemuse.security.ssl.SSLUtil
 
readServerCertificateRequestOrHelloDone() - Method in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
readServerHelloDoneHandshake() - Method in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
readServerHelloHandshake() - Method in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
readVector(DataInputStream) - Static method in class com.kodemuse.security.ssl.CompressionMethod
 
readVector(DataInputStream) - Static method in class com.kodemuse.security.ssl.CipherSpec
 
Record - class com.kodemuse.security.ssl.Record.
struct { ContentType type; ProtocolVersion version; uint16 length; opaque fragment[SSLPlaintext.length]; } SSLPlaintext; enum { change_cipher_spec(20), alert(21), handshake(22), application_data(23), (255) } ContentType;
Record.Wrapper - class com.kodemuse.security.ssl.Record.Wrapper.
 
Record.Wrapper(byte[], int) - Constructor for class com.kodemuse.security.ssl.Record.Wrapper
 
Record(ContentType, DataInputStream) - Constructor for class com.kodemuse.security.ssl.Record
 
Record(ContentType, ProtocolVersion, byte[]) - Constructor for class com.kodemuse.security.ssl.Record
 
Record(DataInputStream) - Constructor for class com.kodemuse.security.ssl.Record
 
reset() - Method in class com.kodemuse.security.ssl.OutputBuffer
 
ResumedSessionEntry - class com.kodemuse.security.ssl.ResumedSessionEntry.
Session reuse information Resumed session has the same master secret and cipher suite as orig.
ResumedSessionEntry(SessionID, byte[], CipherSpec) - Constructor for class com.kodemuse.security.ssl.ResumedSessionEntry
 
RNG - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
run() - Method in class com.kodemuse.security.ssl.ClientMain
 
runOnce() - Method in class com.kodemuse.security.ssl.ClientMain
 

S

SCRecord - class com.kodemuse.security.ssl.SCRecord.
S->C record: outgoing record
SCRecord(ContentType, byte[], int, int, long, CipherSpec, boolean) - Constructor for class com.kodemuse.security.ssl.SCRecord
 
SCRecord(ContentType, byte[], long, CipherSpec, boolean) - Constructor for class com.kodemuse.security.ssl.SCRecord
 
selectCipherSpec(CipherSpec[]) - Method in class com.kodemuse.security.ssl.SSLContext
 
selectedSpec - Variable in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
sendCloseNotify() - Method in class com.kodemuse.security.ssl.SSLOutputStream
 
SERVER - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SERVER_HELLO_DONE_HANDSHAKE - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SERVER_HELLO_HANDSHAKE - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SERVER_KEY_EXCHANGE_HANDSHAKE - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
ServerHello - class com.kodemuse.security.ssl.ServerHello.
struct { ProtocolVersion server_version; Random random; SessionID session_id; CipherSpec cipher_suite; CompressionMethod compression_method; } ServerHello;
ServerHello(DataInputStream) - Constructor for class com.kodemuse.security.ssl.ServerHello
 
ServerHello(ProtocolVersion, SessionID, CipherSpec) - Constructor for class com.kodemuse.security.ssl.ServerHello
 
ServerHelloDone - class com.kodemuse.security.ssl.ServerHelloDone.
struct { } ServerHelloDone;
ServerHelloDone() - Constructor for class com.kodemuse.security.ssl.ServerHelloDone
 
serverSessionID - Variable in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
sessionID - Variable in class com.kodemuse.security.ssl.ResumedSessionEntry
 
SessionID - class com.kodemuse.security.ssl.SessionID.
opaque SessionID<0..32>; Session ID should be unique and difficult to guess.
SessionID() - Constructor for class com.kodemuse.security.ssl.SessionID
 
SessionID(byte[]) - Constructor for class com.kodemuse.security.ssl.SessionID
 
SessionID(DataInputStream) - Constructor for class com.kodemuse.security.ssl.SessionID
 
sessionResumed - Variable in class com.kodemuse.security.ssl.SSLSocket
 
setClientAuth(boolean) - Method in class com.kodemuse.security.ssl.tomcat.SSLServerSocketFactory
Set the value of clientAuth.
setClientMACSecret(byte[]) - Method in class com.kodemuse.security.ssl.CipherSpecImpl
 
setClientRandom(Random) - Method in class com.kodemuse.security.ssl.MasterSecret
 
setDecryptKey(byte[]) - Method in class com.kodemuse.security.ssl.CipherSpecImpl
 
setDecryptKey(byte[]) - Method in class com.kodemuse.security.ssl.StreamCipherSpecImpl
 
setEncryptKey(byte[]) - Method in class com.kodemuse.security.ssl.CipherSpecImpl
 
setEncryptKey(byte[]) - Method in class com.kodemuse.security.ssl.StreamCipherSpecImpl
 
setKeepAlive(boolean) - Method in class com.kodemuse.net.SocketWrapper
 
setKeystoreFile(String) - Method in class com.kodemuse.security.ssl.tomcat.SSLServerSocketFactory
Set the value of keystoreFile.
setKeystorePass(String) - Method in class com.kodemuse.security.ssl.tomcat.SSLServerSocketFactory
Set the value of keystorePass.
setLogFile(String) - Method in class com.kodemuse.security.ssl.tomcat.SSLServerSocketFactory
Set the value of truststoreFile.
setMasterSecret(byte[]) - Method in class com.kodemuse.security.ssl.MasterSecret
 
setPreMasterSecret(byte[]) - Method in class com.kodemuse.security.ssl.MasterSecret
 
setReceiveBufferSize(int) - Method in class com.kodemuse.net.SocketWrapper
 
setSendBufferSize(int) - Method in class com.kodemuse.net.SocketWrapper
 
setServerMACSecret(byte[]) - Method in class com.kodemuse.security.ssl.CipherSpecImpl
 
setServerRandom(Random) - Method in class com.kodemuse.security.ssl.MasterSecret
 
setSoLinger(boolean, int) - Method in class com.kodemuse.net.SocketWrapper
 
setSoTimeout(int) - Method in class com.kodemuse.net.SocketWrapper
 
setTcpNoDelay(boolean) - Method in class com.kodemuse.net.SocketWrapper
 
setTruststoreFile(String) - Method in class com.kodemuse.security.ssl.tomcat.SSLServerSocketFactory
Set the value of truststoreFile.
SHA_PAD_1 - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SHA_PAD_2 - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SHA1LEN - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
shaValue() - Method in class com.kodemuse.security.ssl.HandshakeDigest
 
shutdownInput() - Method in class com.kodemuse.net.SocketWrapper
 
shutdownOutput() - Method in class com.kodemuse.net.SocketWrapper
 
size() - Method in class com.kodemuse.security.ssl.OutputBuffer
 
skip(int) - Method in class com.kodemuse.security.ssl.OutputBuffer
 
slice(byte[], int, int) - Static method in class com.kodemuse.security.ssl.SSLUtil
 
SocketWrapper - class com.kodemuse.net.SocketWrapper.
Wraps a socket to - permit subclasses to add value while presenting consistent java.net.Socket API - provide consitent handling for JDK 1.3 and 1.4 This class can be used with ConnectionDecorator interface to provide applications consistent java.net.Socket API while adding value add like SSL transparently.
SocketWrapper(Socket) - Constructor for class com.kodemuse.net.SocketWrapper
 
sort(X509Certificate[]) - Static method in class com.kodemuse.security.ssl.SSLUtil
 
spec - Variable in class com.kodemuse.security.ssl.ResumedSessionEntry
 
SSL_DH_anon_EXPORT_WITH_DES40_CBC_SHA - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_DH_anon_EXPORT_WITH_RC4_40_MD5 - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_DH_anon_WITH_3DES_EDE_CBC_SHA - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_DH_anon_WITH_DES_CBC_SHA - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_DH_anon_WITH_RC4_128_MD5 - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_DH_DSS_EXPORT_WITH_DES40_CBC_SHA - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_DH_DSS_WITH_3DES_EDE_CBC_SHA - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_DH_DSS_WITH_DES_CBC_SHA - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_DH_RSA_EXPORT_WITH_DES40_CBC_SHA - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_DH_RSA_WITH_3DES_EDE_CBC_SHA - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_DH_RSA_WITH_DES_CBC_SHA - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_DHE_DSS_WITH_DES_CBC_SHA - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_DHE_RSA_WITH_DES_CBC_SHA - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_FORTEZZA_KEA_WITH_FORTEZZA_CBC_SHA - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_FORTEZZA_KEA_WITH_NULL_SHA - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_FORTEZZA_KEA_WITH_RC4_128_SHA - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_NULL_WITH_NULL_NULL - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_RSA_EXPORT_WITH_DES40_CBC_SHA - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_RSA_EXPORT_WITH_RC2_CBC_40_MD5 - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_RSA_EXPORT_WITH_RC4_40_MD5 - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_RSA_WITH_3DES_EDE_CBC_SHA - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_RSA_WITH_DES_CBC_SHA - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_RSA_WITH_IDEA_CBC_SHA - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_RSA_WITH_NULL_MD5 - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_RSA_WITH_NULL_SHA - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_RSA_WITH_RC4_128_MD5 - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSL_RSA_WITH_RC4_128_SHA - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSLClientSocketDecorator - class com.kodemuse.security.ssl.SSLClientSocketDecorator.
Server Side SSLv3 Protocol.
SSLClientSocketDecorator(SSLContext, TrustStore) - Constructor for class com.kodemuse.security.ssl.SSLClientSocketDecorator
 
SSLConstants - interface com.kodemuse.security.ssl.SSLConstants.
constants in the SSL library.
SSLContext - class com.kodemuse.security.ssl.SSLContext.
Context for SSL communciation.
SSLContext() - Constructor for class com.kodemuse.security.ssl.SSLContext
No Paramaters.
SSLContext(File, String) - Constructor for class com.kodemuse.security.ssl.SSLContext
 
SSLContext(KeyStore, String) - Constructor for class com.kodemuse.security.ssl.SSLContext
 
SSLContext(X509Certificate[], RSAPrivateKey) - Constructor for class com.kodemuse.security.ssl.SSLContext
 
sslinp - Variable in class com.kodemuse.security.ssl.SSLSocket
 
SSLInputStream - class com.kodemuse.security.ssl.SSLInputStream.
Input stream implementation returned SSL Socket
SSLInputStream(DataInputStream, CipherSpec, long, boolean) - Constructor for class com.kodemuse.security.ssl.SSLInputStream
 
SSLIOException - exception com.kodemuse.security.ssl.SSLIOException.
IO Exception.
SSLIOException(Throwable) - Constructor for class com.kodemuse.security.ssl.SSLIOException
 
sslout - Variable in class com.kodemuse.security.ssl.SSLSocket
 
SSLOutputStream - class com.kodemuse.security.ssl.SSLOutputStream.
Output stream implementation returned SSL Socket provide outgoing SSL Recordes S->C record: outgoing record
SSLOutputStream(OutputStream, CipherSpec, long, boolean) - Constructor for class com.kodemuse.security.ssl.SSLOutputStream
 
SSLServerSocket - class com.kodemuse.security.ssl.SSLServerSocket.
Server Socket.
SSLServerSocket(SSLContext, TrustStore, int) - Constructor for class com.kodemuse.security.ssl.SSLServerSocket
 
SSLServerSocket(SSLContext, TrustStore, int, int) - Constructor for class com.kodemuse.security.ssl.SSLServerSocket
 
SSLServerSocket(SSLContext, TrustStore, int, int, InetAddress) - Constructor for class com.kodemuse.security.ssl.SSLServerSocket
 
SSLServerSocketDecorator - class com.kodemuse.security.ssl.SSLServerSocketDecorator.
Server Side SSLv3 Protocol.
SSLServerSocketDecorator(SSLContext, TrustStore) - Constructor for class com.kodemuse.security.ssl.SSLServerSocketDecorator
 
SSLServerSocketFactory - class com.kodemuse.security.ssl.tomcat.SSLServerSocketFactory.
SSL Server Socket Factory for Tomcat.
SSLServerSocketFactory() - Constructor for class com.kodemuse.security.ssl.tomcat.SSLServerSocketFactory
 
SSLSocket - class com.kodemuse.security.ssl.SSLSocket.
SSL Socket for SSLv3 Protocol.
SSLSocket(Socket) - Constructor for class com.kodemuse.security.ssl.SSLSocket
 
SSLUtil - class com.kodemuse.security.ssl.SSLUtil.
Utility functions used by SSL.
SSLUtil() - Constructor for class com.kodemuse.security.ssl.SSLUtil
 
SSLV3_VERSION - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
SSLValve - class com.kodemuse.security.ssl.tomcat.SSLValve.
Valve to set client certificate information.
SSLValve() - Constructor for class com.kodemuse.security.ssl.tomcat.SSLValve
 
StreamCipherSpecImpl - class com.kodemuse.security.ssl.StreamCipherSpecImpl.
Concrete Cipher Suite implementation.
StreamCipherSpecImpl(CipherSpec) - Constructor for class com.kodemuse.security.ssl.StreamCipherSpecImpl
 

T

TLSV1_VERSION - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
toByteArray() - Method in class com.kodemuse.security.ssl.OutputBuffer
 
toString() - Method in class com.kodemuse.net.SocketWrapper
 
toString() - Method in class com.kodemuse.security.ssl.AlertLevel
 
toString() - Method in class com.kodemuse.security.ssl.CertificateVerify
 
toString() - Method in class com.kodemuse.security.ssl.ClientHelloV2
 
toString() - Method in class com.kodemuse.security.ssl.ContentType
 
toString() - Method in class com.kodemuse.security.ssl.ServerHelloDone
 
toString() - Method in class com.kodemuse.security.ssl.CertificateRequest
 
toString() - Method in class com.kodemuse.security.ssl.Record
 
toString() - Method in class com.kodemuse.security.ssl.CertificateChain
 
toString() - Method in class com.kodemuse.security.ssl.CompressionMethod
 
toString() - Method in class com.kodemuse.security.ssl.SessionID
 
toString() - Method in class com.kodemuse.security.ssl.Random
 
toString() - Method in class com.kodemuse.security.ssl.ASN1Cert
 
toString() - Method in class com.kodemuse.security.ssl.HandshakeType
 
toString() - Method in class com.kodemuse.security.ssl.AlertDescription
 
toString() - Method in class com.kodemuse.security.ssl.ChangeCipherSpec
 
toString() - Method in class com.kodemuse.security.ssl.Handshake
 
toString() - Method in class com.kodemuse.security.ssl.ClientKeyExchange
 
toString() - Method in class com.kodemuse.security.ssl.ServerHello
 
toString() - Method in class com.kodemuse.security.ssl.Alert
 
toString() - Method in class com.kodemuse.security.ssl.ProtocolVersion
 
toString() - Method in class com.kodemuse.security.ssl.OutputBuffer
 
toString() - Method in class com.kodemuse.security.ssl.CipherSpec
 
toString() - Method in class com.kodemuse.security.ssl.Record.Wrapper
 
toString() - Method in class com.kodemuse.security.ssl.ClientHello
 
toString() - Method in class com.kodemuse.security.ssl.Finished
 
trustStore - Variable in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
TrustStore - class com.kodemuse.security.ssl.TrustStore.
Contains the list of certificates trusted by the server.
TrustStore(File) - Constructor for class com.kodemuse.security.ssl.TrustStore
file containing trusted certificates in base64 format
TrustStore(String) - Constructor for class com.kodemuse.security.ssl.TrustStore
file containing trusted certificates in base64 format
type - Variable in class com.kodemuse.security.ssl.Record
 

U

UNEXPECTED_MESSAGE_ALERTDESC - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
UNEXPECTEDMSG_ALERT - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
UnsecureRandomGenerator - class com.kodemuse.security.ssl.UnsecureRandomGenerator.
Fast but weak random number generator.
UnsecureRandomGenerator() - Constructor for class com.kodemuse.security.ssl.UnsecureRandomGenerator
 
UNSUPPORTED_CERTIFICATE_ALERTDESC - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
update(byte[]) - Method in class com.kodemuse.security.ssl.HandshakeDigest
 
update(Digest) - Method in class com.kodemuse.security.ssl.OutputBuffer
 
update(Digest, byte[]) - Static method in class com.kodemuse.security.ssl.SSLUtil
 
update(Handshake) - Method in class com.kodemuse.security.ssl.HandshakeDigest
 
update(MessageDigest) - Method in class com.kodemuse.security.ssl.OutputBuffer
 
updatePad1() - Method in class com.kodemuse.security.ssl.HandshakeDigest
 
updatePad2() - Method in class com.kodemuse.security.ssl.HandshakeDigest
 

V

verifyHandshake() - Method in class com.kodemuse.security.ssl.Record
 
verifySignature(HandshakeDigest, MasterSecret, X509Certificate, CipherSpec) - Method in class com.kodemuse.security.ssl.CertificateVerify
 
version - Variable in class com.kodemuse.security.ssl.Record
 

W

WARNING_ALERTLEVEL - Static variable in interface com.kodemuse.security.ssl.SSLConstants
 
wrapSocket(Socket) - Method in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
wrapSocket(Socket) - Method in class com.kodemuse.security.ssl.SSLServerSocketDecorator
 
wrapSocket(Socket) - Method in class com.kodemuse.security.ssl.SSLClientSocketDecorator
 
write_sequence_num - Variable in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
write(byte[]) - Method in class com.kodemuse.security.ssl.SSLOutputStream
 
write(byte[]) - Method in class com.kodemuse.security.ssl.OutputBuffer
 
write(byte[], int, int) - Method in class com.kodemuse.security.ssl.SSLOutputStream
 
write(byte[], int, int) - Method in class com.kodemuse.security.ssl.OutputBuffer
 
write(DataOutputStream) - Method in class com.kodemuse.security.ssl.ASN1Cert
 
write(int) - Method in class com.kodemuse.security.ssl.SSLOutputStream
 
write(int) - Method in class com.kodemuse.security.ssl.OutputBuffer
 
write(OutputBuffer) - Method in class com.kodemuse.security.ssl.AlertLevel
 
write(OutputBuffer) - Method in class com.kodemuse.security.ssl.CertificateVerify
 
write(OutputBuffer) - Method in class com.kodemuse.security.ssl.ContentType
 
write(OutputBuffer) - Method in class com.kodemuse.security.ssl.ServerHelloDone
 
write(OutputBuffer) - Method in class com.kodemuse.security.ssl.CertificateRequest
 
write(OutputBuffer) - Method in class com.kodemuse.security.ssl.Record
 
write(OutputBuffer) - Method in class com.kodemuse.security.ssl.CertificateChain
 
write(OutputBuffer) - Method in class com.kodemuse.security.ssl.CompressionMethod
 
write(OutputBuffer) - Method in class com.kodemuse.security.ssl.SessionID
 
write(OutputBuffer) - Method in class com.kodemuse.security.ssl.Random
 
write(OutputBuffer) - Method in class com.kodemuse.security.ssl.HandshakeType
 
write(OutputBuffer) - Method in class com.kodemuse.security.ssl.AlertDescription
 
write(OutputBuffer) - Method in class com.kodemuse.security.ssl.ChangeCipherSpec
 
write(OutputBuffer) - Method in class com.kodemuse.security.ssl.Handshake
 
write(OutputBuffer) - Method in class com.kodemuse.security.ssl.ClientKeyExchange
 
write(OutputBuffer) - Method in class com.kodemuse.security.ssl.ServerHello
 
write(OutputBuffer) - Method in class com.kodemuse.security.ssl.Alert
 
write(OutputBuffer) - Method in interface com.kodemuse.security.ssl.DataSource
 
write(OutputBuffer) - Method in class com.kodemuse.security.ssl.ProtocolVersion
 
write(OutputBuffer) - Method in class com.kodemuse.security.ssl.OutputBuffer
 
write(OutputBuffer) - Method in class com.kodemuse.security.ssl.CipherSpec
 
write(OutputBuffer) - Method in class com.kodemuse.security.ssl.ClientHello
 
write(OutputBuffer) - Method in class com.kodemuse.security.ssl.Finished
 
write(OutputBuffer, boolean, OutputStream, boolean) - Method in class com.kodemuse.security.ssl.Record
 
writeByte(int) - Method in class com.kodemuse.security.ssl.OutputBuffer
 
writeChangeCipherSpec() - Method in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
writeClientCertificateVerify() - Method in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
writeClientHelloHandshake(SessionID) - Method in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
writeClientKeyExchangeHandshake() - Method in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
writeDistinguishedNameVect(OutputBuffer) - Method in class com.kodemuse.security.ssl.TrustStore
 
writeFinished(boolean) - Method in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
writeFinished(Finished, boolean) - Method in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
writeHandshake(Handshake) - Method in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
writeHandshake(HandshakeType, DataSource) - Method in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
writeHandshakeCertificates() - Method in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
writeInt(int) - Method in class com.kodemuse.security.ssl.OutputBuffer
 
writeInt24(int) - Method in class com.kodemuse.security.ssl.OutputBuffer
 
writeInt24(OutputStream, int) - Static method in class com.kodemuse.security.ssl.SSLUtil
 
writeLong(long) - Method in class com.kodemuse.security.ssl.OutputBuffer
 
writeServerCertificateRequest() - Method in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
writeServerHelloDoneHandshake() - Method in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
writeServerHelloHandshake() - Method in class com.kodemuse.security.ssl.AbstractSSLSocketDecorator
 
writeShort(int) - Method in class com.kodemuse.security.ssl.OutputBuffer
 
writeShort(int, int) - Method in class com.kodemuse.security.ssl.OutputBuffer
 
writeTo(OutputStream) - Method in class com.kodemuse.security.ssl.OutputBuffer
 
writeTo(OutputStream, boolean) - Method in class com.kodemuse.security.ssl.OutputBuffer
 
writeVector(CipherSpec[], OutputBuffer) - Static method in class com.kodemuse.security.ssl.CipherSpec
 
writeVector(CompressionMethod[], OutputBuffer) - Static method in class com.kodemuse.security.ssl.CompressionMethod
 

< A B C D E F G H I L M N O P R S T U V W