Top Description Methods
org.apache.tomcat.util.net

public Interface SSLContext

Known Direct Implementers
org.apache.tomcat.util.net.jsse.JSSESSLContext, org.apache.tomcat.util.net.openssl.OpenSSLContext
Imports
java.security.KeyManagementException, .SecureRandom, java.security.cert.X509Certificate, javax.net.ssl.KeyManager, .SSLEngine, .SSLParameters, .SSLServerSocketFactory, .SSLSessionContext, .TrustManager

This interface is needed to override the default SSLContext class to allow SSL implementation pluggability without having to use JCE. With regular JSSE it will do nothing but delegate to the SSLContext.

Method Summary

Modifier and TypeMethod and Description
public SSLEngine
public void
public X509Certificate[]
public X509Certificate[]
public SSLSessionContext
public SSLServerSocketFactory
public SSLParameters
public void

Method Detail

createSSLEngineback to summary
public SSLEngine createSSLEngine()
destroyback to summary
public void destroy()
getAcceptedIssuersback to summary
public X509Certificate[] getAcceptedIssuers()
getCertificateChainback to summary
public X509Certificate[] getCertificateChain(String alias)
getServerSessionContextback to summary
public SSLSessionContext getServerSessionContext()
getServerSocketFactoryback to summary
public SSLServerSocketFactory getServerSocketFactory()
getSupportedSSLParametersback to summary
public SSLParameters getSupportedSSLParameters()
initback to summary
public void init(KeyManager[] kms, TrustManager[] tms, SecureRandom sr) throws KeyManagementException