Package cryptoIDlib :: Module SelfTest :: Class SelfTest
[show private | hide private]
[frames | no frames]

Class SelfTest

SelfTestBase --+
               |
              SelfTest


Method Summary
  selfTest(self, dir)
Tests the various cryptoIDlib objects.
  speedTest(self)
  testAESClass(self, AESClass, aesClassName)
  testCA(self, ca)
  testFiles(self, dir)
  testKeyClass(self, KeyClass, keyClassName)
  testVA(self, va)

Method Details

selfTest(self, dir=None)

Tests the various cryptoIDlib objects.

If a directory name is passed in, the function will go through this directory, and perform different checks on the files within, depending upon their names. If the filename starts with:

"good" it must contain a valid <certChain>. "parse" it must contain a <certChain> that fails to parse. "valid" it must contain a <certChain> that parses but then fails to validate.

Generated by Epydoc 2.0 on Mon May 24 02:16:00 2004 http://epydoc.sf.net