software.engine
Class MeetingFour

java.lang.Object
  extended by software.common.Meeting
      extended by software.engine.MeetingFour

public class MeetingFour
extends Meeting

For each row in the D table that has been filed in with a partial decrypted vote in Meeting three, the auditor chose left or right to open. Meeting four replies to the auditor by opening the frequired rows in the D tables.

Author:
stefan

Field Summary
static java.lang.String MeetingFourInSchema
           
static java.lang.String MeetingFourOutSchema
           
 
Fields inherited from class software.common.Meeting
CheckagainsSchema, MeetingOneInSchema, schemaFactory
 
Constructor Summary
MeetingFour()
           
MeetingFour(org.w3c.dom.Document doc)
           
MeetingFour(java.lang.String confFile)
           
 
Method Summary
 void go(java.lang.String inFile, java.lang.String outputFile)
           
static void main(java.lang.String[] args)
           
 void revealUnvoted(java.lang.String[] allM3InsAndM2In, java.lang.String meetingOneIn, java.lang.String out)
          Openes all the ballots that were not used during the elections and were not audit in the prelection audit
 
Methods inherited from class software.common.Meeting
getC, getEs, getNumberOfBallots, getNumberOfDs, getPartitions, getProws, init, init, setEs, setNumberOfBallots, setNumberOfDs, setPartitions, setProws
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MeetingFourInSchema

public static java.lang.String MeetingFourInSchema

MeetingFourOutSchema

public static java.lang.String MeetingFourOutSchema
Constructor Detail

MeetingFour

public MeetingFour()
            throws java.lang.Exception
Throws:
java.lang.Exception

MeetingFour

public MeetingFour(java.lang.String confFile)
            throws java.lang.Exception
Throws:
java.lang.Exception

MeetingFour

public MeetingFour(org.w3c.dom.Document doc)
            throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

go

public void go(java.lang.String inFile,
               java.lang.String outputFile)
        throws java.lang.Exception
Parameters:
inFile - - the challenges from the auditor. it does not check that the challenges are consistent with meeting three out
outputFile - - where the opened commitments are written
Throws:
java.lang.Exception - - the the meeting has not been initialized with the two master keys

revealUnvoted

public void revealUnvoted(java.lang.String[] allM3InsAndM2In,
                          java.lang.String meetingOneIn,
                          java.lang.String out)
                   throws java.lang.Exception
Openes all the ballots that were not used during the elections and were not audit in the prelection audit

Parameters:
allM3InsAndM2In - - an array of paths two files pointing to m3in and m2in
out - - where the opened commitments are written
Throws:
java.lang.Exception - - the the meeting has not been initialized with the two master keys

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception