AbstractCreates a new crypt filter with the specified options.
Configuration options for the crypt filter.
Authentication event trigger.
Crypt filter method identifier.
Key length in bits.
Protected OptionalsecuritySecurity handler for cryptographic operations.
AbstractgetGets a cipher instance for encrypting/decrypting data.
OptionalobjectNumber: numberThe PDF object number for key derivation.
OptionalgenerationNumber: numberThe PDF generation number for key derivation.
A cipher instance for encryption/decryption operations.
Gets the current security handler.
The security handler, or undefined if not set.
Sets the security handler for this crypt filter.
The security handler to use for key derivation.
Converts this crypt filter to a PDF dictionary representation.
The crypt filter dictionary.
Abstract base class for PDF crypt filters. Crypt filters define how specific types of data (strings, streams, files) are encrypted.
Example