Class LtvTimestamp


  • public class LtvTimestamp
    extends java.lang.Object
    PAdES-LTV Timestamp
    • Constructor Summary

      Constructors 
      Constructor Description
      LtvTimestamp()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void timestamp​(PdfSignatureAppearance sap, TSAClient tsa, java.lang.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,
                                     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 appearance
        tsa - the timestamp generator
        signatureName - the signature name or null to have a name generated automatically
        Throws:
        DocumentException
        java.io.IOException
        java.security.GeneralSecurityException