THPDFKeyType Type

Seleziona l'algoritmo del security handler PDF e la lunghezza della chiave usati per cifrare un documento

Dichiarazione

THPDFKeyType= (k40, k128, aes128, aes256, aesgcm);

Unità

HPDFDoc

Valori

ValoreSignificato
k40RC4 a 40 bit, V=1 R=2 (PDF 1.1+)
k128RC4 a 128 bit, V=2 R=3 (PDF 1.4+)
aes128AES-128, V=4 R=4 con crypt filter CFM=AESV2 (PDF 1.6+)
aes256AES-256, V=5 R=5 con crypt filter CFM=AESV3 (Adobe Extension Level 3 / PDF 1.7+; accettato da Acrobat 9+)
aesgcmAES-256-GCM, V=6 R=7 con crypt filter CFM=AESV4 (estensione per sviluppatori ISO/TS 32003:2023 per PDF 2.0)

Note d'uso

API correlate