THotPDF.DADirectDecryptFileAES256 Method
Directly decrypts a PDF file using the AES-256 algorithm.
Declaration
function DADirectDecryptFileAES256(const InputFileName: TFileName; const OutputFileName: TFileName; const Password: AnsiString): boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
InputFileName | Name of the encrypted input PDF file |
OutputFileName | Name of the decrypted output PDF file |
Password | Password required for decryption |
Return values
Returns True if decrypted successfully, otherwise returns False.
Usage
- Call: THotPDF.DADirectDecryptFileAES256
- Decrypts a PDF document protected by AES-256 in Direct Access mode.