iaik.xkms
Enum KeyInfoType

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

public enum KeyInfoType
extends Enum<KeyInfoType>

KeyInfo content object types constant definitions.


Enum Constant Summary
INVALID
          Mismatch, unknown content or error.
KeyName
          String key identifier.
KeyValue
          Single public key.
RetrievalMethod
          Reference to KeyInfo information.
X509Certificate
          X509v3 certificate.
X509CRL
          X509 certificate revocation list.
X509Data
          An X509Data element contains one or more identifiers of keys or X509 certificates, certificates' identifiers or a revocation list.
X509IssuerSerial
          X509 issuer distinguished name/serial number pair.
X509SKI
          Plain value of a X509v3 SubjectKeyIdentifier extension.
X509SubjectName
          X509 subject distinguished name.
 
Method Summary
static KeyInfoType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static KeyInfoType[] 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, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INVALID

public static final KeyInfoType INVALID
Mismatch, unknown content or error.


KeyName

public static final KeyInfoType KeyName
String key identifier.


KeyValue

public static final KeyInfoType KeyValue
Single public key.


RetrievalMethod

public static final KeyInfoType RetrievalMethod
Reference to KeyInfo information.


X509Data

public static final KeyInfoType X509Data
An X509Data element contains one or more identifiers of keys or X509 certificates, certificates' identifiers or a revocation list.


X509IssuerSerial

public static final KeyInfoType X509IssuerSerial
X509 issuer distinguished name/serial number pair.


X509SKI

public static final KeyInfoType X509SKI
Plain value of a X509v3 SubjectKeyIdentifier extension.


X509SubjectName

public static final KeyInfoType X509SubjectName
X509 subject distinguished name.


X509Certificate

public static final KeyInfoType X509Certificate
X509v3 certificate.


X509CRL

public static final KeyInfoType X509CRL
X509 certificate revocation list.

Method Detail

values

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

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

valueOf

public static KeyInfoType 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