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

Quick Search    Search Deep

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

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

static final class Extension.Type
extends java.lang.Object
implements Enumerated


Field Summary
(package private) static Extension.Type CERT_TYPE
           
(package private) static Extension.Type CLIENT_CERTIFICATE_URL
           
(package private) static Extension.Type MAX_FRAGMENT_LENGTH
           
(package private) static Extension.Type SERVER_NAME
           
(package private) static Extension.Type SRP
           
(package private) static Extension.Type STATUS_REQUEST
           
(package private) static Extension.Type TRUNCATED_HMAC
           
(package private) static Extension.Type TRUSTED_CA_KEYS
           
private  int value
           
 
Constructor Summary
private Extension.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.
(package private) static Extension.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

SERVER_NAME

static final Extension.Type SERVER_NAME

MAX_FRAGMENT_LENGTH

static final Extension.Type MAX_FRAGMENT_LENGTH

CLIENT_CERTIFICATE_URL

static final Extension.Type CLIENT_CERTIFICATE_URL

TRUSTED_CA_KEYS

static final Extension.Type TRUSTED_CA_KEYS

TRUNCATED_HMAC

static final Extension.Type TRUNCATED_HMAC

STATUS_REQUEST

static final Extension.Type STATUS_REQUEST

SRP

static final Extension.Type SRP

CERT_TYPE

static final Extension.Type CERT_TYPE

value

private final int value
Constructor Detail

Extension.Type

private Extension.Type(int value)
Method Detail

read

static Extension.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