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

Quick Search    Search Deep

gnu.javax.net.ssl.provider
Class Handshake.Type  view Handshake.Type download Handshake.Type.java

java.lang.Object
  extended bygnu.javax.net.ssl.provider.Handshake.Type
All Implemented Interfaces:
Enumerated
Enclosing class:
Handshake

static class Handshake.Type
extends java.lang.Object
implements Enumerated


Field Summary
static Handshake.Type CERTIFICATE
           
static Handshake.Type CERTIFICATE_REQUEST
           
static Handshake.Type CERTIFICATE_STATUS
           
static Handshake.Type CERTIFICATE_URL
           
static Handshake.Type CERTIFICATE_VERIFY
           
static Handshake.Type CLIENT_HELLO
           
static Handshake.Type CLIENT_KEY_EXCHANGE
           
static Handshake.Type FINISHED
           
static Handshake.Type HELLO_REQUEST
           
static Handshake.Type SERVER_HELLO
           
static Handshake.Type SERVER_HELLO_DONE
           
static Handshake.Type SERVER_KEY_EXCHANGE
           
private  int value
           
 
Constructor Summary
private Handshake.Type(int value)
           
 
Method Summary
 byte[] getEncoded()
          Returns the encoded value of this enumerated value, which is appropriate to send over-the-wire.
 int getValue()
          Returns the numeric value of this enumerated value.
static Handshake.Type read(java.io.InputStream in)
           
 java.lang.String toString()
          Returns a string representation of this enumerated value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

HELLO_REQUEST

public static final Handshake.Type HELLO_REQUEST

CLIENT_HELLO

public static final Handshake.Type CLIENT_HELLO

SERVER_HELLO

public static final Handshake.Type SERVER_HELLO

CERTIFICATE

public static final Handshake.Type CERTIFICATE

SERVER_KEY_EXCHANGE

public static final Handshake.Type SERVER_KEY_EXCHANGE

CERTIFICATE_REQUEST

public static final Handshake.Type CERTIFICATE_REQUEST

SERVER_HELLO_DONE

public static final Handshake.Type SERVER_HELLO_DONE

CERTIFICATE_VERIFY

public static final Handshake.Type CERTIFICATE_VERIFY

CLIENT_KEY_EXCHANGE

public static final Handshake.Type CLIENT_KEY_EXCHANGE

FINISHED

public static final Handshake.Type FINISHED

CERTIFICATE_URL

public static final Handshake.Type CERTIFICATE_URL

CERTIFICATE_STATUS

public static final Handshake.Type CERTIFICATE_STATUS

value

private final int value
Constructor Detail

Handshake.Type

private Handshake.Type(int value)
Method Detail

read

public static Handshake.Type read(java.io.InputStream in)
                           throws java.io.IOException

getEncoded

public byte[] getEncoded()
Description copied from interface: Enumerated
Returns the encoded value of this enumerated value, which is appropriate to send over-the-wire.

Specified by:
getEncoded in interface Enumerated

getValue

public int getValue()
Description copied from interface: Enumerated
Returns the numeric value of this enumerated value.

Specified by:
getValue in interface Enumerated

toString

public java.lang.String toString()
Description copied from interface: Enumerated
Returns a string representation of this enumerated value.

Specified by:
toString in interface Enumerated