THotPDF.ConfigureCryptFilterDefaults Method
Declaration
procedure ConfigureCryptFilterDefaults(const StringFilterName,
StreamFilterName: AnsiString;
const EmbeddedFileFilterName: AnsiString= '');
Behaviour
Reserves the crypt-filter policy independently for strings, normal streams and new embedded-file streams on documents encrypted with PDF 1.5+ crypt filters. Call it before BeginDoc writes the encryption dictionary so the /StrF, /StmF and /EFF entries select the requested filters. Built-in password security accepts StdCF or Identity; public-key security accepts DefaultCryptFilter or Identity. An empty EmbeddedFileFilterName falls back to the stream filter, and empty names select the handler defaults
See also GetLoadedCryptFilterCount, GetLoadedCryptFilterInfo, THPDFCryptFilterInfo Record