Class: CMSSignatureOptions

PDFNet. CMSSignatureOptions


new CMSSignatureOptions()

Optional data for CMS creation.

Extends

Methods


<static> create()

Constructor
Returns:
A promise that resolves to an object of type: "PDFNet.CMSSignatureOptions"
Type
Promise.<PDFNet.CMSSignatureOptions>

addTimestampToken(token_buf)

Add a timestamp token to the CMS.
Parameters:
Name Type Description
token_buf ArrayBuffer | Int8Array | Uint8Array | Uint8ClampedArray The timestamp token.
Returns:
Type
Promise.<void>

destroy()

Destructor
Inherited From:
Returns:
Type
Promise.<void>

takeOwnership()

Take the ownership of this object, so that PDFNet.runWithCleanup won't destroy this object.
Inherited From:
Returns:
Type
void