software.engine
Class MeetingFour
java.lang.Object
software.common.Meeting
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
|
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 |
MeetingFourInSchema
public static java.lang.String MeetingFourInSchema
MeetingFourOutSchema
public static java.lang.String MeetingFourOutSchema
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
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 outoutputFile - - 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 m2inout - - 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