public interface SSLEngineFactory
SSLEngine
.Modifier and Type | Method and Description |
---|---|
SSLEngine |
createSSLEngine(String peerHost,
int peerPort)
Create and configure
SSLEngine using this factory configuration
using advisory peer information. |
SSLEngine createSSLEngine(String peerHost, int peerPort)
SSLEngine
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.
peerHost
- the non-authoritative name of the host, or null to not specify onepeerPort
- the non-authoritative port, or -1 to not specify oneSSLEngine
.Copyright © 2023 Oracle Corporation. All rights reserved.