Top Description Methods
org.glassfish.grizzly.ssl

public Interface SSLEngineFactory

Known Direct Implementers
org.glassfish.grizzly.ssl.SSLEngineConfigurator
Imports
javax.net.ssl.SSLEngine

The factory responsible for creating SSLEngine.
Author
Grizzly team

Method Summary

Modifier and TypeMethod and Description
public SSLEngine

Returns:

SSLEngine.
createSSLEngine
(String
the non-authoritative name of the host, or null to not specify one
peerHost
,
int
the non-authoritative port, or -1 to not specify one
peerPort
)

Create and configure SSLEngine using this factory configuration using advisory peer information.

Method Detail

createSSLEngineback to summary
public SSLEngine createSSLEngine(String peerHost, int peerPort)

Create and configure 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.

Parameters
peerHost:String

the non-authoritative name of the host, or null to not specify one

peerPort:int

the non-authoritative port, or -1 to not specify one

Returns:SSLEngine

SSLEngine.