We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

If I Sign a PDF, should it be flagged as Encrypted

Hi

i am using syncfusion to add a digital signature to Pdf. When you check PDF DocumentInfo afterward, the IsEncrypted flag is set to False. Is this correct?


Thanks,



1 Reply

IJ Irfana Jaffer Sadhik Syncfusion Team April 6, 2023 10:31 AM UTC

Yes, this is correct. 

If the input document provided is encrypted with either the user and owner password or just the user password alone, then the document cannot be loaded without the user password. In such cases, IsEncrypted will return true indicating that the document is fully encrypted.


If the input document is encrypted with only the owner's password, and it can be loaded without any password, then the document is still considered encrypted and IsEncrypted will also return true


To determine whether the input document is encrypted with a user or owner password, please refer to the table provided in the documentation link below:

https://help.syncfusion.com/file-formats/pdf/working-with-security#how-to-determine-whether-the-pdf-document-is-protected-by-user-or-owner-password


Loader.
Up arrow icon