Class PdfTwoPhaseSigner

java.lang.Object
com.itextpdf.signatures.PdfTwoPhaseSigner

public class PdfTwoPhaseSigner extends Object
Class that prepares document and adds the signature to it while performing signing operation in two steps (see PadesTwoPhaseSigningHelper for more info).

Firstly, this class allows to prepare the document for signing and calculate the document digest to sign. Secondly, it adds an existing signature to a PDF where space was already reserved.