- java.lang.Object
-
- java.lang.Enum<TlsConstants.HandshakeType>
-
- net.luminis.tls.TlsConstants.HandshakeType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TlsConstants.HandshakeType>
- Enclosing class:
- TlsConstants
public static enum TlsConstants.HandshakeType extends java.lang.Enum<TlsConstants.HandshakeType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description certificatecertificate_requestcertificate_verifyclient_helloencrypted_extensionsend_of_early_datafinishedkey_updatemessage_hashnew_session_ticketserver_hello
-
Field Summary
Fields Modifier and Type Field Description bytevalue
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TlsConstants.HandshakeTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TlsConstants.HandshakeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
client_hello
public static final TlsConstants.HandshakeType client_hello
-
server_hello
public static final TlsConstants.HandshakeType server_hello
-
new_session_ticket
public static final TlsConstants.HandshakeType new_session_ticket
-
end_of_early_data
public static final TlsConstants.HandshakeType end_of_early_data
-
encrypted_extensions
public static final TlsConstants.HandshakeType encrypted_extensions
-
certificate
public static final TlsConstants.HandshakeType certificate
-
certificate_request
public static final TlsConstants.HandshakeType certificate_request
-
certificate_verify
public static final TlsConstants.HandshakeType certificate_verify
-
finished
public static final TlsConstants.HandshakeType finished
-
key_update
public static final TlsConstants.HandshakeType key_update
-
message_hash
public static final TlsConstants.HandshakeType message_hash
-
-
Method Detail
-
values
public static TlsConstants.HandshakeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TlsConstants.HandshakeType c : TlsConstants.HandshakeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TlsConstants.HandshakeType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-