org.apache.ws.security.str
Enum STRParser.REFERENCE_TYPE

java.lang.Object
  extended by java.lang.Enum<STRParser.REFERENCE_TYPE>
      extended by 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.


Enum Constant Summary
DIRECT_REF
           
ISSUER_SERIAL
           
KEY_IDENTIFIER
           
THUMBPRINT_SHA1
           
 
Method Summary
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're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

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 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–2015 The Apache Software Foundation. All rights reserved.