Package org.glassfish.grizzly.ssl
Interface SSLEngineFactory
-
- All Known Implementing Classes:
SSLEngineConfigurator
public interface SSLEngineFactory
The factory responsible for creatingSSLEngine
.- Author:
- Grizzly team
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SSLEngine
createSSLEngine(String peerHost, int peerPort)
Create and configureSSLEngine
using this factory configuration using advisory peer information.
-
-
-
Method Detail
-
createSSLEngine
SSLEngine createSSLEngine(String peerHost, int peerPort)
Create and configureSSLEngine
using this factory configuration using advisory peer information.Applications using this factory method may provide hints for an internal session reuse strategy by providing peerHost and peerPort information.
Some cipher suites (such as Kerberos) require remote hostname information, in which case peerHost needs to be specified.
- Parameters:
peerHost
- the non-authoritative name of the host, or null to not specify onepeerPort
- the non-authoritative port, or -1 to not specify one- Returns:
SSLEngine
.
-
-