Method AddCryptFilter
AddCryptFilter(string, PdfCryptFilter, bool)
Adds a crypt filter to the document.
public void AddCryptFilter(string name, PdfCryptFilter cryptFilter, bool asDefault = false)
Parameters
namestringThe name to identify the crypt filter.
cryptFilterPdfCryptFilterThe crypt filter.
asDefaultboolIf true, the crypt filter is referred to as default for any strings and streams in StmF, StrF and EFF keys.