public final class PSKClientKeyExchange extends ClientKeyExchange
FRAGMENT_LENGTH_BITS, FRAGMENT_OFFSET_BITS, MESSAGE_HEADER_LENGTH_BYTES, MESSAGE_LENGTH_BITS, MESSAGE_SEQ_BITS, MESSAGE_TYPE_BITS| Constructor and Description |
|---|
PSKClientKeyExchange(PskPublicInformation identity,
InetSocketAddress peerAddress) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
fragmentToByteArray()
The serialization of the handshake body (without the handshake header).
|
static HandshakeMessage |
fromReader(org.eclipse.californium.elements.util.DatagramReader reader,
InetSocketAddress peerAddress) |
PskPublicInformation |
getIdentity() |
int |
getMessageLength()
Must be implemented by each subclass.
|
String |
toString() |
getMessageTypefragmentChanged, fromByteArray, fromGenericHandshakeMessage, getContentType, getFragmentLength, getFragmentOffset, getMessageSeq, getNextHandshakeMessage, getRawMessage, setMessageSeq, setNextHandshakeMessage, size, toByteArray, writeTogetPeerpublic PSKClientKeyExchange(PskPublicInformation identity, InetSocketAddress peerAddress)
public int getMessageLength()
HandshakeMessagegetMessageLength in class HandshakeMessagepublic String toString()
toString in class HandshakeMessagepublic byte[] fragmentToByteArray()
HandshakeMessageClientHello, the
fragments are considered to be not modified. If a modification is required,
call HandshakeMessage.fragmentChanged().fragmentToByteArray in class HandshakeMessagepublic static HandshakeMessage fromReader(org.eclipse.californium.elements.util.DatagramReader reader, InetSocketAddress peerAddress)
public PskPublicInformation getIdentity()
Copyright © 2023 Eclipse Foundation. All rights reserved.