public class Validator.Constraint
extends java.util.EventObject
Validator.validate(com.pdftools.pdf.Document, com.pdftools.signaturevalidation.profiles.Profile, com.pdftools.signaturevalidation.SignatureSelector)
.Modifier and Type | Method | Description |
---|---|---|
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. |
Indication |
getIndication() |
The main indication
|
java.lang.String |
getMessage() |
The validation message
|
SignedSignatureField |
getSignature() |
The signature field
|
SubIndication |
getSubIndication() |
The sub indication
|
public java.lang.String getMessage()
public Indication getIndication()
public SubIndication getSubIndication()
public SignedSignatureField getSignature()
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.