Package com.logicaldoc.sign.pdf
Class SignatureImage
java.lang.Object
com.logicaldoc.sign.pdf.SignatureImage
Represents the image of a digital signature
- Since:
- 7.7.2
- Author:
- Marco Meschieri - LogicalDOC
- 
Method Summary
- 
Method Details- 
createpublic static int[] create(File file, com.logicaldoc.core.security.user.User user, Keystore keystore, com.logicaldoc.core.document.Document document, String reason) throws IOException, com.logicaldoc.core.automation.AutomationException Creates the signature image- Parameters:
- file- the output file
- user- the signer
- keystore- the keystore
- document- the document being signed
- reason- the reason for signing
- Returns:
- width and height of the generated image
- Throws:
- IOException- cannot write the PDF file
- com.logicaldoc.core.automation.AutomationException- the script of the visual representation has been evaluated but produced an error
 
 
-