Package pygar.demo0P

Class DemoZero

java.lang.Object
pygar.demo0P.DemoZero

public class DemoZero
extends java.lang.Object

This class implements a demonstration of Blind Encrypted Data matching on sets of text records. The records are held by two parties called the "Green Team" and the "Blue Team". The two parties desire to keep the records separate but also they need to identify similar records that might be securely exchanged to the mutual benefit of both parties. They employ the services of a "Blind Agent Negotiator" or BAN who conducts and encrypted matching session. The clear text of the secret records never leaves the teams; however, the BAN is able to match encrypted records and supply the accession numbers of the matching records to the teams.

The demonstration employs separate control threads for all three parties as well as a fourth party: the user/observer. The observer gets a control panel to reset the system and start a negotiation session. All four parties are represented by a GUI panel that shows the progress of the negotiation session and allows viewing a sample of the data.

The matching function is defined in the function xcorrelate.

See Also:
CompareFiles.xcorrelate(pygar.demo0P.CompareFiles.DocStruct, pygar.demo0P.CompareFiles.DocStruct)
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static BAN aBAN  
    static TeamMember aBlue  
    static TeamMember aGreen  
    static MessageAgent aOpsMgr  
    static java.lang.String dirPath
    currently the demonstration requires that the variable dirPath should be set for the demonstration to the directory path leading to the directory in which are found the "data" and "config" subdirectories for the demonstration.
    static DemoZero instance
    We keep an instance of this class available for TBD future use.
    static Profile profile  
  • Constructor Summary

    Constructors 
    Constructor Description
    DemoZero​(java.lang.String dir)  
  • Method Summary

    Modifier and Type Method Description
    static void main​(java.lang.String[] args)
    Function main starts the process threads for each party and opens their associated GUI interaction panel.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • dirPath

      public static java.lang.String dirPath
      currently the demonstration requires that the variable dirPath should be set for the demonstration to the directory path leading to the directory in which are found the "data" and "config" subdirectories for the demonstration. Currently the directory path is set by the first argument to the program on the command line (See function "main" below).
    • aOpsMgr

      public static MessageAgent aOpsMgr
    • aGreen

      public static TeamMember aGreen
    • aBlue

      public static TeamMember aBlue
    • aBAN

      public static BAN aBAN
    • profile

      public static Profile profile
    • instance

      public static DemoZero instance
      We keep an instance of this class available for TBD future use. If it remains unused, make the variable local to the main procedure.
  • Constructor Details

  • Method Details