Enum SubContext

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

public enum SubContext extends Enum<SubContext>
Defines the validation sub context
  • Enum Constant Details

    • SIGNING_CERT

      public static final SubContext SIGNING_CERT
      Used for a signing certificate validation
    • CA_CERTIFICATE

      public static final SubContext CA_CERTIFICATE
      Used for not trusted CA certificates in a chain
  • Method Details

    • values

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