public class JSSEFactory
extends java.lang.Object
Constructor and Description |
---|
JSSEFactory() |
Modifier and Type | Method and Description |
---|---|
ServerSocketFactory |
getSocketFactory()
Returns the ServerSocketFactory to use.
|
ServerSocketFactory |
getSocketFactory(java.lang.String sslProtocol)
Returns the ServerSocketFactory to use.
|
SSLSupport |
getSSLSupport(java.net.Socket socket)
returns the SSLSupport attached to this socket.
|
SSLSupport |
getSSLSupport(javax.net.ssl.SSLSession session) |
public ServerSocketFactory getSocketFactory()
public ServerSocketFactory getSocketFactory(java.lang.String sslProtocol)
sslProtocol
- Name of SSL protocol, e.g. "TLS". It is used to
obtain an instance of javax.net.ssl.SSLContext
. If it is
null
then a default will be used.public SSLSupport getSSLSupport(java.net.Socket socket)
public SSLSupport getSSLSupport(javax.net.ssl.SSLSession session)
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.