|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tomcat.util.net.ServerSocketFactory
org.apache.tomcat.util.net.jsse.JSSESocketFactory
org.apache.tomcat.util.net.jsse.JSSE14SocketFactory
public class JSSE14SocketFactory
SSL server socket factory. It _requires_ a valid RSA key and JSSE.
| Field Summary |
|---|
| Fields inherited from class org.apache.tomcat.util.net.jsse.JSSESocketFactory |
|---|
clientAuth, enabledCiphers, initialized, log, sslProxy |
| Fields inherited from class org.apache.tomcat.util.net.ServerSocketFactory |
|---|
attributes, context |
| Constructor Summary | |
|---|---|
JSSE14SocketFactory()
|
|
| Method Summary | |
|---|---|
protected java.util.Collection<? extends java.security.cert.CRL> |
getCRLs(java.lang.String crlf)
Load the collection of CRLs. |
protected java.lang.String[] |
getEnabledProtocols(javax.net.ssl.SSLServerSocket socket,
java.lang.String requestedProtocols)
|
protected javax.net.ssl.KeyManager[] |
getKeyManagers(java.lang.String algorithm,
java.lang.String keyAlias)
Gets the initialized key managers. |
protected java.security.cert.CertPathParameters |
getParameters(java.lang.String algorithm,
java.lang.String crlf,
java.security.KeyStore trustStore)
Return the initialization parameters for the TrustManager. |
protected javax.net.ssl.TrustManager[] |
getTrustManagers(java.lang.String algorithm)
Gets the intialized trust managers. |
void |
init()
Reads the keystore and initializes the SSL socket factory. |
protected void |
setEnabledProtocols(javax.net.ssl.SSLServerSocket socket,
java.lang.String[] protocols)
Set the SSL protocol variants to be enabled. |
| Methods inherited from class org.apache.tomcat.util.net.jsse.JSSESocketFactory |
|---|
acceptSocket, createSocket, createSocket, createSocket, getEnabledCiphers, getKeystore, getKeystorePassword, getTrustStore, handshake |
| Methods inherited from class org.apache.tomcat.util.net.ServerSocketFactory |
|---|
getDefault, getSSLContext, initSocket, setAttribute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JSSE14SocketFactory()
| Method Detail |
|---|
public void init()
throws java.io.IOException
init in class JSSESocketFactoryjava.io.IOException
protected javax.net.ssl.KeyManager[] getKeyManagers(java.lang.String algorithm,
java.lang.String keyAlias)
throws java.lang.Exception
java.lang.Exception
protected javax.net.ssl.TrustManager[] getTrustManagers(java.lang.String algorithm)
throws java.lang.Exception
java.lang.Exception
protected java.security.cert.CertPathParameters getParameters(java.lang.String algorithm,
java.lang.String crlf,
java.security.KeyStore trustStore)
throws java.lang.Exception
PKIX is supported.
algorithm - The algorithm to get parameters for.crlf - The path to the CRL file.trustStore - The configured TrustStore.
java.lang.Exception
protected java.util.Collection<? extends java.security.cert.CRL> getCRLs(java.lang.String crlf)
throws java.io.IOException,
java.security.cert.CRLException,
java.security.cert.CertificateException
java.io.IOException
java.security.cert.CRLException
java.security.cert.CertificateException
protected void setEnabledProtocols(javax.net.ssl.SSLServerSocket socket,
java.lang.String[] protocols)
JSSESocketFactory
setEnabledProtocols in class JSSESocketFactorysocket - the SSLServerSocket.protocols - the protocols to use.
protected java.lang.String[] getEnabledProtocols(javax.net.ssl.SSLServerSocket socket,
java.lang.String requestedProtocols)
getEnabledProtocols in class JSSESocketFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||