We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Encrypt - usePdf20 input uasge

In the PDF Encrypt method the following overload:
public void Encrypt(
string userPassword,
string ownerPassword,
Permissions permissions,
CryptoAlgorithm cryptoAlgorithm,
bool usePdf20
Offers usePDF20 input. It is explained it offers ‘support for revision 6 (extension 8)’. What does this refer to? When would we set it to true / false?


Thanks for contacting support.

If this parameter set to true, AES256 encoding will be supported. This feature is supported only in PDF v. 1.7 and PDF 2.0.