Class OpenSSLUtil
- java.lang.Object
-
- org.apache.tomcat.util.net.SSLUtilBase
-
- org.apache.tomcat.util.net.openssl.OpenSSLUtil
-
- All Implemented Interfaces:
SSLUtil
public class OpenSSLUtil extends SSLUtilBase
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.tomcat.util.net.SSLUtil
SSLUtil.ProtocolInfo
-
-
Field Summary
-
Fields inherited from class org.apache.tomcat.util.net.SSLUtilBase
certificate, sslHostConfig
-
-
Constructor Summary
Constructors Constructor Description OpenSSLUtil(SSLHostConfigCertificate certificate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static javax.net.ssl.X509KeyManager
chooseKeyManager(javax.net.ssl.KeyManager[] managers)
SSLContext
createSSLContextInternal(java.util.List<java.lang.String> negotiableProtocols)
protected java.util.Set<java.lang.String>
getImplementedCiphers()
protected java.util.Set<java.lang.String>
getImplementedProtocols()
javax.net.ssl.KeyManager[]
getKeyManagers()
protected Log
getLog()
protected boolean
isTls13RenegAuthAvailable()
-
Methods inherited from class org.apache.tomcat.util.net.SSLUtilBase
configureSessionContext, createSSLContext, getCRLs, getEnabledCiphers, getEnabledProtocols, getParameters, getTrustManagers
-
-
-
-
Constructor Detail
-
OpenSSLUtil
public OpenSSLUtil(SSLHostConfigCertificate certificate)
-
-
Method Detail
-
getLog
protected Log getLog()
- Specified by:
getLog
in classSSLUtilBase
-
getImplementedProtocols
protected java.util.Set<java.lang.String> getImplementedProtocols()
- Specified by:
getImplementedProtocols
in classSSLUtilBase
-
getImplementedCiphers
protected java.util.Set<java.lang.String> getImplementedCiphers()
- Specified by:
getImplementedCiphers
in classSSLUtilBase
-
isTls13RenegAuthAvailable
protected boolean isTls13RenegAuthAvailable()
- Specified by:
isTls13RenegAuthAvailable
in classSSLUtilBase
-
createSSLContextInternal
public SSLContext createSSLContextInternal(java.util.List<java.lang.String> negotiableProtocols) throws java.lang.Exception
- Specified by:
createSSLContextInternal
in classSSLUtilBase
- Throws:
java.lang.Exception
-
chooseKeyManager
public static javax.net.ssl.X509KeyManager chooseKeyManager(javax.net.ssl.KeyManager[] managers) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getKeyManagers
public javax.net.ssl.KeyManager[] getKeyManagers() throws java.lang.Exception
- Specified by:
getKeyManagers
in interfaceSSLUtil
- Overrides:
getKeyManagers
in classSSLUtilBase
- Throws:
java.lang.Exception
-
-