cryptix.test

Class TestElGamal


public class TestElGamal
extends BaseTest

This object tests the RawElGamal* and *_ElGamal_PKCS1 classes, by generating 6 keypairs with varying strength (384- to 1024-bit in 128-bit increments). It then tests each newly created keypair by: Note: we should really test against fixed conformance data, to ensure interoperability with other implementations. Randomised tests are useful but not sufficient.

Copyright © 1997 Systemics Ltd on behalf of the Cryptix Development Team.
All rights reserved.

$Revision: 1.8 $

Authors:
David Hopwood
Raif S. Naffah
Since:
Cryptix 2.2.2

Field Summary

Fields inherited from class cryptix.util.test.BaseTest

out, status

Method Summary

protected void
engineTest()
This method should be overridden by test subclasses, to perform the actual testing.
static void
main(String[] args)

Methods inherited from class cryptix.util.test.BaseTest

commandline, commandline, describeOptions, describeUsage, engineTest, error, error, error, fail, getErrors, getExpectedPasses, getFailures, getName, getPasses, getSkipped, init, isGuiEnabled, isOverallPass, isVerbose, parseOption, parseOptions, pass, passIf, report, setExpectedPasses, setGuiEnabled, setName, setOutput, setVerbose, skip, test, waitForExit

Method Details

engineTest

protected void engineTest()
            throws Exception
This method should be overridden by test subclasses, to perform the actual testing.
Overrides:
engineTest in interface BaseTest

main

public static void main(String[] args)