Package org.apache.tomcat.util.net
Interface SSLContext
- 
- All Known Implementing Classes:
- OpenSSLContext
 
 public interface SSLContextThis 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 SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.net.ssl.SSLEnginecreateSSLEngine()voiddestroy()java.security.cert.X509Certificate[]getAcceptedIssuers()java.security.cert.X509Certificate[]getCertificateChain(java.lang.String alias)javax.net.ssl.SSLSessionContextgetServerSessionContext()javax.net.ssl.SSLServerSocketFactorygetServerSocketFactory()javax.net.ssl.SSLParametersgetSupportedSSLParameters()voidinit(javax.net.ssl.KeyManager[] kms, javax.net.ssl.TrustManager[] tms, java.security.SecureRandom sr)
 
- 
- 
- 
Method Detail- 
initvoid init(javax.net.ssl.KeyManager[] kms, javax.net.ssl.TrustManager[] tms, java.security.SecureRandom sr) throws java.security.KeyManagementException- Throws:
- java.security.KeyManagementException
 
 - 
destroyvoid destroy() 
 - 
getServerSessionContextjavax.net.ssl.SSLSessionContext getServerSessionContext() 
 - 
createSSLEnginejavax.net.ssl.SSLEngine createSSLEngine() 
 - 
getServerSocketFactoryjavax.net.ssl.SSLServerSocketFactory getServerSocketFactory() 
 - 
getSupportedSSLParametersjavax.net.ssl.SSLParameters getSupportedSSLParameters() 
 - 
getCertificateChainjava.security.cert.X509Certificate[] getCertificateChain(java.lang.String alias) 
 - 
getAcceptedIssuersjava.security.cert.X509Certificate[] getAcceptedIssuers() 
 
- 
 
-