C# Class Org.BouncyCastle.Crypto.BufferedAsymmetricBlockCipher

Inheritance: BufferedCipherBase
显示文件 Open project: nokiadatagathering/WP7-Official Class Usage Examples

Public Methods

Method Description
BufferedAsymmetricBlockCipher ( IAsymmetricBlockCipher cipher ) : System
DoFinal ( ) : byte[]
DoFinal ( byte input, int inOff, int length ) : byte[]
GetBlockSize ( ) : int
GetOutputSize ( int length ) : int
GetUpdateOutputSize ( int length ) : int
Init ( bool forEncryption, ICipherParameters parameters ) : void
ProcessByte ( byte input ) : byte[]
ProcessBytes ( byte input, int inOff, int length ) : byte[]
Reset ( ) : void

Reset the buffer

Private Methods

Method Description
GetBufferPosition ( ) : int

Method Details

BufferedAsymmetricBlockCipher() public method

public BufferedAsymmetricBlockCipher ( IAsymmetricBlockCipher cipher ) : System
cipher IAsymmetricBlockCipher
return System

DoFinal() public method

public DoFinal ( ) : byte[]
return byte[]

DoFinal() public method

public DoFinal ( byte input, int inOff, int length ) : byte[]
input byte
inOff int
length int
return byte[]

GetBlockSize() public method

public GetBlockSize ( ) : int
return int

GetOutputSize() public method

public GetOutputSize ( int length ) : int
length int
return int

GetUpdateOutputSize() public method

public GetUpdateOutputSize ( int length ) : int
length int
return int

Init() public method

public Init ( bool forEncryption, ICipherParameters parameters ) : void
forEncryption bool
parameters ICipherParameters
return void

ProcessByte() public method

public ProcessByte ( byte input ) : byte[]
input byte
return byte[]

ProcessBytes() public method

public ProcessBytes ( byte input, int inOff, int length ) : byte[]
input byte
inOff int
length int
return byte[]

Reset() public method

Reset the buffer
public Reset ( ) : void
return void