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
|
Returns |
Name |
|---|---|
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
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 |
|---|---|---|
|
|
reader |
|
|
|
os |
|
|
|
userPassword |
|
|
|
ownerPassword |
|
|
|
permissions |
|
|
|
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 |
|---|---|---|
|
|
reader |
|
|
|
os |
|
|
|
userPassword |
|
|
|
ownerPassword |
|
|
|
permissions |
|
|
|
strength128Bits |
|
|
|
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 |
|---|---|---|
|
|
reader |
|
|
|
os |
|
|
|
strength |
|
|
|
userPassword |
|
|
|
ownerPassword |
|
|
|
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 |
|---|---|---|
|
|
reader |
|
|
|
os |
|
|
|
strength |
|
|
|
userPassword |
|
|
|
ownerPassword |
|
|
|
permissions |
|
|
|
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 |
|---|---|---|
|
|
reader |
|
|
|
os |
|
|
|
type |
|
|
|
userPassword |
|
|
|
ownerPassword |
|
|
|
permissions |
|
|
|
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 |
|---|---|---|
|
|
reader |
|
|
|
os |
|
|
|
type |
|
|
|
userPassword |
|
|
|
ownerPassword |
|
|
|
permissions |
GetPermissionsVerbose
Source code
public static string GetPermissionsVerbose(int permissions)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
permissions |
IsPrintingAllowed
Source code
public static bool IsPrintingAllowed(int permissions)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
permissions |
IsModifyContentsAllowed
Source code
public static bool IsModifyContentsAllowed(int permissions)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
permissions |
IsCopyAllowed
Source code
public static bool IsCopyAllowed(int permissions)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
permissions |
IsModifyAnnotationsAllowed
Source code
public static bool IsModifyAnnotationsAllowed(int permissions)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
permissions |
IsFillInAllowed
Source code
public static bool IsFillInAllowed(int permissions)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
permissions |
IsScreenReadersAllowed
Source code
public static bool IsScreenReadersAllowed(int permissions)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
permissions |
IsAssemblyAllowed
Source code
public static bool IsAssemblyAllowed(int permissions)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
permissions |
IsDegradedPrintingAllowed
Source code
public static bool IsDegradedPrintingAllowed(int permissions)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
permissions |
Generated with ModularDoc