79278468

Date: 2024-12-13 13:30:09
Score: 0.5
Natty:
Report link

For iText there is a sample for this.

It shows the usage of the PdfTwoPhaseSigner class. The method PrepareDocumentForSignature performs what you want to do in GetHashToSign and AddSignatureToPreparedDocument performs the SignDocument part.

The class PadesTwoPhaseSigningHelper works alike for pades compliant signatures and has its own sample.

Reasons:
  • No code block (0.5):
Posted by: Glenner003