Class Validator.Constraint

java.lang.Object
java.util.EventObject
com.pdftools.signaturevalidation.Validator.Constraint
All Implemented Interfaces:
Serializable
Enclosing class:
Validator

public class Validator.Constraint extends EventObject
See Also:
  • Method Details

    • getMessage

      public String getMessage()
      The validation message
    • getIndication

      public Indication getIndication()
      The main indication
    • getSubIndication

      public SubIndication getSubIndication()
      The sub indication
    • getSignature

      public SignedSignatureField getSignature()
      The signature field
    • getDataPart

      public String getDataPart()

      The data part is null for constraints of the main signature and a path for constraints related to elements of the signature.

      Examples:

      • certificate:"Some Certificate": When validating a certificate "Some Certificate" of the main signature.
      • time-stamp":Some TSA Responder"/certificate:"Intermediate TSA Responder Certificate": When validating a certificate "Intermediate TSA Responder Certificate" of the time-stamp embedded into the main signature.