EncryptionAlgorithm
文档属性、安全性和签名
描述
返回加密所选文档时所用的加密算法
可使用 EncryptionStrength 函数确定加密密钥长度
语法
Delphi
Function TPDFlib.EncryptionAlgorithm: Integer;
ActiveX
Function PDFlib::EncryptionAlgorithm() As Long
DLL
int DLEncryptionAlgorithm(int InstanceID);
返回值
| 0 | 文档未加密 |
|---|---|
| 1 | RC4 |
| 2 | AES-128 |
| 3 | AES-256 |
| 4 | AES-256-GCM |