Package net.sourceforge.jtds.ssl
Interface Ssl
-
public interface SslSSL settings- Version:
- $Id: Ssl.java,v 1.3 2005-04-20 16:49:30 alin_sinpalean Exp $
- Author:
- Rob Worsnop, Mike Hutchinson
-
-
Field Summary
Fields Modifier and Type Field Description static intHS_HEADER_SIZETLS Hand shake Header Size.static java.lang.StringSSL_AUTHENTICATESSL is required and the server must return a certificate signed by a client-trusted authority.static java.lang.StringSSL_OFFSSL is not used.static java.lang.StringSSL_REQUESTSSL is requested; a plain socket is used if SSL is not available.static java.lang.StringSSL_REQUIRESSL is required; an exception if thrown if SSL is not available.static intTLS_HEADER_SIZESize of TLS record header.static byteTYPE_ALERTTLS Alert record type.static byteTYPE_APPLICATIONDATATLS Application data record.static byteTYPE_CHANGECIPHERSPECTLS Change Cipher Spec record type.static intTYPE_CLIENTHELLOTLS Hand shake client hello sub type.static intTYPE_CLIENTKEYEXCHANGETLS Hand shake client key exchange sub type.static byteTYPE_HANDSHAKETLS Handshake record.
-
-
-
Field Detail
-
SSL_OFF
static final java.lang.String SSL_OFF
SSL is not used.- See Also:
- Constant Field Values
-
SSL_REQUEST
static final java.lang.String SSL_REQUEST
SSL is requested; a plain socket is used if SSL is not available.- See Also:
- Constant Field Values
-
SSL_REQUIRE
static final java.lang.String SSL_REQUIRE
SSL is required; an exception if thrown if SSL is not available.- See Also:
- Constant Field Values
-
SSL_AUTHENTICATE
static final java.lang.String SSL_AUTHENTICATE
SSL is required and the server must return a certificate signed by a client-trusted authority.- See Also:
- Constant Field Values
-
TLS_HEADER_SIZE
static final int TLS_HEADER_SIZE
Size of TLS record header.- See Also:
- Constant Field Values
-
TYPE_CHANGECIPHERSPEC
static final byte TYPE_CHANGECIPHERSPEC
TLS Change Cipher Spec record type.- See Also:
- Constant Field Values
-
TYPE_ALERT
static final byte TYPE_ALERT
TLS Alert record type.- See Also:
- Constant Field Values
-
TYPE_HANDSHAKE
static final byte TYPE_HANDSHAKE
TLS Handshake record.- See Also:
- Constant Field Values
-
TYPE_APPLICATIONDATA
static final byte TYPE_APPLICATIONDATA
TLS Application data record.- See Also:
- Constant Field Values
-
HS_HEADER_SIZE
static final int HS_HEADER_SIZE
TLS Hand shake Header Size.- See Also:
- Constant Field Values
-
TYPE_CLIENTKEYEXCHANGE
static final int TYPE_CLIENTKEYEXCHANGE
TLS Hand shake client key exchange sub type.- See Also:
- Constant Field Values
-
TYPE_CLIENTHELLO
static final int TYPE_CLIENTHELLO
TLS Hand shake client hello sub type.- See Also:
- Constant Field Values
-
-