EncryptionAlgorithm

Document properties, Security and Signatures

คำอธิบาย

คืนค่าอัลกอริทึมการเข้ารหัสที่ใช้เข้ารหัสเอกสารที่เลือกอยู่

ฟังก์ชัน 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