EncryptionAlgorithm
Document properties, Security and Signatures
คำอธิบาย
คืนค่าอัลกอริทึมการเข้ารหัสที่ใช้เข้ารหัสเอกสารที่เลือกอยู่
ฟังก์ชัน 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 |