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 Summary
All 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
-
init
void init(javax.net.ssl.KeyManager[] kms, javax.net.ssl.TrustManager[] tms, java.security.SecureRandom sr) throws java.security.KeyManagementException- Throws:
java.security.KeyManagementException
-
destroy
void destroy()
-
getServerSessionContext
javax.net.ssl.SSLSessionContext getServerSessionContext()
-
createSSLEngine
javax.net.ssl.SSLEngine createSSLEngine()
-
getServerSocketFactory
javax.net.ssl.SSLServerSocketFactory getServerSocketFactory()
-
getSupportedSSLParameters
javax.net.ssl.SSLParameters getSupportedSSLParameters()
-
getCertificateChain
java.security.cert.X509Certificate[] getCertificateChain(java.lang.String alias)
-
getAcceptedIssuers
java.security.cert.X509Certificate[] getAcceptedIssuers()
-
-