Enum PdfEncryptionAlgorithm
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
Specifies encryption algorithm of a PdfDocument.
public enum PdfEncryptionAlgorithm
Fields
Aes128Bit = 3
(PDF 1.6) Document is encrypted using AES algorithm with encryption key length of 128 bits.
Aes256Bit = 4
(BaseVersion 1.7, Adobe ExtensionLevel 3) Document is encrypted using AES algorithm with encryption key length of 256 bits.
None = 0
Document is not encrypted.
Standard128Bit = 2
(PDF 1.4) Document is encrypted using RC4 algorithm with encryption key length of 128 bits.
Standard40Bit = 1
Document is encrypted using RC4 algorithm with encryption key length of 40 bits.
Remarks
The Encrypt PDF documents in C# and VB.NET article describes how to encrypt PDF documents.
Check out the other articles and code samples on the Passwords page.