public class JSSESSLContext extends Object implements org.apache.tomcat.util.net.SSLContext
Constructor and Description |
---|
JSSESSLContext(SSLContext context)
构造
|
Modifier and Type | Method and Description |
---|---|
SSLEngine |
createSSLEngine() |
void |
destroy() |
X509Certificate[] |
getAcceptedIssuers() |
X509Certificate[] |
getCertificateChain(String alias) |
SSLSessionContext |
getServerSessionContext() |
SSLServerSocketFactory |
getServerSocketFactory() |
SSLParameters |
getSupportedSSLParameters() |
void |
init(KeyManager[] kms,
TrustManager[] tms,
SecureRandom sr) |
public JSSESSLContext(SSLContext context)
context
- SSLContextpublic void init(KeyManager[] kms, TrustManager[] tms, SecureRandom sr) throws KeyManagementException
init
in interface org.apache.tomcat.util.net.SSLContext
KeyManagementException
public void destroy()
destroy
in interface org.apache.tomcat.util.net.SSLContext
public SSLSessionContext getServerSessionContext()
getServerSessionContext
in interface org.apache.tomcat.util.net.SSLContext
public SSLEngine createSSLEngine()
createSSLEngine
in interface org.apache.tomcat.util.net.SSLContext
public SSLServerSocketFactory getServerSocketFactory()
getServerSocketFactory
in interface org.apache.tomcat.util.net.SSLContext
public SSLParameters getSupportedSSLParameters()
getSupportedSSLParameters
in interface org.apache.tomcat.util.net.SSLContext
public X509Certificate[] getCertificateChain(String alias)
getCertificateChain
in interface org.apache.tomcat.util.net.SSLContext
public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers
in interface org.apache.tomcat.util.net.SSLContext
Copyright © 2025. All rights reserved.