|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmix.Mix
public final class Mix
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
.
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 |
---|
public Mix(java.security.KeyPair keyPair)
Mix
which will use the bypassed KeyPair
for asymmetric cryptography.
Instantiates an coordinates the components needed to mix messages.
keyPair
- KeyPair
that shall be used for asymmetric
cryptography.public Mix()
Mix
which will generate its own KeyPair
asymmetric cryptography.
Instantiates an coordinates the components needed to mix messages.
Method Detail |
---|
public static void main(java.lang.String[] argv)
Mix
.
argv
- Not used.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |