public class TlsActivityHelper extends Object
TcpActivity payloads.
These methods are basically unverified and marginally tested - therefore false positives/negatives may be
possible.| Modifier and Type | Class and Description |
|---|---|
static class |
TlsActivityHelper.TlsContentType
Enumeration of possible SSL/TLS content types including flag values.
|
static class |
TlsActivityHelper.TlsRecord
Enumeration of possible SSL/TLS records including byte offset into the payload and length values.
|
| Constructor and Description |
|---|
TlsActivityHelper() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isApplication(org.jnetpcap.protocol.tcpip.Tcp tcp)
Returns true if the TCP payload contains an "Application" control message.
|
static boolean |
isChangeCipherSpec(org.jnetpcap.protocol.tcpip.Tcp tcp)
Returns true if the TCP payload contains a "ChangeCipherSpec" control message.
|
static boolean |
isClientHello(org.jnetpcap.protocol.tcpip.Tcp tcp)
Returns true if the TCP payload contains a "Client Hello" control message.
|
static boolean |
isServerHello(org.jnetpcap.protocol.tcpip.Tcp tcp)
Returns true if the TCP payload contains a "Server Hello" control message.
|
static boolean |
isTlsHandshake(org.jnetpcap.protocol.tcpip.Tcp tcp)
Returns true if the TCP payload contains a "Handshake" control flag.
|
public static boolean isTlsHandshake(org.jnetpcap.protocol.tcpip.Tcp tcp)
tcp - the JNetPcap TCP representation containing a payload.public static boolean isClientHello(org.jnetpcap.protocol.tcpip.Tcp tcp)
tcp - the JNetPcap TCP representation containing a payload.public static boolean isServerHello(org.jnetpcap.protocol.tcpip.Tcp tcp)
tcp - the JNetPcap TCP representation containing a payload.public static boolean isChangeCipherSpec(org.jnetpcap.protocol.tcpip.Tcp tcp)
tcp - the JNetPcap TCP representation containing a payload.public static boolean isApplication(org.jnetpcap.protocol.tcpip.Tcp tcp)
tcp - the JNetPcap TCP representation containing a payload.Copyright © 2013–2015 Institute of networks and security. All rights reserved.