ICSharpCode::SharpZipLib::Encryption::PkzipClassicManaged Class Reference

Defines a wrapper object to access the Pkzip algorithm. This class cannot be inherited. More...

Inheritance diagram for ICSharpCode::SharpZipLib::Encryption::PkzipClassicManaged:

ICSharpCode::SharpZipLib::Encryption::PkzipClassic List of all members.

Public Member Functions

override void GenerateIV ()
 Generate an initial vector.
override void GenerateKey ()
 Generate a new random key.
override ICryptoTransform CreateEncryptor (byte[] rgbKey, byte[] rgbIV)
 Create an encryptor.
override ICryptoTransform CreateDecryptor (byte[] rgbKey, byte[] rgbIV)
 Create a decryptor.

Properties

override int BlockSize
 Get / set the applicable block size.
override KeySizes[] LegalKeySizes
 Get an array of legal KeySizeskey sizes..
override KeySizes[] LegalBlockSizes
 Get an array of legal KeySizesblock sizes.
byte[] key
override byte[] Key
 Get / set the key value applicable.

Detailed Description

Defines a wrapper object to access the Pkzip algorithm. This class cannot be inherited.

Definition at line 371 of file PkzipClassic.cs.


Member Function Documentation

override ICryptoTransform ICSharpCode::SharpZipLib::Encryption::PkzipClassicManaged::CreateDecryptor byte[]  rgbKey,
byte[]  rgbIV
[inline]
 

Create a decryptor.

Parameters:
rgbKey Keys to use for this new decryptor.
rgbIV Initialisation vector for the new decryptor.
Returns:
Returns a new decryptor.

Definition at line 464 of file PkzipClassic.cs.

Referenced by ICSharpCode::SharpZipLib::Zip::ZipFile::CreateAndInitDecryptionStream(), and ICSharpCode::SharpZipLib::Zip::ZipInputStream::InitialRead().

override ICryptoTransform ICSharpCode::SharpZipLib::Encryption::PkzipClassicManaged::CreateEncryptor byte[]  rgbKey,
byte[]  rgbIV
[inline]
 

Create an encryptor.

Parameters:
rgbKey The key to use for this encryptor.
rgbIV Initialisation vector for the new encryptor.
Returns:
Returns a new PkzipClassic encryptor

Definition at line 450 of file PkzipClassic.cs.

Referenced by ICSharpCode::SharpZipLib::Zip::ZipFile::CreateAndInitEncryptionStream().

override void ICSharpCode::SharpZipLib::Encryption::PkzipClassicManaged::GenerateIV  )  [inline]
 

Generate an initial vector.

Definition at line 401 of file PkzipClassic.cs.

override void ICSharpCode::SharpZipLib::Encryption::PkzipClassicManaged::GenerateKey  )  [inline]
 

Generate a new random key.

Definition at line 437 of file PkzipClassic.cs.


Property Documentation

override int ICSharpCode::SharpZipLib::Encryption::PkzipClassicManaged::BlockSize [get, set]
 

Get / set the applicable block size.

The only valid block size is 8.

Definition at line 378 of file PkzipClassic.cs.

override byte [] ICSharpCode::SharpZipLib::Encryption::PkzipClassicManaged::Key [get, set]
 

Get / set the key value applicable.

Definition at line 424 of file PkzipClassic.cs.

byte [] ICSharpCode::SharpZipLib::Encryption::PkzipClassicManaged::key [private]
 

Definition at line 418 of file PkzipClassic.cs.

override KeySizes [] ICSharpCode::SharpZipLib::Encryption::PkzipClassicManaged::LegalBlockSizes [get]
 

Get an array of legal KeySizesblock sizes.

Definition at line 410 of file PkzipClassic.cs.

override KeySizes [] ICSharpCode::SharpZipLib::Encryption::PkzipClassicManaged::LegalKeySizes [get]
 

Get an array of legal KeySizeskey sizes..

Definition at line 390 of file PkzipClassic.cs.


The documentation for this class was generated from the following file:
Generated on Fri Jun 23 21:50:06 2006 for OblivionModTranslator by  doxygen 1.4.6-NO