mix
Class Mix

java.lang.Object
  extended by mix.Mix

public final class Mix
extends java.lang.Object

Coordinates the components of this mix. Each component (offering methods) has its own (architecture) interface (see package architectureInterfaces) and a controller class (named "ComponentName"Controller), implementing the according interface. Therefore, the implementation of each component can change, without changes to any other component (interface and implementing (controller) class remain the same).

General information: A mix is some kind of proxy that attempts to hide the correspondence between its incoming and outgoing messages, as proposed by David Chaum in 1981.

This mix implements the following functions (and others):

A test environment is found in package testEnvironment.

Author:
Karl-Peter Fuchs

Constructor Summary
Mix()
          Creates a new Mix which will generate its own KeyPair asymmetric cryptography.
Mix(java.security.KeyPair keyPair)
          Creates a new Mix which will use the bypassed KeyPair for asymmetric cryptography.
 
Method Summary
static void main(java.lang.String[] argv)
          Creates a new Mix.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mix

public Mix(java.security.KeyPair keyPair)
Creates a new Mix which will use the bypassed KeyPair for asymmetric cryptography.

Instantiates an coordinates the components needed to mix messages.

Parameters:
keyPair - KeyPair that shall be used for asymmetric cryptography.

Mix

public Mix()
Creates a new Mix which will generate its own KeyPair asymmetric cryptography.

Instantiates an coordinates the components needed to mix messages.

Method Detail

main

public static void main(java.lang.String[] argv)
Creates a new Mix.

Parameters:
argv - Not used.