Home » apache-tomcat-6.0.26-src » org.apache » tomcat » util » net » [javadoc | source]
public interface: SSLSupport [javadoc | source]

All Known Implementing Classes:
    PureTLSSupport, JSSESupport, JSSE14Support

Nested Class Summary:
final class  SSLSupport.CipherData  Simple data class that represents the cipher being used, along with the corresponding effective key size. The specified phrase must appear in the name of the cipher suite to be recognized. 
Field 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. 
Method from org.apache.tomcat.util.net.SSLSupport Summary:
getCipherSuite,   getKeySize,   getPeerCertificateChain,   getPeerCertificateChain,   getSessionId
Method from org.apache.tomcat.util.net.SSLSupport Detail:
 public String getCipherSuite() throws IOException
    The cipher suite being used on this connection.
 public Integer getKeySize() throws IOException
    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 Object[] getPeerCertificateChain() throws IOException
    The client certificate chain (if any).
 public Object[] getPeerCertificateChain(boolean force) throws IOException
    The client certificate chain (if any).
 public String getSessionId() throws IOException
    The current session Id.