Interface SSLContext
- All Known Implementing Classes:
OpenSSLContext
public interface SSLContext
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 TypeMethodDescriptionvoid
destroy()
getCertificateChain
(String alias) void
init
(KeyManager[] kms, TrustManager[] tms, SecureRandom sr)
-
Method Details
-
init
- Throws:
KeyManagementException
-
destroy
void destroy() -
getServerSessionContext
SSLSessionContext getServerSessionContext() -
createSSLEngine
SSLEngine createSSLEngine() -
getServerSocketFactory
SSLServerSocketFactory getServerSocketFactory() -
getSupportedSSLParameters
SSLParameters getSupportedSSLParameters() -
getCertificateChain
-
getAcceptedIssuers
X509Certificate[] getAcceptedIssuers()
-