THotPDF.SetStreamCryptFilter Method
Declaration
procedure SetStreamCryptFilter(StreamObject: THPDFStreamObject;
const FilterName: AnsiString);
Behaviour
Overrides the crypt filter applied to a single stream object, independent of the document-wide /StrF, /StmF and /EFF policy. Pass Identity to leave the stream unencrypted, an empty name to restore the document default or a registered crypt-filter name such as StdCF for built-in password security and DefaultCryptFilter for public-key security. Public-key documents refuse stream-specific filters other than Identity because they require a stream-specific recipient envelope. Unregistered filter names and a nil stream object raise an exception
See also ConfigureCryptFilterDefaults, StreamCryptFilterName Property, THPDFCryptFilterInfo Record