SignDoc SDK
This topic lists enhancements introduced to SignDoc SDK in this product release.
Multi-phase signing
With multi-phase signing, SignRSA.sign(), SignECDSA.sign(), SignPKCS7.sign(), and UserTimeStamper.stamp() trigger the respective signing or time-stamping operation rather than performing that operation and returning the result. SignDocDocument.addSignature() will return immediately, leaving the PDF document in a special state. When the result of the operation is available, you call addSignature() again, passing that result in the SignDocSignatureParameters object. Between the two calls to addSignature(), the document can be serialized and moved to another process or computer, the second addSignature() call can then take place in the other process or on the other computer.
Support of Secure Hash Algorithm 3 (SHA3)
SHA-3 (SHA3-256, SHA3-384, SHA3-512) is now supported.
DigestMethod seed value applies to ECDSA signatures
The seed value of the DigestMethod that defines the hash algorithm available for signing now also applies to ECDSA signatures.
Extend functions for SignDocImage
The functions matchImage() and cleanImage() of SignDocImage now scale images with horizontal resolution unequal to vertical resolution.
In addition, a new matchImage() function that takes an SignDocImageParameters object is available. With these parameters it is possible to control how images are converted to bi-level black and white, and how images are resized.
Extend parameter set of SignDocImageParameters
The parameter set of SignDocImageParameter is extended with two parameters for resizing images. KeepResolution offers the option to enable or disable resizing the image for cleaning. ResizeFilter will set the resampling filter to be used for resizing the image.
Handling of too similar handwritten signatures
A new class SignDocTooSimilarException is available to inform you about signatures, references or images to be compared are that are too similar.
In addition, a new boolean parameter AcceptSimilarImages for the parameter set of SignDocMatchParameter is introduced.
PDF object editor
SPPDFEditor is an editor for low-level PDF diagnosis and can be used as repair tool. In addition, the editor allows view and edit at the PDF object level.
For details, see the SPPDFEditor developer documentation in the SignDoc SDK.
SPPDFTool
SPPDFTool is a command line tool for automatic tests involving files. For details, see the SPPDFTool developer documentation in SignDoc SDK.
Support rubber stamp annotations
The new function createStampAnnotation() of the SignDocDocument class creates a rubber stamp annotation using an image in a blob. The functionality allows the placement of a designated text or graphic on the page similar to using an ink stamp on paper.
SignDoc Browser Capture
A JavaScript library that can capture handwritten signatures in a web application on the client side is now part of the SignDoc delivery. The API provides a customizable user interface and returns the captured signature in the ISO signature format. Signatures can be captured either via an attached signature pad or directly via the browser/web application.
For details, see the SignDoc Browser Capture Help.