prepare Signature
Starts external signing (phase one): prepares the document with a signature placeholder and returns the exact bytes an external signer must sign. Complete the signature with or , either in the same session or after reloading the prepared document. A configured reserves room in the prepared document; the timestamp token itself is obtained during the finish phase. Levels above are not supported in the two-phase flow; add validation material afterwards with and .
Return
The bytes to be signed by the external signer.
Parameters
The document to prepare for signing.
The path where the prepared PDF will be saved.
The digital signature options, including the signing certificate.
Starts external signing (phase one), writing the prepared PDF to a stream and returning the bytes an external signer must sign.
Return
The bytes to be signed by the external signer.
Parameters
The document to prepare for signing.
The output stream where the prepared PDF will be written.
The digital signature options, including the signing certificate.