public class CreateEmbeddedTimeStamp extends Object
Constructor and Description |
---|
CreateEmbeddedTimeStamp(String tsaUrl) |
Modifier and Type | Method and Description |
---|---|
void |
embedTimeStamp(File file)
Embeds the given PDF file with signed timestamp(s).
|
void |
embedTimeStamp(File inFile,
File outFile)
Embeds signed timestamp(s) into existing signatures of the given document
|
static void |
main(String[] args) |
public CreateEmbeddedTimeStamp(String tsaUrl)
public void embedTimeStamp(File file) throws IOException
file
- the PDF file to sign and to overwriteIOException
public void embedTimeStamp(File inFile, File outFile) throws IOException
inFile
- The pdf file possibly containing signaturesoutFile
- Where the changed document will be savedIOException
public static void main(String[] args) throws IOException
IOException
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.