| Package | Description |
|---|---|
| org.eclipse.californium.scandium.dtls |
| Modifier and Type | Field and Description |
|---|---|
protected ConcurrentMap<SessionId,Connection> |
InMemoryConnectionStore.connectionsByEstablishedSession |
| Modifier and Type | Method and Description |
|---|---|
static SessionId |
SessionId.emptySessionId()
Creates a new instance with an empty byte array as the ID.
|
SessionId |
ServerHello.getSessionId()
Gets the identifier the server has created for the session being negotiated.
|
SessionId |
ClientHello.getSessionId() |
SessionId |
DTLSSession.getSessionIdentifier()
Gets this session's identifier.
|
SessionId |
Connection.getSessionIdentity()
Gets the session identity this connection can be resumed from.
|
SessionId |
ClientSessionCache.getSessionIdentity(InetSocketAddress peer)
Gets a session identity from the cache.
|
| Modifier and Type | Method and Description |
|---|---|
Connection |
ResumptionSupportingConnectionStore.find(SessionId id)
Finds a connection by its session ID.
|
Connection |
InMemoryConnectionStore.find(SessionId id) |
SessionTicket |
SessionCache.get(SessionId id)
Gets a session from the cache.
|
void |
SessionCache.remove(SessionId id)
Removes a session from the cache.
|
| Constructor and Description |
|---|
Connection(SessionTicket sessionTicket,
SessionId sessionId,
InetSocketAddress peerAddress)
Creates a new connection from a session ticket containing current state from another
connection that should be resumed.
|
DTLSSession(SessionId id,
InetSocketAddress peerAddress,
SessionTicket ticket,
long initialSequenceNo)
Creates a new session based on a given set of crypto params of another session
that is to be resumed.
|
ServerHello(ProtocolVersion version,
Random random,
SessionId sessionId,
CipherSuite cipherSuite,
CompressionMethod compressionMethod,
HelloExtensions extensions,
InetSocketAddress peerAddress)
Constructs a full ServerHello message.
|
Copyright © 2023 Eclipse Foundation. All rights reserved.