Package yawPyCrypto :: Module _KeyCipherBase :: Class KeyEncryptBase
[show private | hide private]
[frames | no frames]

Class KeyEncryptBase

object --+
         |
        KeyEncryptBase

Known Subclasses:
KeyEncryptCipher, ZipKeyEncryptCipher

Abstract base class used for extending the EncryptBase class for encryption of packets using public key encryption algorithms. This class support writing stream meta-information for public key streams.
Method Summary
  __init__(self, enc_keys, sign_keys)
Initialize the key encryption class by assigning the list of encryption and signature keys that are used to encrypt/sign the stream.
a new object with type S, a subtype of T __new__(S, ...)
  _encryptionHeader(self)
Write the encryption header.
  _encryptionSignature(self)
Write out the key signatures for this stream.

Class Variable Summary
bool _showpassword

Method Details

__init__(self, enc_keys=[], sign_keys=[])
(Constructor)

Initialize the key encryption class by assigning the list of encryption and signature keys that are used to encrypt/sign the stream.

__new__(S, ...)

Returns:
a new object with type S, a subtype of T

_encryptionHeader(self)

Write the encryption header. This header contains the password in encrypted form for all keys for which the stream is to be encrypted. This method is called from EncryptBase initialization.

_encryptionSignature(self)

Write out the key signatures for this stream. The key signatures are all read on decryption, and checked against the stream.

Class Variable Details

_showpassword

Type:
bool
Value:
False                                                                  

Generated by Epydoc 1.1 on Sun Aug 17 03:32:34 2003 http://epydoc.sf.net