- All Known Implementing Classes:
SSLEngineConfigurator
public interface SSLEngineFactory
The factory responsible for creating
SSLEngine
.- Author:
- Grizzly team
-
Method Summary
Modifier and TypeMethodDescriptioncreateSSLEngine
(String peerHost, int peerPort) Create and configureSSLEngine
using this factory configuration using advisory peer information.
-
Method Details
-
createSSLEngine
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
.
-