Enum Class ValidationModel

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

public enum ValidationModel extends Enum<ValidationModel>
Represents a validation model of a certificate chain (e.g. SHELL, CHAIN, etc.)
  • 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
    Model for validation of X.509 certificate chains where all CA certificates have to be valid at the time they were used for issuing a certificate and the end-entity certificate was valid when creating the signature
    Hybrid validation model, evaluating the signing-certificate at the validation time, while all other intermediate CA certificates at the time of the signing-certificate's issuance
    Model for validation of X.509 certificate chains where all certificates have to be valid at a given time
  • Method Summary

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

    Methods inherited from class java.lang.Object

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

    • SHELL

      public static final ValidationModel SHELL
      Model for validation of X.509 certificate chains where all certificates have to be valid at a given time
    • CHAIN

      public static final ValidationModel CHAIN
      Model for validation of X.509 certificate chains where all CA certificates have to be valid at the time they were used for issuing a certificate and the end-entity certificate was valid when creating the signature
    • HYBRID

      public static final ValidationModel HYBRID
      Hybrid validation model, evaluating the signing-certificate at the validation time, while all other intermediate CA certificates at the time of the signing-certificate's issuance
  • Method Details

    • values

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

      public static ValidationModel valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null