cryptix.test

Class TestRSA


public class TestRSA
extends BaseTest

This object tests the RawRSA* and RSA_*_PKCS1 classes by generating 4 keypairs with varying strength (384- to 768-bit in 128-bit increments). It then tests each newly created keypair by signing a fixed string with the private key and verifying the obtained signature with the public one.

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

$Revision: 1.13 $

Author:
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)