FileDocCategorySizeDatePackage
SSLSupport.javaAPI DocGlassfish v2 API5204Fri May 04 22:33:16 BST 2007org.apache.tomcat.util.net

SSLSupport

public interface SSLSupport

Fields Summary
public static final String
CIPHER_SUITE_KEY
The Request attribute key for the cipher suite.
public static final String
KEY_SIZE_KEY
The Request attribute key for the key size.
public static final String
CERTIFICATE_KEY
The Request attribute key for the client certificate chain.
public static final String
SESSION_ID_KEY
The Request attribute key for the session id. This one is a Tomcat extension to the Servlet spec.
static final CipherData[]
ciphers
A mapping table to determine the number of effective bits in the key when using a cipher suite containing the specified cipher name. The underlying data came from the TLS Specification (RFC 2246), Appendix C.
Constructors Summary
Methods Summary
public java.lang.StringgetCipherSuite()
The cipher suite being used on this connection.

public java.lang.IntegergetKeySize()
Get the keysize. What we're supposed to put here is ill-defined by the Servlet spec (S 4.7 again). There are at least 4 potential values that might go here: (a) The size of the encryption key (b) The size of the MAC key (c) The size of the key-exchange key (d) The size of the signature key used by the server Unfortunately, all of these values are nonsensical.

public java.lang.Object[]getPeerCertificateChain()
The client certificate chain (if any).

public java.lang.Object[]getPeerCertificateChain(boolean force)
The client certificate chain (if any).

param
force If true, then re-negotiate the connection if necessary.

public java.lang.StringgetSessionId()
The current session Id.