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