sign

public final void sign(String inputPath, String outputPath, DigitalSignatureOptions options)

Applies an invisible digital signature to a PDF document. An invisible signature adds cryptographic proof of authenticity without any visual representation on the document pages. The signature can be verified in PDF viewers that support digital signatures.

Parameters

inputPath

The path to the input PDF file.

outputPath

The path where the signed PDF will be saved.

options

The digital signature options including certificate and metadata.

Throws

Thrown when , , or is null.

ArgumentException

Thrown when no certificate is provided in the options.

SdkException

Thrown when the signing operation fails.