EncryptionAlgorithm
Document properties, Security and Signatures
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 TPDFlib.EncryptionAlgorithm: Integer;ActiveX
Function PDFlib::EncryptionAlgorithm As LongDLL
int DLEncryptionAlgorithm(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 |