Package org.apache.wss4j.dom.str
Enum STRParser.REFERENCE_TYPE
- java.lang.Object
-
- java.lang.Enum<STRParser.REFERENCE_TYPE>
-
- org.apache.wss4j.dom.str.STRParser.REFERENCE_TYPE
-
- All Implemented Interfaces:
Serializable
,Comparable<STRParser.REFERENCE_TYPE>
- Enclosing interface:
- STRParser
public static enum STRParser.REFERENCE_TYPE extends Enum<STRParser.REFERENCE_TYPE>
ISSUER_SERIAL - A certificate (chain) is located by the issuer name and serial number of the (root) cert THUMBPRINT_SHA1 - A certificate (chain) is located by the SHA1 thumbprint of the (root) cert KEY_IDENTIFIER - A certificate (chain) is located via a Key Identifier Element DIRECT_REF - A certificate (chain) is located directly via an Id to another security token Note that a Thumbprint reference is also a KeyIdentifier, but takes precedence over it.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIRECT_REF
ISSUER_SERIAL
KEY_IDENTIFIER
THUMBPRINT_SHA1
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static STRParser.REFERENCE_TYPE
valueOf(String name)
Returns the enum constant of this type with the specified name.static STRParser.REFERENCE_TYPE[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ISSUER_SERIAL
public static final STRParser.REFERENCE_TYPE ISSUER_SERIAL
-
THUMBPRINT_SHA1
public static final STRParser.REFERENCE_TYPE THUMBPRINT_SHA1
-
KEY_IDENTIFIER
public static final STRParser.REFERENCE_TYPE KEY_IDENTIFIER
-
DIRECT_REF
public static final STRParser.REFERENCE_TYPE DIRECT_REF
-
-
Method Detail
-
values
public static STRParser.REFERENCE_TYPE[] 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 (STRParser.REFERENCE_TYPE c : STRParser.REFERENCE_TYPE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static STRParser.REFERENCE_TYPE 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 nameNullPointerException
- if the argument is null
-
-