public class SignatureHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ARCHIVE_FORMAT
Used with
SimpleDateFormat . |
static String |
SIGNATURE_ARCHIVE_FILENAME_FORMAT_PROP |
static String |
SIGNATURE_DISPOSITION_NOTPDF
Signature disposition for non-PDF files.
|
static String |
SIGNATURE_DISPOSITION_PDF
Signature disposition for PDF files.
|
static String |
SIGNATURE_USE_PDFA_PROP
If this system property is set to "true", then signature will use PDF/A.
|
Modifier and Type | Method and Description |
---|---|
static String |
getArchiveFilename(String filename) |
static SignatureService.SigningDisposition |
getDisposition(boolean originalIsPdf) |
static boolean |
getPDFA() |
public static final String SIGNATURE_USE_PDFA_PROP
public static final String SIGNATURE_DISPOSITION_PDF
public static final String SIGNATURE_DISPOSITION_NOTPDF
public static final String SIGNATURE_ARCHIVE_FILENAME_FORMAT_PROP
public static final String DEFAULT_ARCHIVE_FORMAT
SimpleDateFormat
.public static boolean getPDFA()
public static SignatureService.SigningDisposition getDisposition(boolean originalIsPdf)
public static String getArchiveFilename(String filename)
Copyright © 2015 Nuxeo SA. All rights reserved.