Table of Contents

Enum PdfEncryptionAlgorithm

Namespace
MiPdf.Security
Assembly
MiPdf.dll

Encryption algorithm for writing.

public enum PdfEncryptionAlgorithm

Fields

Aes256 = 0

AES with 256-bit key (PDF 2.0, revision 6). Recommended.

Aes128 = 1

AES with 128-bit key (PDF 1.6, revision 4). For older viewers.

Rc4_128 = 2

RC4 with 128-bit key (PDF 1.4, revision 3). Insecure, only for legacy compatibility.