EncryptionAlgorithm
Document properties, Security and Signatures
Version history
This function was introduced in Quick PDF Library version 7.11.
Description
Returns the encryption algorithm used to encrypt the selected document.
The EncryptionStrength function can be used to determine the encryption key length.
Syntax
Delphi
function TDebenuPDFLibrary1811.EncryptionAlgorithm: Integer;
ActiveX
Function DebenuPDFLibrary1811.PDFLibrary::EncryptionAlgorithm As Long
DLL
int DPLEncryptionAlgorithm(int InstanceID)
Return values
0 | The document is not encrypted |
1 | The document is encrypted using RC4 encryption |
2 | The document is encrypted using AES encryption |