Enum CertificateOrigin

java.lang.Object
java.lang.Enum<CertificateOrigin>
eu.europa.esig.dss.enumerations.CertificateOrigin
All Implemented Interfaces:
Serializable, Comparable<CertificateOrigin>

public enum CertificateOrigin extends Enum<CertificateOrigin>
Possible origin types for a certificate
  • Enum Constant Details

    • KEY_INFO

      public static final CertificateOrigin KEY_INFO
      Certificates extracted from KeyInfo element, XAdES specific
    • SIGNED_DATA

      public static final CertificateOrigin SIGNED_DATA
      Certificates extracted from a signed attribute (CAdES)
    • CERTIFICATE_VALUES

      public static final CertificateOrigin CERTIFICATE_VALUES
      Certificates extracted from CertificateValues element
    • ATTR_AUTHORITIES_CERT_VALUES

      public static final CertificateOrigin ATTR_AUTHORITIES_CERT_VALUES
      Certificates extracted from AttrAuthoritiesCertValues element, XAdES specific
    • TIMESTAMP_VALIDATION_DATA

      public static final CertificateOrigin TIMESTAMP_VALIDATION_DATA
      Certificates extracted from TimeStampValidationData element
    • DSS_DICTIONARY

      public static final CertificateOrigin DSS_DICTIONARY
      Certificates extracted from DSS dictionary, PAdES specific
    • VRI_DICTIONARY

      public static final CertificateOrigin VRI_DICTIONARY
      Certificates extracted from VRI dictionary, PAdES specific
    • BASIC_OCSP_RESP

      public static final CertificateOrigin BASIC_OCSP_RESP
      Certificates extracted from an OCSP Response
  • 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