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 Stringprivate SSLContextprivate JSSKeyManagerprivate JSSTrustManagerstatic org.slf4j.Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()getCertificateChain(String alias) voidinit(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:
initin interfaceorg.apache.tomcat.util.net.SSLContext- Throws:
KeyManagementException
-
createSSLEngine
- Specified by:
createSSLEnginein interfaceorg.apache.tomcat.util.net.SSLContext
-
getServerSessionContext
- Specified by:
getServerSessionContextin interfaceorg.apache.tomcat.util.net.SSLContext
-
getServerSocketFactory
- Specified by:
getServerSocketFactoryin interfaceorg.apache.tomcat.util.net.SSLContext
-
getSupportedSSLParameters
- Specified by:
getSupportedSSLParametersin interfaceorg.apache.tomcat.util.net.SSLContext
-
getCertificateChain
- Specified by:
getCertificateChainin interfaceorg.apache.tomcat.util.net.SSLContext
-
getAcceptedIssuers
- Specified by:
getAcceptedIssuersin interfaceorg.apache.tomcat.util.net.SSLContext
-
destroy
public void destroy()- Specified by:
destroyin interfaceorg.apache.tomcat.util.net.SSLContext
-