Sign Encrypted PDF file failed

Hi Aspose team,

We are using Aspose.pdf.dll v20.3 for signing pdf files.
We are failed to sign an encrypted pdf file.
Please help me! thank you.

Here is the demo:
https://gloritytechcom-my.sharepoint.com/:u:/g/personal/jiang_lei_gloritytech_com/Eek04D7y55BDvayer2bomLUBe4nrQGJCumTpmZoLjn69mw?e=SBBDuY

@Glority_Developer

We tried to download the sample project from the link however we faced restrictions. Could you please share a link from which we can download the demo?

Here’s the code and test file. Thank you.

@Glority_Developer

We tested the scenario using Aspose.PDF for .NET 21.5 and did not notice any issue. Could you please try using the latest version of the API and let us know in case you still face any issue?

For your kind reference, an output PDF is also attached.

new.pdf (614.8 KB)