private void TestEncryption() { PDFProcessor.ProcessPDF(_testFile, _th.Profile, _passwords); EncryptionTester.MakePasswordTest(_testFile, _th.Profile, _passwords); EncryptionTester.MakeSecurityTest(_testFile, _th.Profile, _passwords.PdfOwnerPassword); }
private void TestEncryption() { var job = new Job(new JobInfo(), _th.Profile, new JobTranslations(), new Accounts()); job.Passwords = _passwords; job.TempOutputFiles.Add(_testFile); PdfProcessor.ProcessPdf(job); EncryptionTester.MakePasswordTest(_testFile, _th.Profile, _passwords); EncryptionTester.MakeSecurityTest(_testFile, _th.Profile, _passwords.PdfOwnerPassword); }