C# Class ICSharpCode.SharpZipLib.Encryption.PkzipClassicDecryptCryptoTransform

PkzipClassic CryptoTransform for decryption.
Inheritance: PkzipClassicCryptoBase, ICryptoTransform
Show file Open project: icsharpcode/SharpZipLib

Public Methods

Method Description
Dispose ( ) : void

Cleanup internal state.

TransformBlock ( byte inputBuffer, int inputOffset, int inputCount, byte outputBuffer, int outputOffset ) : int

Transforms the specified region of the input byte array and copies the resulting transform to the specified region of the output byte array.

TransformFinalBlock ( byte inputBuffer, int inputOffset, int inputCount ) : byte[]

Transforms the specified region of the specified byte array.

Private Methods

Method Description
PkzipClassicDecryptCryptoTransform ( byte keyBlock ) : System

Initialise a new instance of .

Method Details

Dispose() public method

Cleanup internal state.
public Dispose ( ) : void
return void

TransformBlock() public method

Transforms the specified region of the input byte array and copies the resulting transform to the specified region of the output byte array.
public TransformBlock ( byte inputBuffer, int inputOffset, int inputCount, byte outputBuffer, int outputOffset ) : int
inputBuffer byte The input for which to compute the transform.
inputOffset int The offset into the input byte array from which to begin using data.
inputCount int The number of bytes in the input byte array to use as data.
outputBuffer byte The output to which to write the transform.
outputOffset int The offset into the output byte array from which to begin writing data.
return int

TransformFinalBlock() public method

Transforms the specified region of the specified byte array.
public TransformFinalBlock ( byte inputBuffer, int inputOffset, int inputCount ) : byte[]
inputBuffer byte The input for which to compute the transform.
inputOffset int The offset into the byte array from which to begin using data.
inputCount int The number of bytes in the byte array to use as data.
return byte[]