@Name(value="signActions") @Scope(value=CONVERSATION) public class SignActions extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ARCHIVE_FORMAT
Used with
SimpleDateFormat . |
static String |
DOCUMENT_SIGNED |
static String |
DOCUMENT_SIGNED_COMMENT |
static String |
MIME_TYPE_PDF |
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.
|
Constructor and Description |
---|
SignActions() |
Modifier and Type | Method and Description |
---|---|
List<X509Certificate> |
getCertificateList()
Returns info about the certificates contained in the current document.
|
SignatureService.StatusWithBlob |
getSigningStatus()
Gets the signing status for the current document.
|
void |
signCurrentDoc(String signingReason,
String password)
Signs digitally a PDF blob contained in the current document, modifies the document status and updates UI &
auditing messages related to signing
|
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 final String MIME_TYPE_PDF
public static final String DOCUMENT_SIGNED
public static final String DOCUMENT_SIGNED_COMMENT
public void signCurrentDoc(String signingReason, String password) throws ClientException
signingReason
- password
- SignException
ClientException
public SignatureService.StatusWithBlob getSigningStatus() throws ClientException
ClientException
public List<X509Certificate> getCertificateList() throws SignException, ClientException
SignException
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.