| Package | Description |
|---|---|
| org.eclipse.californium.scandium.dtls |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractMessage
An abstract base class for DTLS messages providing support for the peer address.
|
class |
AlertMessage
Alert messages convey the severity of the message (warning or fatal) and a
description of the alert.
|
class |
ApplicationMessage
Application data messages are carried by the record layer and are fragmented,
compressed, and encrypted based on the current connection state.
|
class |
CertificateMessage
The server MUST send a Certificate message whenever the agreed-upon key
exchange method uses certificates for authentication.
|
class |
CertificateRequest
A non-anonymous server can optionally request a certificate from the client,
if appropriate for the selected cipher suite.
|
class |
CertificateVerify
This message is used to provide explicit verification of a client
certificate.
|
class |
ChangeCipherSpecMessage
The change cipher spec protocol exists to signal transitions in ciphering
strategies.
|
class |
ClientHello
When a client first connects to a server, it is required to send the
ClientHello as its first message.
|
class |
ClientKeyExchange
This message is always sent by the client.
|
class |
ECDHClientKeyExchange
ClientKeyExchange message for all ECDH based key exchange methods. |
class |
EcdhEcdsaServerKeyExchange
The server's ephemeral ECDH with ECDSA signatures.
|
class |
EcdhPskClientKeyExchange
ClientKeyExchange message for PSK-ECDH based key exchange methods. |
class |
EcdhPskServerKeyExchange
ServerKeyExchange message for PSK-ECDH based key exchange methods. |
class |
ECDHServerKeyExchange
/**
The server's ephemeral ECDH.
|
class |
Finished
A Finished message is always sent immediately after a
ChangeCipherSpecMessage to verify that the key exchange and
authentication processes were successful. |
class |
FragmentedHandshakeMessage
This class represents a fragmented handshake message.
|
class |
GenericHandshakeMessage
Generic handshake message.
|
class |
HandshakeMessage
Represents a general handshake message and defines the common header.
|
class |
HelloRequest
HelloRequest is a simple notification that the client should begin the
negotiation process anew.
|
class |
HelloVerifyRequest
The server send this request after receiving a
ClientHello message to
prevent Denial-of-Service Attacks. |
class |
MultiHandshakeMessage
Multi handshake messages.
|
class |
PSKClientKeyExchange
When using preshared keys for key agreement, the client indicates which key
to use by including a "PSK identity" in this message.
|
class |
PSKServerKeyExchange
The key exchange message sent when using the preshared key key exchange
algorithm.
|
class |
ReassemblingHandshakeMessage
Reassemble fragmented handshake messages.
|
class |
ServerHello
A TLS handshake message sent by a server in response to a
ClientHello
message received from a client. |
class |
ServerHelloDone
The ServerHelloDone message is sent by the server to indicate the end of the
ServerHello and associated messages. |
class |
ServerKeyExchange
This message will be sent immediately after the server
CertificateMessage (or the ServerHello message, if this is an
anonymous negotiation). |
| Modifier and Type | Method and Description |
|---|---|
static DTLSMessage |
ChangeCipherSpecMessage.fromByteArray(byte[] byteArray,
InetSocketAddress peerAddress) |
static DTLSMessage |
ApplicationMessage.fromByteArray(byte[] byteArray,
InetSocketAddress peerAddress)
Create message from byte array.
|
DTLSMessage |
Record.getFragment()
Gets the object representation of this record's
DTLSPlaintext.fragment.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DTLSFlight.addDtlsMessage(int epoch,
DTLSMessage messageToAdd)
Adds a dtls message to this flight.
|
boolean |
DTLSFlight.contains(DTLSMessage message)
Check, if the provided message is contained in this flight.
|
boolean |
HandshakeState.expect(DTLSMessage message)
Check, if message is expected.
|
protected void |
Handshaker.expectMessage(DTLSMessage message)
Check, if message is expected.
|
static String |
HandshakeState.toString(DTLSMessage message)
Create a message description related to a handshake state.
|
protected void |
Handshaker.wrapMessage(DTLSFlight flight,
DTLSMessage fragment)
Wraps a DTLS message fragment into (potentially multiple) DTLS records
and add them to the flight.
|
| Constructor and Description |
|---|
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. |
Record(ContentType type,
ProtocolVersion version,
long sequenceNumber,
DTLSMessage fragment,
InetSocketAddress peerAddress)
Creates an outbound record representing a
DTLSMessage as its payload. |
Copyright © 2023 Eclipse Foundation. All rights reserved.