EncryptionAlgorithm

文档属性、安全性和签名

描述

返回加密所选文档时所用的加密算法

可使用 EncryptionStrength 函数确定加密密钥长度

语法

Delphi

Function TPDFlib.EncryptionAlgorithm: Integer;

ActiveX

Function PDFlib::EncryptionAlgorithm() As Long

DLL

int DLEncryptionAlgorithm(int InstanceID);

返回值

0文档未加密
1RC4
2AES-128
3AES-256
4AES-256-GCM