test: add encryptedPdf.pdf test fixture with /Encrypt in trailer
Minimal hand-crafted PDF containing a Standard encryption dictionary referenced from the trailer (/Encrypt 4 0 R). Used by DetectEncryption unit tests to verify byte-level encryption detection. Registered as EmbeddedResource in DocumentService.Tests.csproj.
This commit is contained in:
@@ -13,12 +13,14 @@
|
||||
<None Remove="TestData\Pdfs\pdfWithSwissQRCode.pdf" />
|
||||
<None Remove="TestData\Pdfs\valid.pdf" />
|
||||
<None Remove="TestData\Pdfs\pdfWithMoreThanOneAttachment.pdf" />
|
||||
<None Remove="TestData\Pdfs\encryptedPdf.pdf" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="TestData\Pdfs\pdfWithSwissQRCode.pdf" />
|
||||
<EmbeddedResource Include="TestData\Pdfs\valid.pdf" />
|
||||
<EmbeddedResource Include="TestData\Pdfs\pdfWithMoreThanOneAttachment.pdf" />
|
||||
<EmbeddedResource Include="TestData\Pdfs\encryptedPdf.pdf" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user