Package 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 $
- Author:
- Rob Worsnop, Mike Hutchinson
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
TLS Hand shake Header Size.static final String
SSL is required and the server must return a certificate signed by a client-trusted authority.static final String
SSL is not used.static final String
SSL is requested; a plain socket is used if SSL is not available.static final String
SSL is required; an exception if thrown if SSL is not available.static final int
Size of TLS record header.static final byte
TLS Alert record type.static final byte
TLS Application data record.static final byte
TLS Change Cipher Spec record type.static final int
TLS Hand shake client hello sub type.static final int
TLS Hand shake client key exchange sub type.static final byte
TLS Handshake record.
-
Field Details
-
SSL_OFF
SSL is not used.- See Also:
-
SSL_REQUEST
SSL is requested; a plain socket is used if SSL is not available.- See Also:
-
SSL_REQUIRE
SSL is required; an exception if thrown if SSL is not available.- See Also:
-
SSL_AUTHENTICATE
SSL is required and the server must return a certificate signed by a client-trusted authority.- See Also:
-
TLS_HEADER_SIZE
static final int TLS_HEADER_SIZESize of TLS record header.- See Also:
-
TYPE_CHANGECIPHERSPEC
static final byte TYPE_CHANGECIPHERSPECTLS Change Cipher Spec record type.- See Also:
-
TYPE_ALERT
static final byte TYPE_ALERTTLS Alert record type.- See Also:
-
TYPE_HANDSHAKE
static final byte TYPE_HANDSHAKETLS Handshake record.- See Also:
-
TYPE_APPLICATIONDATA
static final byte TYPE_APPLICATIONDATATLS Application data record.- See Also:
-
HS_HEADER_SIZE
static final int HS_HEADER_SIZETLS Hand shake Header Size.- See Also:
-
TYPE_CLIENTKEYEXCHANGE
static final int TYPE_CLIENTKEYEXCHANGETLS Hand shake client key exchange sub type.- See Also:
-
TYPE_CLIENTHELLO
static final int TYPE_CLIENTHELLOTLS Hand shake client hello sub type.- See Also:
-