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.
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;
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.