C# 클래스 iTextSharp.text.pdf.PdfEncryption

파일 보기 프로젝트 열기: mapo80/iTextSharp-Monotouch 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
publicKeyHandler PdfPublicKeySecurityHandler

공개 메소드들

메소드 설명
AddRecipient ( X509Certificate cert, int permission ) : void
CalculateStreamSize ( int n ) : int
ComputeUserPassword ( byte ownerPassword ) : byte[]
CreateDocumentId ( ) : byte[]
CreateInfoId ( byte id ) : PdfObject
DecryptByteArray ( byte b ) : byte[]
EncryptByteArray ( byte b ) : byte[]
GetCryptoMode ( ) : int
GetDecryptor ( ) : StandardDecryption
GetEncryptionDictionary ( ) : PdfDictionary
GetEncryptionStream ( Stream os ) : OutputStreamEncryption
GetPermissions ( ) : int
IsEmbeddedFilesOnly ( ) : bool
IsMetadataEncrypted ( ) : bool
PdfEncryption ( ) : System
PdfEncryption ( PdfEncryption enc ) : System
ReadKey ( PdfDictionary enc, byte password ) : bool
SetCryptoMode ( int mode, int kl ) : void
SetHashKey ( int number, int generation ) : void
SetupAllKeys ( byte userPassword, byte ownerPassword, int permissions ) : void
SetupByEncryptionKey ( byte key, int keylength ) : void
SetupByOwnerPassword ( byte documentID, byte ownerPassword, byte userKey, byte ownerKey, int permissions ) : void
SetupByUserPassword ( byte documentID, byte userPassword, byte ownerKey, int permissions ) : void

비공개 메소드들

메소드 설명
CompareArray ( byte a, byte b, int len ) : bool
ComputeOwnerKey ( byte userPad, byte ownerPad ) : byte[]
PadPassword ( byte userPassword ) : byte[]
SetupByOwnerPad ( byte documentID, byte ownerPad, byte userKey, byte ownerKey, int permissions ) : void
SetupByUserPad ( byte documentID, byte userPad, byte ownerKey, int permissions ) : void
SetupGlobalEncryptionKey ( byte documentID, byte userPad, byte ownerKey, int permissions ) : void
SetupUserKey ( ) : void

메소드 상세

AddRecipient() 공개 메소드

public AddRecipient ( X509Certificate cert, int permission ) : void
cert Org.BouncyCastle.X509.X509Certificate
permission int
리턴 void

CalculateStreamSize() 공개 메소드

public CalculateStreamSize ( int n ) : int
n int
리턴 int

ComputeUserPassword() 공개 메소드

public ComputeUserPassword ( byte ownerPassword ) : byte[]
ownerPassword byte
리턴 byte[]

CreateDocumentId() 공개 정적인 메소드

public static CreateDocumentId ( ) : byte[]
리턴 byte[]

CreateInfoId() 공개 정적인 메소드

public static CreateInfoId ( byte id ) : PdfObject
id byte
리턴 PdfObject

DecryptByteArray() 공개 메소드

public DecryptByteArray ( byte b ) : byte[]
b byte
리턴 byte[]

EncryptByteArray() 공개 메소드

public EncryptByteArray ( byte b ) : byte[]
b byte
리턴 byte[]

GetCryptoMode() 공개 메소드

public GetCryptoMode ( ) : int
리턴 int

GetDecryptor() 공개 메소드

public GetDecryptor ( ) : StandardDecryption
리턴 iTextSharp.text.pdf.crypto.StandardDecryption

GetEncryptionDictionary() 공개 메소드

public GetEncryptionDictionary ( ) : PdfDictionary
리턴 PdfDictionary

GetEncryptionStream() 공개 메소드

public GetEncryptionStream ( Stream os ) : OutputStreamEncryption
os Stream
리턴 OutputStreamEncryption

GetPermissions() 공개 메소드

public GetPermissions ( ) : int
리턴 int

IsEmbeddedFilesOnly() 공개 메소드

public IsEmbeddedFilesOnly ( ) : bool
리턴 bool

IsMetadataEncrypted() 공개 메소드

public IsMetadataEncrypted ( ) : bool
리턴 bool

PdfEncryption() 공개 메소드

public PdfEncryption ( ) : System
리턴 System

PdfEncryption() 공개 메소드

public PdfEncryption ( PdfEncryption enc ) : System
enc PdfEncryption
리턴 System

ReadKey() 공개 메소드

public ReadKey ( PdfDictionary enc, byte password ) : bool
enc PdfDictionary
password byte
리턴 bool

SetCryptoMode() 공개 메소드

public SetCryptoMode ( int mode, int kl ) : void
mode int
kl int
리턴 void

SetHashKey() 공개 메소드

public SetHashKey ( int number, int generation ) : void
number int
generation int
리턴 void

SetupAllKeys() 공개 메소드

public SetupAllKeys ( byte userPassword, byte ownerPassword, int permissions ) : void
userPassword byte
ownerPassword byte
permissions int
리턴 void

SetupByEncryptionKey() 공개 메소드

public SetupByEncryptionKey ( byte key, int keylength ) : void
key byte
keylength int
리턴 void

SetupByOwnerPassword() 공개 메소드

public SetupByOwnerPassword ( byte documentID, byte ownerPassword, byte userKey, byte ownerKey, int permissions ) : void
documentID byte
ownerPassword byte
userKey byte
ownerKey byte
permissions int
리턴 void

SetupByUserPassword() 공개 메소드

public SetupByUserPassword ( byte documentID, byte userPassword, byte ownerKey, int permissions ) : void
documentID byte
userPassword byte
ownerKey byte
permissions int
리턴 void

프로퍼티 상세

publicKeyHandler 보호되어 있는 프로퍼티

protected PdfPublicKeySecurityHandler,iTextSharp.text.pdf publicKeyHandler
리턴 PdfPublicKeySecurityHandler