Top Description Fields Constructors Methods
org.apache.tomcat.util.net

public abstract Class SSLImplementation

extends Object
Class Inheritance
Known Direct Subclasses
org.apache.tomcat.util.net.jsse.JSSEImplementation, org.apache.tomcat.util.net.openssl.OpenSSLImplementation
Imports
java.util.List, .Map, javax.net.ssl.SSLSession, org.apache.juli.logging.Log, .LogFactory, org.apache.tomcat.util.net.jsse.JSSEImplementation, org.apache.tomcat.util.res.StringManager

Provides 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.

Field Summary

Modifier and TypeField and Description
private static final Log
private static final StringManager

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static SSLImplementation

Returns:

An instance of the required implementation
getInstance
(String
The class name of the required implementation or null to use the default (currently JSSEImplementation.
className
)

Obtain an instance (not a singleton) of the implementation with the given class name.

public abstract SSLSupport

Returns:

An instance of SSLSupport based on the given session and the provided additional attributes
getSSLSupport
(SSLSession
The SSL session
session
,
Map<String, List<String>>
Additional SSL attributes that are not available from the session.
additionalAttributes
)

Obtain an instance of SSLSupport.

public abstract SSLUtil
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

loggerback to summary
private static final Log logger
smback to summary
private static final StringManager sm

Constructor Detail

SSLImplementationback to summary
public SSLImplementation()

Method Detail

getInstanceback to summary
public static SSLImplementation getInstance(String className) throws ClassNotFoundException

Obtain an instance (not a singleton) of the implementation with the given class name.

Parameters
className:String

The class name of the required implementation or null to use the default (currently JSSEImplementation.

Returns:SSLImplementation

An instance of the required implementation

Exceptions
ClassNotFoundException:
If an instance of the requested class cannot be created
getSSLSupportback to summary
public abstract SSLSupport getSSLSupport(SSLSession session, Map<String, List<String>> additionalAttributes)

Obtain an instance of SSLSupport.

Parameters
session:SSLSession

The SSL session

additionalAttributes:Map<String, List<String>>

Additional SSL attributes that are not available from the session.

Returns:SSLSupport

An instance of SSLSupport based on the given session and the provided additional attributes

getSSLUtilback to summary
public abstract SSLUtil getSSLUtil(SSLHostConfigCertificate certificate)