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, DEFAULT_KEY_ALIAS, 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 X509KeyManagerchooseKeyManager(KeyManager[] managers)SSLContextcreateSSLContextInternal(List<String> negotiableProtocols)protected Set<String>getImplementedCiphers()protected Set<String>getImplementedProtocols()KeyManager[]getKeyManagers()protected LoggetLog()protected booleanisTls13RenegAuthAvailable()-
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:
getLogin classSSLUtilBase
-
getImplementedProtocols
protected Set<String> getImplementedProtocols()
- Specified by:
getImplementedProtocolsin classSSLUtilBase
-
getImplementedCiphers
protected Set<String> getImplementedCiphers()
- Specified by:
getImplementedCiphersin classSSLUtilBase
-
isTls13RenegAuthAvailable
protected boolean isTls13RenegAuthAvailable()
- Specified by:
isTls13RenegAuthAvailablein classSSLUtilBase
-
createSSLContextInternal
public SSLContext createSSLContextInternal(List<String> negotiableProtocols) throws Exception
- Specified by:
createSSLContextInternalin classSSLUtilBase- Throws:
Exception
-
chooseKeyManager
public static X509KeyManager chooseKeyManager(KeyManager[] managers) throws Exception
- Throws:
Exception
-
getKeyManagers
public KeyManager[] getKeyManagers() throws Exception
- Specified by:
getKeyManagersin interfaceSSLUtil- Overrides:
getKeyManagersin classSSLUtilBase- Throws:
Exception
-
-