PdfEncryptor Public class
Diagram
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph iTextSharp.text.pdf
iTextSharp.text.pdf.PdfEncryptor[[PdfEncryptor]]
end
Members
Methods
Public Static methods
Details
Methods
Encrypt [1/6]
Source code
public static void Encrypt(PdfReader reader, Stream os, byte[] userPassword, byte[] ownerPassword, int permissions, bool strength128Bits)
Arguments
Type | Name | Description |
---|
PdfReader | reader | |
Stream | os | |
byte``[] | userPassword | |
byte``[] | ownerPassword | |
int | permissions | |
bool | strength128Bits | |
Encrypt [2/6]
Source code
public static void Encrypt(PdfReader reader, Stream os, byte[] userPassword, byte[] ownerPassword, int permissions, bool strength128Bits, Dictionary<string, string> newInfo)
Arguments
Type | Name | Description |
---|
PdfReader | reader | |
Stream | os | |
byte``[] | userPassword | |
byte``[] | ownerPassword | |
int | permissions | |
bool | strength128Bits | |
Dictionary <string , string > | newInfo | |
Encrypt [3/6]
Source code
public static void Encrypt(PdfReader reader, Stream os, bool strength, string userPassword, string ownerPassword, int permissions)
Arguments
Type | Name | Description |
---|
PdfReader | reader | |
Stream | os | |
bool | strength | |
string | userPassword | |
string | ownerPassword | |
int | permissions | |
Encrypt [4/6]
Source code
public static void Encrypt(PdfReader reader, Stream os, bool strength, string userPassword, string ownerPassword, int permissions, Dictionary<string, string> newInfo)
Arguments
Type | Name | Description |
---|
PdfReader | reader | |
Stream | os | |
bool | strength | |
string | userPassword | |
string | ownerPassword | |
int | permissions | |
Dictionary <string , string > | newInfo | |
Encrypt [5/6]
Source code
public static void Encrypt(PdfReader reader, Stream os, int type, string userPassword, string ownerPassword, int permissions, Dictionary<string, string> newInfo)
Arguments
Type | Name | Description |
---|
PdfReader | reader | |
Stream | os | |
int | type | |
string | userPassword | |
string | ownerPassword | |
int | permissions | |
Dictionary <string , string > | newInfo | |
Encrypt [6/6]
Source code
public static void Encrypt(PdfReader reader, Stream os, int type, string userPassword, string ownerPassword, int permissions)
Arguments
Type | Name | Description |
---|
PdfReader | reader | |
Stream | os | |
int | type | |
string | userPassword | |
string | ownerPassword | |
int | permissions | |
GetPermissionsVerbose
Source code
public static string GetPermissionsVerbose(int permissions)
Arguments
Type | Name | Description |
---|
int | permissions | |
IsPrintingAllowed
Source code
public static bool IsPrintingAllowed(int permissions)
Arguments
Type | Name | Description |
---|
int | permissions | |
IsModifyContentsAllowed
Source code
public static bool IsModifyContentsAllowed(int permissions)
Arguments
Type | Name | Description |
---|
int | permissions | |
IsCopyAllowed
Source code
public static bool IsCopyAllowed(int permissions)
Arguments
Type | Name | Description |
---|
int | permissions | |
IsModifyAnnotationsAllowed
Source code
public static bool IsModifyAnnotationsAllowed(int permissions)
Arguments
Type | Name | Description |
---|
int | permissions | |
IsFillInAllowed
Source code
public static bool IsFillInAllowed(int permissions)
Arguments
Type | Name | Description |
---|
int | permissions | |
IsScreenReadersAllowed
Source code
public static bool IsScreenReadersAllowed(int permissions)
Arguments
Type | Name | Description |
---|
int | permissions | |
IsAssemblyAllowed
Source code
public static bool IsAssemblyAllowed(int permissions)
Arguments
Type | Name | Description |
---|
int | permissions | |
IsDegradedPrintingAllowed
Source code
public static bool IsDegradedPrintingAllowed(int permissions)
Arguments
Type | Name | Description |
---|
int | permissions | |
Generated with ModularDoc