org.apache.ws.security.str
Enum STRParser.REFERENCE_TYPE
java.lang.Object
java.lang.Enum<STRParser.REFERENCE_TYPE>
org.apache.ws.security.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.
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
values
public static final STRParser.REFERENCE_TYPE[] values()
- Returns an array containing the constants of this enum type, in
the order they're 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're 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 name
Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.