Class AddValidationInformation
java.lang.Object
org.apache.pdfbox.examples.signature.validation.AddValidationInformation
An example for adding Validation Information to a signed PDF, inspired by ETSI TS 102 778-4
V1.1.2 (2009-12), Part 4: PAdES Long Term - PAdES-LTV Profile. This procedure appends the
Validation Information of the last signature (more precise its signer(s)) to a copy of the
document. The signature and the signed data will not be touched and stay valid.
- Author:
- Alexis Suter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidvoidvalidateSignature(File inFile, File outFile) Signs the given PDF file.
-
Constructor Details
-
AddValidationInformation
public AddValidationInformation()
-
-
Method Details
-
validateSignature
Signs the given PDF file.- Parameters:
inFile- input PDF fileoutFile- output PDF file- Throws:
IOException- if the input file could not be read
-
main
- Throws:
IOException
-