|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Defines the common constants for the alert protocol.
It is important to note that any of the defined integers in the RFCs for WTLS or TLS or SSL are used here. That is, if you want a NO_CERTIFICATE alert description it is 41 as defined in the WTLS specification. The same also applies to the alert levels.
| Field Summary | ||
|
static byte |
ACCESS_DENIED
Indicates that a valid certificate was received, but when access control was applied, the sender decided not to proceed with negotiation. |
|
static byte |
BAD_CERTIFICATE
Indicates that a certificate was corrupt, contained signatures that did not verify correctly, etc. |
|
static byte |
BAD_RECORD_MAC
This alert is returned if a record is received with an incorrect Message Authentication Code (MAC). |
|
static byte |
CERTIFICATE_EXPIRED
Indicates that a certificate has expired or is not currently valid. |
|
static byte |
CERTIFICATE_REVOKED
Indicates that a certificate was revoked by its signer. |
|
static byte |
CERTIFICATE_UNKNOWN
Indicates that another (unspecified) issue arose in processing the certificate, rendering it unacceptable. |
|
static byte |
CLOSE_NOTIFY
Notifies the recipient that the sender will not send any more messages using this connection state. |
|
static byte |
CRITICAL
Represents a CRITICAL error. |
|
static byte |
DECODE_ERROR
Indicates that a message could not be decoded because some field was out of the specified range or the length of the message was incorrect. |
|
static byte |
DECOMPRESSION_FAILURE
Indicates that decompression function received improper input (e.g. data that would expand to excessive length). |
|
static byte |
DECRYPT_ERROR
Indicates that a handshake cryptographic operation failed, including being unable to correctly verify a signature, decrypt a key exchange, or validate a finished message. |
|
static byte |
DECRYPTION_FAILED
A WTLSCiphertext decrypted in an invalid way: either it wasn`t an
even multiple of the block length or its padding values, when
checked, weren`t correct. |
|
static byte |
DISABLED_KEY_ID
Indicates that all the client_key_id's listed in ClientHello.client_key_ids are disabled administratively. |
|
static byte |
DUPLICATE_FINISHED_RECEIVED
Indicates that an abbreviated or optimised handshake, the client has sent a second (resent) finished message. |
|
static byte |
EXPORT_RESTRICTION
Indicates that a negotiation not in compliance with export restrictions was detected; for example, attempting to transfer a 1024 bit ephemeral RSA key for the RSA_EXPORT handshake method. |
|
static byte |
FATAL
Represents a FATAL error. |
|
static byte |
HANDSHAKE_FAILURE
Indicates that the sender was unable to negotiate an acceptable set of security parameters given the options available. |
|
static byte |
ILLEGAL_PARAMETER
Indicates that a field in the handshake was out of range or inconsistent with other fields. |
|
static byte |
INSUFFICIENT_SECURITY
Returned instead of handshake_failure when a negotiation has failed specifically because the server requires ciphers more secure than those supported by the client. |
|
static byte |
INTERNAL_ERROR
Indicates that an internal error unrelated to the peer or the correctness of the protocol makes it impossible to continue (such as a memory allocation failure). |
|
static byte |
KEY_EXCHANGE_DISABLED
To protect the outcome of the anonymous key exchange from being overriding by the undesirable subsequent anonymous key exchanges, key exchange is administratively disabled. |
|
static byte |
NO_CERTIFICATE
Indicates that the certificate could not be found. |
|
static byte |
NO_CONNECTION
indicates that a message was received while there is no secure connection with the sender. |
|
static byte |
NO_RENEGOTIATION
Sent by the client in response to a hello request or by the server in response to a client hello after initial handshaking. |
|
static byte |
PROTOCOL_VERSION
Indicates that the protocol version the client has attempted to negotiate is recognized, but not supported. |
|
static byte |
RECORD_OVERFLOW
Indicates that a WTLSCiphertext record was received which had a length more than
2^14+2048 bytes, or a record decrypted to a WTLSCompressed record
with more than 2^14+1024 bytes. |
|
static byte |
SESSION_CLOSE_NOTIFY
Notifies the recipient that the sender will not send any more messages using this connection state or the secure session. |
|
static byte |
SESSION_NOT_READY
Indicates that the secure session is not ready to resume new secure connections due to administrative reasons such as that the session is temporarily not available due to maintenance in the server. |
|
static byte |
TIME_REQUIRED
This alert is a warning sent by the server, to inform the client that more time is required for a certain handshake operation, than would be expected for the client retransmission timer. |
|
static byte |
UNEXPECTED_MESSAGE
Represents an inappropriate message. |
|
static byte |
UNKNOWN_CA
Indicates that a valid certificate chain or partial chain was received, but the certificate was not accepted because the CA certificate could not be located or couldn`t be matched with a known, trusted CA. |
|
static byte |
UNKNOWN_KEY_ID
Indicates that none of the client key_id's listed in ClientHello.client_key_ids is known or recognized to the server, or the client did not supply any items, if the server has the policy that requires recognition of client_key_id's. |
|
static byte |
UNKNOWN_PARAMETER_INDEX
Indicates that the client has suggested a key exchange suite that could be supported by the server, but the server does not know the key exchange parameter index supplied. |
|
static byte |
UNSUPPORTED_CERTIFICATE
Indicates that a certificate was of an unsupported type. |
|
static byte |
USER_CANCELLED
Indicates that this handshake is being canceled for some reason unrelated to a protocol failure. |
|
static byte |
WARNING
The severity of the alert. |
| Field Detail |
public static final byte ACCESS_DENIED
This message is always fatal.
public static final byte BAD_CERTIFICATE
public static final byte BAD_RECORD_MAC
This message is always fatal.
public static final byte CERTIFICATE_EXPIRED
public static final byte CERTIFICATE_REVOKED
public static final byte CERTIFICATE_UNKNOWN
public static final byte CLOSE_NOTIFY
public static final byte CRITICAL
public static final byte DECODE_ERROR
This message is always fatal.
public static final byte DECOMPRESSION_FAILURE
This message is always fatal( in SSL and TLS). This message is generally a warning in WTLS and is sent in the cleartext for that protocol.
public static final byte DECRYPT_ERROR
public static final byte DECRYPTION_FAILED
WTLSCiphertext decrypted in an invalid way: either it wasn`t an
even multiple of the block length or its padding values, when
checked, weren`t correct. This message is generally a warning.
The message is sent in cleartext.
public static final byte DISABLED_KEY_ID
This is generally a critical alert.
public static final byte DUPLICATE_FINISHED_RECEIVED
This message is generally a warning.
public static final byte EXPORT_RESTRICTION
This message is always fatal.
public static final byte FATAL
public static final byte HANDSHAKE_FAILURE
This is a fatal error.
public static final byte ILLEGAL_PARAMETER
This is always fatal.
public static final byte INSUFFICIENT_SECURITY
This message is always fatal.
public static final byte INTERNAL_ERROR
This message is always fatal.[WTLS2] or critical.
public static final byte KEY_EXCHANGE_DISABLED
public static final byte NO_CERTIFICATE
public static final byte NO_CONNECTION
public static final byte NO_RENEGOTIATION
public static final byte PROTOCOL_VERSION
This message is always fatal.
public static final byte RECORD_OVERFLOW
WTLSCiphertext record was received which had a length more than
2^14+2048 bytes, or a record decrypted to a WTLSCompressed record
with more than 2^14+1024 bytes. This message is generally a warning.
The message is sent in cleartext.
public static final byte SESSION_CLOSE_NOTIFY
public static final byte SESSION_NOT_READY
This is generally a critical alert.
public static final byte TIME_REQUIRED
When receiving this alert, the client should clear its retransmission timer.
public static final byte UNEXPECTED_MESSAGE
This alert is always fatal and should never be observed in communication between proper implementations.
public static final byte UNKNOWN_CA
This message is always fatal.
public static final byte UNKNOWN_KEY_ID
public static final byte UNKNOWN_PARAMETER_INDEX
public static final byte UNSUPPORTED_CERTIFICATE
public static final byte USER_CANCELLED
This message is generally a warning.
public static final byte WARNING
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2008 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.