Unplanned
Last Updated: 07 Sep 2021 11:12 by ADMIN
Dexter
Created on: 07 Sep 2021 10:31
Category: PdfProcessing
Type: Bug Report
2
PdfProcessing: Document password cannot be resolved when document produced by the library contains a SignatureField

When a document containing a SignatureField is exported with the IsEncrypted property set to true, a not set UserPassword is required to open it, which makes it impossible to be opened. An InvalidOperationException is thrown with the message "Password is not correct." when importing with PdfProcessing; Adobe Acrobat also doesn't recognize the password.

Workaround: Exporting with AES256 encryption does not have this problem:

provider.ExportSettings = new PdfExportSettings
{
	IsEncrypted = true,
	EncryptionType = EncryptionType.AES256
};

 

0 comments