Pdf |
Initiate timestamping of a PDF file using the specified PdfTimestamper that does the actual timestamping.
The length of the timestamp token returned by the timestamper must be less than EstimatedTimestampTokenLength.
The name of the preferred signature handler to use when validating the signature (Filter entry) is Adobe.PPKLite, the Format of the returned PdfSignature instance is RFC3161 and the ContentsLength is EstimatedTimestampTokenLength bytes.
To finish the timestamping, call any of the Save. Next signing or timestamping cannot be initiated before the current one is not finished.
Exception | Condition |
---|---|
ArgumentNullException | timestamper is . |
InvalidOperationException | This PdfSignatureField is not contained in the Fields of this PDF document. -or- Signing/timestamping of the PDF file has already been initiated on some PdfSignatureField in this PDF document. Finish that signing/timestamping by calling any of the Save before initiating a new signing/timestamping on this PdfSignatureField. |