Package com.itextpdf.text.pdf.security
Class LtvTimestamp
java.lang.Object
com.itextpdf.text.pdf.security.LtvTimestamp
PAdES-LTV Timestamp
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidtimestamp(PdfSignatureAppearance sap, TSAClient tsa, String signatureName) Signs a document with a PAdES-LTV Timestamp.
-
Constructor Details
-
LtvTimestamp
public LtvTimestamp()
-
-
Method Details
-
timestamp
public static void timestamp(PdfSignatureAppearance sap, TSAClient tsa, String signatureName) throws IOException, DocumentException, GeneralSecurityException Signs a document with a PAdES-LTV Timestamp. The document is closed at the end.- Parameters:
sap- the signature appearancetsa- the timestamp generatorsignatureName- the signature name or null to have a name generated automatically- Throws:
DocumentExceptionIOExceptionGeneralSecurityException
-