Enum Indication

java.lang.Object
java.lang.Enum<Indication>
com.pdftools.signaturevalidation.Indication
All Implemented Interfaces:
Serializable, Comparable<Indication>

public enum Indication extends Enum<Indication>

Main status indication of the signature validation process

See ETSI TS 102 853 and ETSI EN 319 102-1.
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The available information is insufficient to determine whether the signature is valid or invalid.
    The constraint is invalid according to the chosen signature validation profile.
    The constraint is valid according to the chosen signature validation profile.
  • Method Summary

    Modifier and Type
    Method
    Description
    static Indication
    Returns the enum constant of this type with the specified name.
    static Indication[]
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • VALID

      public static final Indication VALID

      The constraint is valid according to the chosen signature validation profile.

    • INVALID

      public static final Indication INVALID

      The constraint is invalid according to the chosen signature validation profile.

    • INDETERMINATE

      public static final Indication INDETERMINATE

      The available information is insufficient to determine whether the signature is valid or invalid.

  • Method Details

    • values

      public static Indication[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Indication 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