iaik.xkms
Enum ResultMinor

Object
  extended by Enum<ResultMinor>
      extended by ResultMinor
All Implemented Interfaces:
Serializable, Comparable<ResultMinor>

public enum ResultMinor
extends Enum<ResultMinor>

ResultMinor codes.


Enum Constant Summary
FAILURE
          (generic) The service attempted to perform the request but the operation failed for unspecified reasons.
INCOMPLETE
          (Major_Success) Only part of the information requested could be provided.
MESSAGE_NOT_SUPPORTED
          (Major_Sender) The receiver does not implement the specified operation.
NO_AUTHENTICATION
          (Major_Sender) The operation was refused because the necessary authentication information was incorrect or missing.
NO_MATCH
          (generic) No match was found for the search prototype provided.
NOT_SYNCHRONOUS
          (Major_Receiver) The receiver does not support synchronous processing of this type of request.
OPTIONAL_ELEMENT_NOT_SUPPORTED
          (Major_Receiver) The receiver has refused the operation because it does not support the OPTIONAL Element value present in the request.
PROOF_OF_POSSESION_REQUIRED
          (Major_Sender) The receiver has refused the operation because it requires the sender to include the ProofOfPossession element in the request.
REFUSED
          (generic) The operation was refused.
REPRESENT_REQUIRED
          (Major_Sender) The responder requires that the sender offer the represent protocol option in order to process the request.
TIME_INSTANT_NOT_SUPPORTED
          (Major_Receiver) The receiver has refused the operation because it does not support the TimeInstant element.
TIME_INSTANT_OUT_OF_RANGE
          (Major_Sender) The receiver has refused the operation because the indicated time is outside the range that it responds to.
TOO_MANY_RESPONSES
          (generic) The request resulted in the number of responses that exceeded either the ResponseLimit value specified in the request or some other limit determined by the service.
UNKNOWN_RESPONSE_ID
          (Major_Sender) The ResponseId for which pending status was requested is unknown to the service.
 
Method Summary
 String toString()
          Returns the String representation of this enum constant, including the namespace.
static ResultMinor valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ResultMinor[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NO_MATCH

public static final ResultMinor NO_MATCH
(generic) No match was found for the search prototype provided.

(Major_Success) The result code 'Success.NoMatch' indicates that the service is authoritative for the search prototype specified and that the service positively asserts that no matches exist.

(Major_Receiver) The result code 'Receiver.NoMatch' indicates that the service is not authoritative for the search prototype provided.


TOO_MANY_RESPONSES

public static final ResultMinor TOO_MANY_RESPONSES
(generic) The request resulted in the number of responses that exceeded either the ResponseLimit value specified in the request or some other limit determined by the service. The service MAY either return a subset of the possible responses or none at all.

(Major_Success) The service has returned one or more responses that represent a subset of the possible responses.

(Major_Receiver) The service has returned no responses.


INCOMPLETE

public static final ResultMinor INCOMPLETE
(Major_Success) Only part of the information requested could be provided.


FAILURE

public static final ResultMinor FAILURE
(generic) The service attempted to perform the request but the operation failed for unspecified reasons.

(Major_Sender) The reason for failure is attributed to the sender (e.g., the request failed schema validation).

(Major_Receiver) The reason for failure is attributed to the receiver (e.g., a database lookup failed).


REFUSED

public static final ResultMinor REFUSED
(generic) The operation was refused. The service did not attempt to perform the request.

(Major_Sender) The sender failed to provide sufficient information to authenticate or authorize the request (e.g., payment not supplied).

(Major_Receiver) The receiver is currently refusing certain requests for unspecified reasons.


NO_AUTHENTICATION

public static final ResultMinor NO_AUTHENTICATION
(Major_Sender) The operation was refused because the necessary authentication information was incorrect or missing.


MESSAGE_NOT_SUPPORTED

public static final ResultMinor MESSAGE_NOT_SUPPORTED
(Major_Sender) The receiver does not implement the specified operation.


UNKNOWN_RESPONSE_ID

public static final ResultMinor UNKNOWN_RESPONSE_ID
(Major_Sender) The ResponseId for which pending status was requested is unknown to the service.


REPRESENT_REQUIRED

public static final ResultMinor REPRESENT_REQUIRED
(Major_Sender) The responder requires that the sender offer the represent protocol option in order to process the request.


NOT_SYNCHRONOUS

public static final ResultMinor NOT_SYNCHRONOUS
(Major_Receiver) The receiver does not support synchronous processing of this type of request.


OPTIONAL_ELEMENT_NOT_SUPPORTED

public static final ResultMinor OPTIONAL_ELEMENT_NOT_SUPPORTED
(Major_Receiver) The receiver has refused the operation because it does not support the OPTIONAL Element value present in the request.


PROOF_OF_POSSESION_REQUIRED

public static final ResultMinor PROOF_OF_POSSESION_REQUIRED
(Major_Sender) The receiver has refused the operation because it requires the sender to include the ProofOfPossession element in the request.


TIME_INSTANT_NOT_SUPPORTED

public static final ResultMinor TIME_INSTANT_NOT_SUPPORTED
(Major_Receiver) The receiver has refused the operation because it does not support the TimeInstant element.


TIME_INSTANT_OUT_OF_RANGE

public static final ResultMinor TIME_INSTANT_OUT_OF_RANGE
(Major_Sender) The receiver has refused the operation because the indicated time is outside the range that it responds to.

Method Detail

values

public static ResultMinor[] 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 (ResultMinor c : ResultMinor.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ResultMinor valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

toString

public String toString()
Returns the String representation of this enum constant, including the namespace.

Overrides:
toString in class Enum<ResultMinor>
Returns:
the String representation including the namespace.