vendor: import KillerPDF 1.7.5 source (GPL-3.0) as the base for MMD PDF

This commit is contained in:
2026-08-27 06:58:22 +02:00
commit 532485a830
577 changed files with 149058 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
namespace PdfSharpCore.Pdf.Security
{
internal interface IEncryptor
{
bool PasswordValid { get; }
bool HaveOwnerPermission { get; }
void Initialize(PdfDocument document, PdfDictionary encryptionDict);
void InitEncryptionKey(string password);
bool ValidatePassword(string password);
void SetEncryptionKey(byte[] key);
void CreateHashKey(PdfObjectID objectId);
byte[] Encrypt(byte[] bytes);
}
}