finish Signature With Cms
public final void finishSignatureWithCms(Document preparedDocument, String outputPath, Array<byte> signatureContainer)
Completes external signing (phase two) with a complete signature container produced by an external signing service.
Parameters
prepared Document
The prepared document.
output Path
The path where the signed PDF will be saved.
signature Container
The complete, DER-encoded CMS signature container.
public final void finishSignatureWithCms(Document preparedDocument, FileOutputStream output, Array<byte> signatureContainer)
Completes external signing (phase two) with a complete signature container, writing the result to a stream.
Parameters
prepared Document
The prepared document.
output
The output stream where the signed PDF will be written.
signature Container
The complete, DER-encoded CMS signature container.