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 X509KeyManager
chooseKeyManager(KeyManager[] managers)
SSLContext
createSSLContextInternal(List<String> negotiableProtocols)
protected Set<String>
getImplementedCiphers()
protected Set<String>
getImplementedProtocols()
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 Set<String> getImplementedProtocols()
- Specified by:
getImplementedProtocols
in classSSLUtilBase
-
getImplementedCiphers
protected Set<String> getImplementedCiphers()
- Specified by:
getImplementedCiphers
in classSSLUtilBase
-
isTls13RenegAuthAvailable
protected boolean isTls13RenegAuthAvailable()
- Specified by:
isTls13RenegAuthAvailable
in classSSLUtilBase
-
createSSLContextInternal
public SSLContext createSSLContextInternal(List<String> negotiableProtocols) throws Exception
- Specified by:
createSSLContextInternal
in classSSLUtilBase
- Throws:
Exception
-
chooseKeyManager
public static X509KeyManager chooseKeyManager(KeyManager[] managers) throws Exception
- Throws:
Exception
-
getKeyManagers
public KeyManager[] getKeyManagers() throws Exception
- Specified by:
getKeyManagers
in interfaceSSLUtil
- Overrides:
getKeyManagers
in classSSLUtilBase
- Throws:
Exception
-
-