Enum CertificateOrigin

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

public enum CertificateOrigin extends Enum<CertificateOrigin>
Enum representing an origin from where certificates come from.
  • Enum Constant Details

    • LATEST_DSS

      public static final CertificateOrigin LATEST_DSS
      Latest DSS dictionary in a PDF document.
    • HISTORICAL_DSS

      public static final CertificateOrigin HISTORICAL_DSS
      DSS dictionary, corresponding to previous PDF document revisions.
    • SIGNATURE

      public static final CertificateOrigin SIGNATURE
      Signature CMS container.
    • OCSP_RESPONSE

      public static final CertificateOrigin OCSP_RESPONSE
      OCSP response object.
    • OTHER

      public static final CertificateOrigin OTHER
      Other possible sources.
  • Method Details

    • values

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