Enum PdfEncryptionAlgorithm
Encryption algorithm for writing.
public enum PdfEncryptionAlgorithm
Fields
Aes256 = 0AES with 256-bit key (PDF 2.0, revision 6). Recommended.
Aes128 = 1AES with 128-bit key (PDF 1.6, revision 4). For older viewers.
Rc4_128 = 2RC4 with 128-bit key (PDF 1.4, revision 3). Insecure, only for legacy compatibility.