public abstract class SSLImplementation extends Object
Constructor and Description |
---|
SSLImplementation() |
Modifier and Type | Method and Description |
---|---|
static SSLImplementation |
getInstance(String className)
Obtain an instance (not a singleton) of the implementation with the given
class name.
|
abstract SSLSupport |
getSSLSupport(SSLSession session)
Deprecated.
This will be removed in Tomcat 10.1.x onwards.
Use
getSSLSupport(SSLSession, Map) . |
SSLSupport |
getSSLSupport(SSLSession session,
Map<String,List<String>> additionalAttributes)
Obtain an instance of SSLSupport.
|
abstract SSLUtil |
getSSLUtil(SSLHostConfigCertificate certificate) |
abstract boolean |
isAlpnSupported() |
public static SSLImplementation getInstance(String className) throws ClassNotFoundException
className
- The class name of the required implementation or null to
use the default (currently JSSEImplementation
.ClassNotFoundException
- If an instance of the requested class
cannot be createdpublic SSLSupport getSSLSupport(SSLSession session, Map<String,List<String>> additionalAttributes)
session
- The SSL sessionadditionalAttributes
- Additional SSL attributes that are not
available from the session.@Deprecated public abstract SSLSupport getSSLSupport(SSLSession session)
getSSLSupport(SSLSession, Map)
.session
- The TLS sessionpublic abstract SSLUtil getSSLUtil(SSLHostConfigCertificate certificate)
public abstract boolean isAlpnSupported()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.