java.lang.Object
java.lang.Enum<PAdESLevel>
com.itextpdf.signatures.validation.report.pades.PAdESLevel
All Implemented Interfaces:
Serializable, Comparable<PAdESLevel>, java.lang.constant.Constable

public enum PAdESLevel extends Enum<PAdESLevel>
This enumeration holds all possible PAdES levels plus none and indeterminate, needed for when none if the levels is reached or a signature is invalid.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    B_B
    B-B level provides requirements for the incorporation of signed and some unsigned attributes when the signature is generated.
    B-LT level provides requirements for the incorporation of all the material required for validating the signature in the signature document.
    B-LTA level provides requirements for the incorporation of electronic timestamps that allow validation of the signature long time after its generation.
    B_T
    B-T level provides requirements for the generation and inclusion, for an existing signature, of a trusted token proving that the signature itself actually existed at a certain date and time.
    Unable to establish the PAdES level
    None of the levels criteria where met
  • Method Summary

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

    Methods inherited from class java.lang.Object

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

    • NONE

      public static final PAdESLevel NONE
      None of the levels criteria where met
    • INDETERMINATE

      public static final PAdESLevel INDETERMINATE
      Unable to establish the PAdES level
    • B_B

      public static final PAdESLevel B_B
      B-B level provides requirements for the incorporation of signed and some unsigned attributes when the signature is generated.
    • B_T

      public static final PAdESLevel B_T
      B-T level provides requirements for the generation and inclusion, for an existing signature, of a trusted token proving that the signature itself actually existed at a certain date and time.
    • B_LT

      public static final PAdESLevel B_LT
      B-LT level provides requirements for the incorporation of all the material required for validating the signature in the signature document. This level aims to tackle the long term availability of the validation material.
    • B_LTA

      public static final PAdESLevel B_LTA
      B-LTA level provides requirements for the incorporation of electronic timestamps that allow validation of the signature long time after its generation. This level aims to tackle the long term availability and integrity of the validation material.
  • Method Details

    • values

      public static PAdESLevel[] 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 PAdESLevel 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