public final class ChangeCipherSpecMessage extends AbstractMessage
| Modifier and Type | Class and Description |
|---|---|
static class |
ChangeCipherSpecMessage.CCSType
See RFC 5246
for specification.
|
| Constructor and Description |
|---|
ChangeCipherSpecMessage(InetSocketAddress peerAddress) |
| Modifier and Type | Method and Description |
|---|---|
static DTLSMessage |
fromByteArray(byte[] byteArray,
InetSocketAddress peerAddress) |
ChangeCipherSpecMessage.CCSType |
getCCSProtocolType() |
ContentType |
getContentType()
Gets the message's content type.
|
int |
size()
Gets the number of bytes representing this message as defined
by TLS 1.2, Appendix A.
|
byte[] |
toByteArray()
Gets the byte array representation of this message as defined
by TLS 1.2, Appendix A.
|
String |
toString() |
getPeerpublic ChangeCipherSpecMessage(InetSocketAddress peerAddress)
public ContentType getContentType()
DTLSMessagepublic ChangeCipherSpecMessage.CCSType getCCSProtocolType()
public int size()
DTLSMessagepublic byte[] toByteArray()
DTLSMessagepublic static DTLSMessage fromByteArray(byte[] byteArray, InetSocketAddress peerAddress) throws HandshakeException
HandshakeExceptionCopyright © 2023 Eclipse Foundation. All rights reserved.