Package org.apache.tomcat.util.net
Class SSLImplementation
- java.lang.Object
- 
- org.apache.tomcat.util.net.SSLImplementation
 
- 
- Direct Known Subclasses:
- JSSEImplementation,- OpenSSLImplementation
 
 public abstract class SSLImplementation extends java.lang.ObjectProvides a factory and base implementation for the Tomcat specific mechanism that allows alternative SSL/TLS implementations to be used without requiring the implementation of a full JSSE provider.
- 
- 
Constructor SummaryConstructors Constructor Description SSLImplementation()
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SSLImplementationgetInstance(java.lang.String className)Obtain an instance (not a singleton) of the implementation with the given class name.abstract SSLSupportgetSSLSupport(javax.net.ssl.SSLSession session)Deprecated.This will be removed in Tomcat 10.1.x onwards.SSLSupportgetSSLSupport(javax.net.ssl.SSLSession session, java.util.Map<java.lang.String,java.util.List<java.lang.String>> additionalAttributes)Obtain an instance of SSLSupport.abstract SSLUtilgetSSLUtil(SSLHostConfigCertificate certificate)abstract booleanisAlpnSupported()
 
- 
- 
- 
Method Detail- 
getInstancepublic static SSLImplementation getInstance(java.lang.String className) throws java.lang.ClassNotFoundException Obtain an instance (not a singleton) of the implementation with the given class name.- Parameters:
- className- The class name of the required implementation or null to use the default (currently- JSSEImplementation.
- Returns:
- An instance of the required implementation
- Throws:
- java.lang.ClassNotFoundException- If an instance of the requested class cannot be created
 
 - 
getSSLSupportpublic SSLSupport getSSLSupport(javax.net.ssl.SSLSession session, java.util.Map<java.lang.String,java.util.List<java.lang.String>> additionalAttributes) Obtain an instance of SSLSupport.- Parameters:
- session- The SSL session
- additionalAttributes- Additional SSL attributes that are not available from the session.
- Returns:
- An instance of SSLSupport based on the given session and the provided additional attributes
 
 - 
getSSLSupport@Deprecated public abstract SSLSupport getSSLSupport(javax.net.ssl.SSLSession session) Deprecated.This will be removed in Tomcat 10.1.x onwards. UsegetSSLSupport(SSLSession, Map).Obtain an instance of SSLSupport.- Parameters:
- session- The TLS session
- Returns:
- An instance of SSLSupport based on the given session.
 
 - 
getSSLUtilpublic abstract SSLUtil getSSLUtil(SSLHostConfigCertificate certificate) 
 - 
isAlpnSupportedpublic abstract boolean isAlpnSupported() 
 
- 
 
-