public static enum ResponderId.Type extends java.lang.Enum<ResponderId.Type>
ResponderId enumeration describing the accepted forms for a
ResponderId.ResponderId| Enum Constant and Description |
|---|
BY_KEY
A BY_KEY
ResponderId will be built from a public key
identifier, either derived from a PublicKey or directly
from a DER-encoded byte array containing the key identifier. |
BY_NAME
A BY_NAME
ResponderId will be built from a subject name,
either as an X500Principal or a DER-encoded byte array. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
int |
value() |
static ResponderId.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResponderId.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponderId.Type BY_NAME
ResponderId will be built from a subject name,
either as an X500Principal or a DER-encoded byte array.public static final ResponderId.Type BY_KEY
ResponderId will be built from a public key
identifier, either derived from a PublicKey or directly
from a DER-encoded byte array containing the key identifier.public static ResponderId.Type[] values()
for (ResponderId.Type c : ResponderId.Type.values()) System.out.println(c);
public static ResponderId.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int value()
public java.lang.String toString()
toString in class java.lang.Enum<ResponderId.Type>