com.itextpdf.text.pdf.security
Class LtvTimestamp

java.lang.Object
  extended by com.itextpdf.text.pdf.security.LtvTimestamp

public class LtvTimestamp
extends Object

PAdES-LTV Timestamp

Author:
Paulo Soares

Constructor Summary
LtvTimestamp()
           
 
Method Summary
static void timestamp(PdfSignatureAppearance sap, TSAClient tsa, String signatureName)
          Signs a document with a PAdES-LTV Timestamp.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LtvTimestamp

public LtvTimestamp()
Method Detail

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 appearance
tsa - the timestamp generator
signatureName - the signature name or null to have a name generated automatically
Throws:
DocumentException
IOException
GeneralSecurityException


Copyright © 2013. All Rights Reserved.