Package pygar.cryptography

This package provides facades and interfaces to cryptographic functions used in Pygar software.

* The overall system of classes permits the selection of a cryptographic algorithm through a configuration system. However, this default provider may break for some choices of algorithms because it frequently assumes the key and block lengths for AES algorithm. At this time, the entire library has been tested only with complementary set of algorithms: AES, RSA, and SHA-1.

  • Interface Summary 
    Interface Description
    DocumentCrypto<KeyType,​NameType,​DocSchemaType,​DocType>
    Work in progress -- may be altered considerably -- see below.
    SessionKeyStore
    This interface declares methods to read and write a secret key used to conceal session data.
  • Class Summary 
    Class Description
    CryptoDefault
    CryptoDefault is the default provider for basic cryptographic services.
    CryptoEngine
    Objects that implement the abstract class CryptoEngine supply methods for the standard cryptography algorithms.
  • Exception Summary 
    Exception Description
    CryptoException
    The CryptoException collects and replaces a variety of exceptions that might occur.