C# Class iTextSharp.text.pdf.PdfEncryptor

ファイルを表示 Open project: mapo80/iTextSharp-Monotouch Class Usage Examples

Public Methods

Method Description
Encrypt ( PdfReader reader, Stream os, bool strength, String userPassword, String ownerPassword, int permissions ) : void
Encrypt ( PdfReader reader, Stream os, bool strength, String userPassword, String ownerPassword, int permissions, string>.Dictionary newInfo ) : void
Encrypt ( PdfReader reader, Stream os, byte userPassword, byte ownerPassword, int permissions, bool strength128Bits ) : void
Encrypt ( PdfReader reader, Stream os, byte userPassword, byte ownerPassword, int permissions, bool strength128Bits, string>.Dictionary newInfo ) : void
Encrypt ( PdfReader reader, Stream os, int type, String userPassword, String ownerPassword, int permissions ) : void
Encrypt ( PdfReader reader, Stream os, int type, String userPassword, String ownerPassword, int permissions, string>.Dictionary newInfo ) : void
GetPermissionsVerbose ( int permissions ) : String
IsAssemblyAllowed ( int permissions ) : bool
IsCopyAllowed ( int permissions ) : bool
IsDegradedPrintingAllowed ( int permissions ) : bool
IsFillInAllowed ( int permissions ) : bool
IsModifyAnnotationsAllowed ( int permissions ) : bool
IsModifyContentsAllowed ( int permissions ) : bool
IsPrintingAllowed ( int permissions ) : bool
IsScreenReadersAllowed ( int permissions ) : bool

Private Methods

Method Description
PdfEncryptor ( ) : System

Method Details

Encrypt() public static method

public static Encrypt ( PdfReader reader, Stream os, bool strength, String userPassword, String ownerPassword, int permissions ) : void
reader PdfReader
os Stream
strength bool
userPassword String
ownerPassword String
permissions int
return void

Encrypt() public static method

public static Encrypt ( PdfReader reader, Stream os, bool strength, String userPassword, String ownerPassword, int permissions, string>.Dictionary newInfo ) : void
reader PdfReader
os Stream
strength bool
userPassword String
ownerPassword String
permissions int
newInfo string>.Dictionary
return void

Encrypt() public static method

public static Encrypt ( PdfReader reader, Stream os, byte userPassword, byte ownerPassword, int permissions, bool strength128Bits ) : void
reader PdfReader
os Stream
userPassword byte
ownerPassword byte
permissions int
strength128Bits bool
return void

Encrypt() public static method

public static Encrypt ( PdfReader reader, Stream os, byte userPassword, byte ownerPassword, int permissions, bool strength128Bits, string>.Dictionary newInfo ) : void
reader PdfReader
os Stream
userPassword byte
ownerPassword byte
permissions int
strength128Bits bool
newInfo string>.Dictionary
return void

Encrypt() public static method

public static Encrypt ( PdfReader reader, Stream os, int type, String userPassword, String ownerPassword, int permissions ) : void
reader PdfReader
os Stream
type int
userPassword String
ownerPassword String
permissions int
return void

Encrypt() public static method

public static Encrypt ( PdfReader reader, Stream os, int type, String userPassword, String ownerPassword, int permissions, string>.Dictionary newInfo ) : void
reader PdfReader
os Stream
type int
userPassword String
ownerPassword String
permissions int
newInfo string>.Dictionary
return void

GetPermissionsVerbose() public static method

public static GetPermissionsVerbose ( int permissions ) : String
permissions int
return String

IsAssemblyAllowed() public static method

public static IsAssemblyAllowed ( int permissions ) : bool
permissions int
return bool

IsCopyAllowed() public static method

public static IsCopyAllowed ( int permissions ) : bool
permissions int
return bool

IsDegradedPrintingAllowed() public static method

public static IsDegradedPrintingAllowed ( int permissions ) : bool
permissions int
return bool

IsFillInAllowed() public static method

public static IsFillInAllowed ( int permissions ) : bool
permissions int
return bool

IsModifyAnnotationsAllowed() public static method

public static IsModifyAnnotationsAllowed ( int permissions ) : bool
permissions int
return bool

IsModifyContentsAllowed() public static method

public static IsModifyContentsAllowed ( int permissions ) : bool
permissions int
return bool

IsPrintingAllowed() public static method

public static IsPrintingAllowed ( int permissions ) : bool
permissions int
return bool

IsScreenReadersAllowed() public static method

public static IsScreenReadersAllowed ( int permissions ) : bool
permissions int
return bool