All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class IS.hi.logir.cryptonite.test.TestEncryption

java.lang.Object
   |
   +----IS.hi.logir.cryptonite.test.TestEncryption

public class TestEncryption
extends Object
An application used to test and time encryption and decryption.

Author:
Logi Ragnarsson (logir@hi.is)

Variable Index

 o lastCallToTimer

Constructor Index

 o TestEncryption()

Method Index

 o checkDiff(Data, Data)
 o error()
 o main(String[])
main entrypoint - starts the application
 o timer(PrintStream)
Write the number of minutes since the last call to timer to the stream out.

Variables

 o lastCallToTimer
 static Date lastCallToTimer

Constructors

 o TestEncryption
 public TestEncryption()

Methods

 o timer
 public static void timer(PrintStream out)
Write the number of minutes since the last call to timer to the stream out.

 o checkDiff
 public static boolean checkDiff(Data A,
                                 Data B)
 o error
 private static void error()
 o main
 public static void main(String arg[]) throws IOException, ClassNotFoundException
main entrypoint - starts the application

Parameters:
args - java.lang.String[]
Throws: IOException
if there is any kind of I/O or encryption error.
Throws: ClassNotFoundException
if there is trouble with the deserialization of the KeyRing.

All Packages  Class Hierarchy  This Package  Previous  Next  Index