net.sourceforge.jtds.ssl

Interface Ssl

public interface Ssl

SSL settings
Version:
$Id: Ssl.java,v 1.3 2005/04/20 16:49:30 alin_sinpalean Exp $
Authors:
Rob Worsnop
Mike Hutchinson

Field Summary

static int
HS_HEADER_SIZE
TLS Hand shake Header Size.
static String
SSL_AUTHENTICATE
SSL is required and the server must return a certificate signed by a client-trusted authority.
static String
SSL_OFF
SSL is not used.
static String
SSL_REQUEST
SSL is requested; a plain socket is used if SSL is not available.
static String
SSL_REQUIRE
SSL is required; an exception if thrown if SSL is not available.
static int
TLS_HEADER_SIZE
Size of TLS record header.
static byte
TYPE_ALERT
TLS Alert record type.
static byte
TYPE_APPLICATIONDATA
TLS Application data record.
static byte
TYPE_CHANGECIPHERSPEC
TLS Change Cipher Spec record type.
static int
TYPE_CLIENTHELLO
TLS Hand shake client hello sub type.
static int
TYPE_CLIENTKEYEXCHANGE
TLS Hand shake client key exchange sub type.
static byte
TYPE_HANDSHAKE
TLS Handshake record.

Field Details

HS_HEADER_SIZE

public static final int HS_HEADER_SIZE
TLS Hand shake Header Size.
Field Value:
4

SSL_AUTHENTICATE

public static final String SSL_AUTHENTICATE
SSL is required and the server must return a certificate signed by a client-trusted authority.

SSL_OFF

public static final String SSL_OFF
SSL is not used.

SSL_REQUEST

public static final String SSL_REQUEST
SSL is requested; a plain socket is used if SSL is not available.

SSL_REQUIRE

public static final String SSL_REQUIRE
SSL is required; an exception if thrown if SSL is not available.

TLS_HEADER_SIZE

public static final int TLS_HEADER_SIZE
Size of TLS record header.
Field Value:
5

TYPE_ALERT

public static final byte TYPE_ALERT
TLS Alert record type.
Field Value:
21

TYPE_APPLICATIONDATA

public static final byte TYPE_APPLICATIONDATA
TLS Application data record.
Field Value:
23

TYPE_CHANGECIPHERSPEC

public static final byte TYPE_CHANGECIPHERSPEC
TLS Change Cipher Spec record type.
Field Value:
20

TYPE_CLIENTHELLO

public static final int TYPE_CLIENTHELLO
TLS Hand shake client hello sub type.
Field Value:
1

TYPE_CLIENTKEYEXCHANGE

public static final int TYPE_CLIENTKEYEXCHANGE
TLS Hand shake client key exchange sub type.
Field Value:
16

TYPE_HANDSHAKE

public static final byte TYPE_HANDSHAKE
TLS Handshake record.
Field Value:
22

Generated on September 18 2009