| Package | Description |
|---|---|
| org.eclipse.californium.scandium | |
| org.eclipse.californium.scandium.dtls | |
| org.eclipse.californium.scandium.dtls.x509 |
| Modifier and Type | Method and Description |
|---|---|
DTLSSession |
DTLSConnector.getSessionByAddress(InetSocketAddress address)
Returns the
DTLSSession related to the given peer address. |
| Modifier and Type | Field and Description |
|---|---|
protected DTLSSession |
Handshaker.session |
| Modifier and Type | Method and Description |
|---|---|
DTLSSession |
Connection.getEstablishedSession()
Gets the already established DTLS session that exists with this connection's peer.
|
DTLSSession |
Handshaker.getSession()
Gets the session this handshaker is used to establish.
|
DTLSSession |
Connection.getSession()
Gets the session containing the connection's current state.
|
DTLSSession |
Connection.getSession(int readEpoch)
Gets the session containing the connection's current state for
the provided epoch.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Record.applySession(DTLSSession session)
Apply session for incoming records and decrypt fragment.
|
void |
SessionCache.put(DTLSSession session)
Adds an established session to the cache.
|
void |
ResumptionSupportingConnectionStore.putEstablishedSession(DTLSSession session,
Connection connection)
Associates the connection with the session id.
|
void |
InMemoryConnectionStore.putEstablishedSession(DTLSSession session,
Connection connection) |
void |
ResumptionSupportingConnectionStore.removeFromEstablishedSessions(DTLSSession session,
Connection connection)
Remove the association of the connection with the session id.
|
void |
InMemoryConnectionStore.removeFromEstablishedSessions(DTLSSession session,
Connection connection) |
void |
SessionListener.sessionEstablished(Handshaker handshaker,
DTLSSession establishedSession)
Indicates that a session has successfully been established.
|
void |
SessionAdapter.sessionEstablished(Handshaker handshaker,
DTLSSession establishedSession) |
| Constructor and Description |
|---|
ClientHandshaker(DTLSSession session,
RecordLayer recordLayer,
ScheduledExecutorService timer,
Connection connection,
DtlsConnectorConfig config,
boolean probe)
Creates a new handshaker for negotiating a DTLS session with a server.
|
ClientHello(ProtocolVersion version,
DTLSSession session,
List<SignatureAndHashAlgorithm> supportedSignatureAndHashAlgorithms,
List<CertificateType> supportedClientCertificateTypes,
List<CertificateType> supportedServerCertificateTypes,
List<XECDHECryptography.SupportedGroup> supportedGroups)
Creates a Client Hello message to be used for resuming an
existing DTLS session.
|
DTLSFlight(DTLSSession session,
int flightNumber)
Creates an empty flight to be sent within a session with a peer.
|
Handshaker(boolean isClient,
int initialMessageSeq,
DTLSSession session,
RecordLayer recordLayer,
ScheduledExecutorService timer,
Connection connection,
DtlsConnectorConfig config)
Creates a new handshaker for negotiating a DTLS session with a given
peer.
|
Record(ContentType type,
int epoch,
long sequenceNumber,
DTLSMessage fragment,
DTLSSession session,
boolean cid,
int pad)
Creates an outbound record containing a
DTLSMessage as its
payload. |
ResumingClientHandshaker(DTLSSession session,
RecordLayer recordLayer,
ScheduledExecutorService timer,
Connection connection,
DtlsConnectorConfig config,
boolean probe)
Creates a new handshaker for resuming an existing session with a server.
|
ResumingServerHandshaker(int sequenceNumber,
DTLSSession session,
RecordLayer recordLayer,
ScheduledExecutorService timer,
Connection connection,
DtlsConnectorConfig config)
Creates a new handshaker for resuming an existing session with a client.
|
ServerHandshaker(int initialMessageSequenceNo,
DTLSSession session,
RecordLayer recordLayer,
ScheduledExecutorService timer,
Connection connection,
DtlsConnectorConfig config)
Creates a handshaker for negotiating a DTLS session with a client
following the full DTLS handshake protocol.
|
| Modifier and Type | Method and Description |
|---|---|
CertPath |
StaticCertificateVerifier.verifyCertificate(Boolean clientUsage,
boolean truncateCertificatePath,
CertificateMessage message,
DTLSSession session)
Deprecated.
|
CertPath |
AdvancedCertificateVerifier.verifyCertificate(Boolean clientUsage,
boolean truncateCertificatePath,
CertificateMessage message,
DTLSSession session)
Deprecated.
Validates the X.509 certificate chain provided by the the peer as part of
this message.
|
void |
StaticCertificateVerifier.verifyCertificate(CertificateMessage message,
DTLSSession session)
Deprecated.
Validates the X.509 certificate chain provided by the the peer as part of
this message.
|
void |
CertificateVerifier.verifyCertificate(CertificateMessage message,
DTLSSession session)
Deprecated.
Validates the X.509 certificate chain provided by the the peer as part of
this message.
|
CertificateVerificationResult |
StaticNewAdvancedCertificateVerifier.verifyCertificate(ConnectionId cid,
ServerNames serverName,
Boolean clientUsage,
boolean truncateCertificatePath,
CertificateMessage message,
DTLSSession session) |
CertificateVerificationResult |
NewAdvancedCertificateVerifier.verifyCertificate(ConnectionId cid,
ServerNames serverName,
Boolean clientUsage,
boolean truncateCertificatePath,
CertificateMessage message,
DTLSSession session)
Validates the X.509 certificate chain provided by the the peer as part of
the certificate message.
|
CertificateVerificationResult |
BridgeCertificateVerifier.verifyCertificate(ConnectionId cid,
ServerNames serverName,
Boolean clientUsage,
boolean truncateCertificatePath,
CertificateMessage message,
DTLSSession session) |
CertificateVerificationResult |
AsyncNewAdvancedCertificateVerifier.verifyCertificate(ConnectionId cid,
ServerNames serverName,
Boolean clientUsage,
boolean truncateCertificatePath,
CertificateMessage message,
DTLSSession session) |
Copyright © 2023 Eclipse Foundation. All rights reserved.