Package yawPyCrypto :: Module KeyCipher :: Class KeyDecryptCipher
[show private | hide private]
[frames | no frames]

Class KeyDecryptCipher

             object --+    
         KeyDecryptBase --+
             object --+   |
                      |   |
            DecryptBase --+
     object --+           |
              |           |
     StreamBase --+       |
                  |       |
        InputStream --+   |
                      |   |
     object --+       |   |
              |       |   |
AlgoDefinitions --+   |   |
                  |   |   |
       CipherStream --+   |
                      |   |
          DecryptStream --+

Key cipher decryption class. This is the main entrypoint for all stream decryption to decrypt streams made by the KeyEncryptCipher class. An instance of this class works similar to an instance of the DecryptCipher class.
Method Summary
  __init__(self, dec_keys, verify_keys, IV)
Initialize the decryption cipher.
a new object with type S, a subtype of T __new__(S, ...)

Method Details

__init__(self, dec_keys=[], verify_keys=[], IV=None)

Initialize the decryption cipher. The parameters used here are
the following:
    dec_keys - Keys to try for decrypting the stream. The key
               which was actually used for decryption of the
               stream is assigned to the decryptionKey property
               of the instance.
    verify_keys - Keys which are used to verify the signature(s)
                  that are appended to the cipher packet. The key
                  which was actually used for verifying the
                  signature is assigned to the verifyKey property
                  of the instance.
    IV - In case you passed a user-defined block chaining mode IV
         to the encryption cipher class, you must also pass it
         to the decryption. Special value None means to use the
         default IV defined in
All arguments except dec_keys and verify_keys have safe defaults.

__new__(S, ...)

a new object with type S, a subtype of T

Generated by Epydoc 1.1 on Sun Aug 17 03:32:32 2003