Hi,
I got Signature is invalid when applying both certified signature and PdfFileSecurity.SetPriviledge
When adding signature with DocMDPAccessPermissions.NoChanges and then applying PdfFileSecurity.SetPriviledge (DocumentPrivilege.Print), the pdf gets “Signature is invalid. There are errors in the formatting or information containted in this signature (support information: SignDict/Contents illegal data)”
When applying PdfFileSecurity.SetPriviledge (DocumentPrivilege.Print) and then adding signature with DocMDPAccessPermissions.NoChanges, the pdf gets “Signature is invalid. There are errors in the formatting or information containted in this signature (The signature byte range is invalid)”
Is it possible to apply both signature and SetPriviledge?
Thank you
AsposePDF Sign and SetPriviledge.png (40.9 KB)