Package com.pdftools.signaturevalidation
Class Validator.Constraint
- java.lang.Object
-
- java.util.EventObject
-
- com.pdftools.signaturevalidation.Validator.Constraint
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- Validator
public class Validator.Constraint extends java.util.EventObject
Report the result of a constraint validation ofValidator.validate(com.pdftools.pdf.Document, com.pdftools.signaturevalidation.profiles.Profile, com.pdftools.signaturevalidation.SignatureSelector)
.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDataPart()
The data part isnull
for constraints of the main signature and a path for constraints related to elements of the signature.Indication
getIndication()
The main indicationjava.lang.String
getMessage()
The validation messageSignedSignatureField
getSignature()
The signature fieldSubIndication
getSubIndication()
The sub indication
-
-
-
Method Detail
-
getMessage
public java.lang.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 java.lang.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.
-
-
-