Class PdfCryptFilters
Represents the CF dictionary of a security handler.
public class PdfCryptFilters : PdfDictionary, ICloneable, IEnumerable<KeyValuePair<string, PdfItem?>>, IEnumerable
- Inheritance
-
PdfCryptFilters
- Implements
- Inherited Members
Constructors
PdfCryptFilters()
Initializes a new instance of the PdfCryptFilters class.
public PdfCryptFilters()
Methods
AddCryptFilter(string, PdfCryptFilter)
Adds a crypt filter with the given name.
public void AddCryptFilter(string name, PdfCryptFilter cryptFilter)
Parameters
name
stringcryptFilter
PdfCryptFilter
GetCryptFilter(string)
Gets the crypt filter with the given name.
public PdfCryptFilter? GetCryptFilter(string name)
Parameters
name
string
Returns
GetCryptFilters()
Enumerates all crypt filters.
public IEnumerable<(string Name, PdfCryptFilter CryptFilter)> GetCryptFilters()
Returns
GetCryptFiltersAsDictionary()
Returns a dictionary containing all crypt filters.
public Dictionary<string, PdfCryptFilter> GetCryptFiltersAsDictionary()
Returns
IsEmpty()
Determines whether this instance is empty.
public bool IsEmpty()
Returns
RemoveCryptFilter(string)
Removes the crypt filter with the given name.
public bool RemoveCryptFilter(string name)
Parameters
name
string