Package | Description |
---|---|
org.snf4j.core |
Provides interfaces and classes implementing the core functionalities of the
API.
|
org.snf4j.core.session |
Provides classes and interfaces used for session handling.
|
org.snf4j.core.session.ssl |
Provides classes and interfaces for configuration of SSL/TLS/DTLS sessions.
|
Constructor and Description |
---|
DTLSSession(IDatagramHandler handler,
boolean clientMode)
Constructs a DTLS session associated with a handler.
|
DTLSSession(SocketAddress remoteAddress,
IDatagramHandler handler,
boolean clientMode)
Constructs a DTLS session associated with a handler.
|
DTLSSession(String name,
IDatagramHandler handler,
boolean clientMode)
Constructs a named DTLS session associated with a handler.
|
DTLSSession(String name,
SocketAddress remoteAddress,
IDatagramHandler handler,
boolean clientMode)
Constructs a named DTLS session associated with a handler.
|
SSLSession(IStreamHandler handler,
boolean clientMode)
Constructs the SSL/TLS session associated with a handler.
|
SSLSession(SocketAddress remoteAddress,
IStreamHandler handler,
boolean clientMode)
Constructs the SSL/TLS session associated with a handler and a
remote peer.
|
SSLSession(String name,
IStreamHandler handler,
boolean clientMode)
Constructs the named SSL/TLS session associated with a handler.
|
SSLSession(String name,
SocketAddress remoteAddress,
IStreamHandler handler,
boolean clientMode)
Constructs the named SSL/TLS session associated with a handler and a
remote peer.
|
Modifier and Type | Method and Description |
---|---|
SSLEngine |
ISessionConfig.createSSLEngine(boolean clientMode)
Creates a new SSLEngine for the SSL/DTLS session.
|
SSLEngine |
DefaultSessionConfig.createSSLEngine(boolean clientMode)
Creates a new SSLEngine for the SSL/DTLS session.
|
SSLEngine |
ISessionConfig.createSSLEngine(SocketAddress remoteAddress,
boolean clientMode)
Creates a new SSLEngine for the SSL/DTLS session with known remote peer.
|
SSLEngine |
DefaultSessionConfig.createSSLEngine(SocketAddress remoteAddress,
boolean clientMode)
Creates a new SSLEngine for the SSL/DTLS session with known remote peer.
|
Modifier and Type | Method and Description |
---|---|
SSLEngine |
SSLEngineBuilder.build()
Builds a new
SSLEngine instance based on the current configuration
settings. |
SSLEngine |
SSLEngineBuilder.build(String peerHost,
int peerPort)
Builds a new
SSLEngine instance based on the current configuration
settings and advisory peer information. |
Copyright © 2017–2022 SNF4J.ORG. All rights reserved.