iaik.xkms
Enum ValidityReason

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

public enum ValidityReason
extends Enum<ValidityReason>

Validity reasons in a KeyBinding status.


Enum Constant Summary
ISSUER_TRUST
          The issuer of the information on which the key binding is based is considered to be trustworthy by the XKMS service.
REVOCATION_STATUS
          The XKMS service has affirmatively verified the status of the key binding with an authoritative source.
SIGNATURE
          Signature on signed data provided by the client in the KeyInfo element was successfully verified.
VALIDITY_INTERVAL
          The requested time instant was within the validity interval of the key binding.
 
Method Summary
 String toString()
          returns the String representation of this enum constant, including the namespace.
static ValidityReason valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ValidityReason[] 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

ISSUER_TRUST

public static final ValidityReason ISSUER_TRUST
The issuer of the information on which the key binding is based is considered to be trustworthy by the XKMS service.

X.509 Equivalent:
(Valid) Certificate path anchored by trusted root successfully constructed.
(Invalid) Certificate path could not be constructed to a trusted root.


REVOCATION_STATUS

public static final ValidityReason REVOCATION_STATUS
The XKMS service has affirmatively verified the status of the key binding with an authoritative source.

X.509 Equivalent:
(Valid) Certificate status validated using CRL or OCSP.
(Invalid) Certificate status returned revoked or suspended.


VALIDITY_INTERVAL

public static final ValidityReason VALIDITY_INTERVAL
The requested time instant was within the validity interval of the key binding.

X.509 Equivalent:
(Valid) The certificate chain was valid at the requested time instant.
(Invalid) The requested time instant was before or after the certificate chain validity interval.


SIGNATURE

public static final ValidityReason SIGNATURE
Signature on signed data provided by the client in the KeyInfo element was successfully verified.

X.509 Equivalent:
(Valid) Certificate Signature verified.
(Invalid) Certificate Signature verification failed.

Method Detail

values

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

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

valueOf

public static ValidityReason 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<ValidityReason>
Returns:
the String representation including the namespace.