Package com.itextpdf.text.pdf.security
Class LtvTimestamp
- java.lang.Object
-
- com.itextpdf.text.pdf.security.LtvTimestamp
-
public class LtvTimestamp extends java.lang.ObjectPAdES-LTV Timestamp
-
-
Constructor Summary
Constructors Constructor Description LtvTimestamp()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidtimestamp(PdfSignatureAppearance sap, TSAClient tsa, java.lang.String signatureName)Signs a document with a PAdES-LTV Timestamp.
-
-
-
Method Detail
-
timestamp
public static void timestamp(PdfSignatureAppearance sap, TSAClient tsa, java.lang.String signatureName) throws java.io.IOException, DocumentException, java.security.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:
DocumentExceptionjava.io.IOExceptionjava.security.GeneralSecurityException
-
-