Class ContextAndSubContext

java.lang.Object
eu.europa.esig.dss.validation.policy.ContextAndSubContext
All Implemented Interfaces:
Serializable

public class ContextAndSubContext extends Object implements Serializable
This class represents a pair of a Context and a SubContext to define an applicability scope of cryptographic rules
See Also:
  • Constructor Details

    • ContextAndSubContext

      protected ContextAndSubContext()
      Constructor for a global context definition
    • ContextAndSubContext

      protected ContextAndSubContext(eu.europa.esig.dss.enumerations.Context context, eu.europa.esig.dss.enumerations.SubContext subContext)
      Default constructor
      Parameters:
      context - Context
      subContext - SubContext
  • Method Details

    • getContext

      protected eu.europa.esig.dss.enumerations.Context getContext()
      Gets Context
      Returns:
      Context
    • getSubContext

      protected eu.europa.esig.dss.enumerations.SubContext getSubContext()
      Gets SubContext
      Returns:
      SubContext
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object