Enum 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.
    • 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 name
        NullPointerException - if the argument is null