public static enum TlsActivityHelper.TlsContentType extends Enum<TlsActivityHelper.TlsContentType>
| Enum Constant and Description |
|---|
ALERT |
APPLICATION |
CHANGE_CIPHER_SPEC |
HANDSHAKE |
HANDSHAKE_STATE_CLIENT_HELLO |
HANDSHAKE_STATE_SERVER_HELLO |
SSL_HANDSHAKE |
SSL_HANDSHAKE_STATE_CLIENT_HELLO |
SSL_HANDSHAKE_STATE_SERVER_HELLO |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(org.jnetpcap.protocol.tcpip.Tcp tcp,
TlsActivityHelper.TlsRecord record)
Returns true if the payload of tcp contains this flag in its TlsRecord record.
|
static TlsActivityHelper.TlsContentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TlsActivityHelper.TlsContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TlsActivityHelper.TlsContentType CHANGE_CIPHER_SPEC
public static final TlsActivityHelper.TlsContentType ALERT
public static final TlsActivityHelper.TlsContentType HANDSHAKE
public static final TlsActivityHelper.TlsContentType APPLICATION
public static final TlsActivityHelper.TlsContentType HANDSHAKE_STATE_CLIENT_HELLO
public static final TlsActivityHelper.TlsContentType HANDSHAKE_STATE_SERVER_HELLO
public static final TlsActivityHelper.TlsContentType SSL_HANDSHAKE
public static final TlsActivityHelper.TlsContentType SSL_HANDSHAKE_STATE_CLIENT_HELLO
public static final TlsActivityHelper.TlsContentType SSL_HANDSHAKE_STATE_SERVER_HELLO
public static TlsActivityHelper.TlsContentType[] values()
for (TlsActivityHelper.TlsContentType c : TlsActivityHelper.TlsContentType.values()) System.out.println(c);
public static TlsActivityHelper.TlsContentType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean matches(org.jnetpcap.protocol.tcpip.Tcp tcp,
TlsActivityHelper.TlsRecord record)
tcp - the the JNetPcap TCP representation containing a payload.record - the TLSRecord of interestCopyright © 2013–2015 Institute of networks and security. All rights reserved.