Class PdfCryptFilter
Represents a crypt filter dictionary as written into the CF dictionary of a security handler (PDFCryptFilters).
public class PdfCryptFilter : CryptFilterBase
- Inheritance
-
objectPdfCryptFilter
- Inherited Members
- Extension Methods
Constructors
- PdfCryptFilter(PdfStandardSecurityHandler?)
Initializes a new instance of the PdfCryptFilter class.
Methods
- Initialize(PdfStandardSecurityHandler?)
Initializes _parentStandardSecurityHandler to do the correct interpretation of the length key.
- SetAuthEventForEmbeddedFiles()
Sets the AuthEvent Key to /EFOpen, in order authenticate embedded file streams when accessing the embedded file.
- SetEncryptionToAESForV4()
Encrypt with AES and a file encryption key length of 128 bits, using the algorithms of encryption V4 (PDF 1.6).
- SetEncryptionToAESForV5()
Encrypt with AES and a file encryption key length of 256 bits, using the algorithms of encryption V5 (PDF 2.0).
- SetEncryptionToNone()
The encryption shall be handled by the security handler.
- SetEncryptionToRC4ForV4(int)
Encrypt with RC4 and the given file encryption key length, using the algorithms of encryption V4 (PDF 1.5). For encryption V4 the file encryption key length shall be 128 bits.