THotPDF.UseAES256R6 Property
Selects revision 6 of the standard security handler for AES-256 encryption (CryptKeyLength = aes256). Revision 6 is the PDF 2.0 form (ISO 32000-2) with the iterated SHA-256/384/512 password hash; when False, AES-256 uses revision 5, the earlier Adobe extension. Set it before BeginDoc. It needs Version pdf17 or later and is switched off for older versions
Declaration
property UseAES256R6: boolean read FUseAES256R6 write FUseAES256R6;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
| This member does not expose explicit parameters | |
Return value
Returns the current value of the UseAES256R6 property
Usage notes
- Use this API in the security workflow before the affected page, resource, field, or catalog object is finalized
- Keep object names, field names, resource names, and returned handles stable until the document is finalized
- The passwords count as UTF-8, cut to 127 bytes, for both revision 5 and revision 6; see UserPassword