public enum HandshakeType extends Enum<HandshakeType>
| Enum Constant and Description |
|---|
CERTIFICATE |
CERTIFICATE_REQUEST |
CERTIFICATE_VERIFY |
CLIENT_HELLO |
CLIENT_KEY_EXCHANGE |
FINISHED |
HELLO_REQUEST |
HELLO_VERIFY_REQUEST |
SERVER_HELLO |
SERVER_HELLO_DONE |
SERVER_KEY_EXCHANGE |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
static HandshakeType |
getTypeByCode(int code) |
String |
toString() |
static HandshakeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HandshakeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HandshakeType HELLO_REQUEST
public static final HandshakeType CLIENT_HELLO
public static final HandshakeType SERVER_HELLO
public static final HandshakeType HELLO_VERIFY_REQUEST
public static final HandshakeType CERTIFICATE
public static final HandshakeType SERVER_KEY_EXCHANGE
public static final HandshakeType CERTIFICATE_REQUEST
public static final HandshakeType SERVER_HELLO_DONE
public static final HandshakeType CERTIFICATE_VERIFY
public static final HandshakeType CLIENT_KEY_EXCHANGE
public static final HandshakeType FINISHED
public static HandshakeType[] values()
for (HandshakeType c : HandshakeType.values()) System.out.println(c);
public static HandshakeType 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 int getCode()
public static HandshakeType getTypeByCode(int code)
public String toString()
toString in class Enum<HandshakeType>Copyright © 2023 Eclipse Foundation. All rights reserved.