Package org.mozilla.jss.ssl
Enum SSLAlertDescription
- java.lang.Object
-
- java.lang.Enum<SSLAlertDescription>
-
- org.mozilla.jss.ssl.SSLAlertDescription
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SSLAlertDescription>
public enum SSLAlertDescription extends java.lang.Enum<SSLAlertDescription>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<? extends javax.net.ssl.SSLException>
getExceptionClass()
int
getID()
static SSLAlertDescription
valueOf(int id)
Returns the enum constant of this type with the specified name.static SSLAlertDescription
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SSLAlertDescription[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLOSE_NOTIFY
public static final SSLAlertDescription CLOSE_NOTIFY
-
END_OF_EARLY_DATA
public static final SSLAlertDescription END_OF_EARLY_DATA
-
UNEXPECTED_MESSAGE
public static final SSLAlertDescription UNEXPECTED_MESSAGE
-
BAD_RECORD_MAC
public static final SSLAlertDescription BAD_RECORD_MAC
-
DECRYPTION_FAILED
public static final SSLAlertDescription DECRYPTION_FAILED
-
RECORD_OVERFLOW
public static final SSLAlertDescription RECORD_OVERFLOW
-
DECOMPRESSION_FAILURE
public static final SSLAlertDescription DECOMPRESSION_FAILURE
-
HANDSHAKE_FAILURE
public static final SSLAlertDescription HANDSHAKE_FAILURE
-
NO_CERTIFICATE
public static final SSLAlertDescription NO_CERTIFICATE
-
BAD_CERTIFICATE
public static final SSLAlertDescription BAD_CERTIFICATE
-
UNSUPPORTED_CERTIFICATE
public static final SSLAlertDescription UNSUPPORTED_CERTIFICATE
-
CERTIFICATE_REVOKED
public static final SSLAlertDescription CERTIFICATE_REVOKED
-
CERTIFICATE_EXPIRED
public static final SSLAlertDescription CERTIFICATE_EXPIRED
-
CERTIFICATE_UNKNOWN
public static final SSLAlertDescription CERTIFICATE_UNKNOWN
-
ILLEGAL_PARAMETER
public static final SSLAlertDescription ILLEGAL_PARAMETER
-
UNKNOWN_CA
public static final SSLAlertDescription UNKNOWN_CA
-
ACCESS_DENIED
public static final SSLAlertDescription ACCESS_DENIED
-
DECODE_ERROR
public static final SSLAlertDescription DECODE_ERROR
-
DECRYPT_ERROR
public static final SSLAlertDescription DECRYPT_ERROR
-
EXPORT_RESTRICTION
public static final SSLAlertDescription EXPORT_RESTRICTION
-
PROTOCOL_VERSION
public static final SSLAlertDescription PROTOCOL_VERSION
-
INSUFFICIENT_SECURITY
public static final SSLAlertDescription INSUFFICIENT_SECURITY
-
INTERNAL_ERROR
public static final SSLAlertDescription INTERNAL_ERROR
-
INAPPROPRIATE_FALLBACK
public static final SSLAlertDescription INAPPROPRIATE_FALLBACK
-
USER_CANCELED
public static final SSLAlertDescription USER_CANCELED
-
NO_RENEGOTIATION
public static final SSLAlertDescription NO_RENEGOTIATION
-
MISSING_EXTENSION
public static final SSLAlertDescription MISSING_EXTENSION
-
UNSUPPORTED_EXTENSION
public static final SSLAlertDescription UNSUPPORTED_EXTENSION
-
CERTIFICATE_UNOBTAINABLE
public static final SSLAlertDescription CERTIFICATE_UNOBTAINABLE
-
UNRECOGNIZED_NAME
public static final SSLAlertDescription UNRECOGNIZED_NAME
-
BAD_CERTIFICATE_STATUS_RESPONSE
public static final SSLAlertDescription BAD_CERTIFICATE_STATUS_RESPONSE
-
BAD_CERTIFICATE_HASH_VALUE
public static final SSLAlertDescription BAD_CERTIFICATE_HASH_VALUE
-
NO_APPLICATION_PROTOCOL
public static final SSLAlertDescription NO_APPLICATION_PROTOCOL
-
-
Method Detail
-
values
public static SSLAlertDescription[] 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 (SSLAlertDescription c : SSLAlertDescription.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SSLAlertDescription 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
-
getID
public int getID()
-
getExceptionClass
public java.lang.Class<? extends javax.net.ssl.SSLException> getExceptionClass()
-
valueOf
public static SSLAlertDescription valueOf(int id)
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:
id
- 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
-
-