PDFKit Version 3.5
Encrypfile fails, see attachments for pdfs
License _lic = new License();
_lic.SetLicense(@"Aspose.Pdf.Kit.lic");
DocumentPrivilege _priv = DocumentPrivilege.ForbidAll;
_priv.AllowCopy = true;
_priv.AllowPrint = true;
_priv.AllowFillIn = true;
_priv.AllowScreenReaders = true;
_priv.AllowModifyContents = true;
PdfFileEditor _editor = new PdfFileEditor();
_editor.Concatenate(args,
@"Concatenated.pdf");
PdfFileSecurity _security = new PdfFileSecurity(@"Concatenated.pdf",
@"Concatenated-lock.pdf");
_security.EncryptFile(null, "owner", _priv, false);