org.logi.crypto.test
Class TestKey

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

public class TestKey
extends Crypto

This application tests the various Key classes.

Author:
Logi Ragnarsson (logir@logi.org)
See Also:
Key

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

Method Detail

createKeys

public static KeyPair createKeys(java.lang.String keyType,
                                 java.io.PrintWriter details,
                                 java.io.PrintWriter summary)

test

public static boolean test(java.lang.String keyType,
                           java.io.PrintWriter details,
                           java.io.PrintWriter summary)

main

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


Copyright 1997-2000 Logi Ragnarsson