Hello,
When I sign the doc with version 18 aspose.Net.pdf, the pdf does not open in adobre reader on the other hand it works with version 20.0.
The are another solution to work in version 18?
My code :
Document document = new Document(documentPath);
PKCS7 pkcs = new PKCS7(_certificatePath, _pwd)
{
Reason = request.Reason,
ContactInfo = request.Contact,
Location = request.Location
};
PdfFileSignature signature = new PdfFileSignature(document);
signature.Sign(1, false, new System.Drawing.Rectangle(100, 100, 100, 100), pkcs);
// Save output PDF file
signature.Save($"{_inputPath}\{request.DocumentName}");
document.Dispose();