I want to sign a PDF file with one signature with the appearance on each page
That's what I'm doing:
Create a stamp
PdfStamper st = PdfStamper.CreateSignature(reader, new FileStream(this.outputPDF, FileMode.Create, FileAccess.Write), '\0', null, true);
Get the look of the signature
PdfSignatureAppearance sap = st.SignatureAppearance;
fill properties
sap.SetCrypto(...);
sap.Reason = SomeString;
sap.Contact = SomeString;
sap.Location = SomeString;
Each template has one look. I can only set the look. Has anyone done something like this? Do I need to create a list of stamps or a list of signatures?
source
share