THotPDF.UseAES256R6 Property
Chooses 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 falls back to revision 5, the earlier Adobe extension. Set it before BeginDoc. It needs Version pdf17 or later and switches itself off for older versions
Declaration
property UseAES256R6: boolean read FUseAES256R6 write FUseAES256R6;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
| No parameters | |
Return value
Returns no value
Usage notes
- Set it in the security workflow before the page, resource, field or catalogue object concerned is finalised
- Keep object names, field names, resource names and returned handles stable until the document is finalised
- The passwords count as UTF-8, cut to 127 bytes, for revision 5 and revision 6 alike; see UserPassword
Related APIs
- THotPDF
- THPDFPage
- Contents