| Access | Constructor and Description |
|---|---|
| public | CreateSignedTimeStamp(String
The url where TS-Request will be done. tsaUrl)Initialize the signed timestamp creator |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public byte[] | sign(InputStream
is the content as a (Filter)InputStream content)Implements org. Creates a cms signature for the given content |
| public void | |
| public void | |
| public void | signDetached(PDDocument
given Pdf document, OutputStream Where the file will be written output)Prepares the TimeStamp-Signature and starts the saving-process. |
| private static void |
| LOG | back to summary |
|---|---|
| private static final Log LOG | |
| tsaUrl | back to summary |
|---|---|
| private final String tsaUrl | |
| CreateSignedTimeStamp | back to summary |
|---|---|
| public CreateSignedTimeStamp(String tsaUrl) Initialize the signed timestamp creator
| |
| main | back to summary |
|---|---|
| public static void main(String[] args) throws IOException | |
| sign | back to summary |
|---|---|
| public byte[] sign(InputStream content) throws IOException Implements org. Doc from org. Creates a cms signature for the given content
| |
| signDetached | back to summary |
|---|---|
| public void signDetached(File file) throws IOException Signs the given PDF file. Alters the original file on disk.
| |
| signDetached | back to summary |
|---|---|
| public void signDetached(File inFile, File outFile) throws IOException Signs the given PDF file.
| |
| signDetached | back to summary |
|---|---|
| public void signDetached(PDDocument document, OutputStream output) throws IOException Prepares the TimeStamp-Signature and starts the saving-process.
| |
| usage | back to summary |
|---|---|
| private static void usage() | |