org.logi.crypto.test
Class TestSign

java.lang.Object
  |
  +--org.logi.crypto.Crypto
        |
        +--org.logi.crypto.test.TestSign

public class TestSign
extends Crypto

This application passes everything on standard input to a SignStream and then on through a VerifyStream and onto standard output. This is a very complicated way to achieve nothing at all.

It tests the SignStream, VerifyStream, Signature, RSAKey, SHA1State and other classes.

Author:
Logi Ragnarsson (logir@logi.org)

Fields inherited from class org.logi.crypto.Crypto
BIT, cdsPath, EMPTY_ARRAY, FOUR, keySource, NIBBLE, ONE, primeCertainty, random, TWO, ZERO
 
Method Summary
static void main(java.lang.String[] arg)
           
 
Methods inherited from class org.logi.crypto.Crypto
binString, binString, ensureArrayLength, ensureArrayLength, equal, equalRelaxed, equalSub, fromHexNibble, fromHexString, fromString, fromString, hexString, hexString, hexString, hexString, hexString, initRandom, initRandom, makeClass, makeInt, makeLong, makeSessionKey, pastSpace, pickBits, pickBits, prettyPrint, prettyPrint, readBlock, readInt, trimArrayLength, trimArrayLength, trimLeadingZeroes, writeBytes, writeBytes, writeInt
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] arg)
                 throws java.lang.Exception


Copyright (c) 1997-2001 Logi Ragnarsson - Distributed under the GPL