Package org.dogtagpki.jss.tomcat
Class JSSContext
java.lang.Object
org.dogtagpki.jss.tomcat.JSSContext
- All Implemented Interfaces:
org.apache.tomcat.util.net.SSLContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private SSLContext
private JSSKeyManager
private JSSTrustManager
static org.slf4j.Logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
getCertificateChain
(String alias) void
init
(KeyManager[] kms, TrustManager[] tms, SecureRandom sr)
-
Field Details
-
logger
public static org.slf4j.Logger logger -
ctx
-
alias
-
jkm
-
jtm
-
-
Constructor Details
-
JSSContext
-
-
Method Details
-
init
public void init(KeyManager[] kms, TrustManager[] tms, SecureRandom sr) throws KeyManagementException - Specified by:
init
in interfaceorg.apache.tomcat.util.net.SSLContext
- Throws:
KeyManagementException
-
createSSLEngine
- Specified by:
createSSLEngine
in interfaceorg.apache.tomcat.util.net.SSLContext
-
getServerSessionContext
- Specified by:
getServerSessionContext
in interfaceorg.apache.tomcat.util.net.SSLContext
-
getServerSocketFactory
- Specified by:
getServerSocketFactory
in interfaceorg.apache.tomcat.util.net.SSLContext
-
getSupportedSSLParameters
- Specified by:
getSupportedSSLParameters
in interfaceorg.apache.tomcat.util.net.SSLContext
-
getCertificateChain
- Specified by:
getCertificateChain
in interfaceorg.apache.tomcat.util.net.SSLContext
-
getAcceptedIssuers
- Specified by:
getAcceptedIssuers
in interfaceorg.apache.tomcat.util.net.SSLContext
-
destroy
public void destroy()- Specified by:
destroy
in interfaceorg.apache.tomcat.util.net.SSLContext
-