Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 806 Bytes

README.md

File metadata and controls

22 lines (19 loc) · 806 Bytes

Navigation: DEDIS :: Cothority :: Apps :: E-Voting :: Client API

Client API

The system is accessible through protocol buffer message over websockets. See struct.go for a complete overview.

message Open{} // Create a new election
message Cast{} // Cast a ballot in an election
message Shuffle{} // Initiate the shuffle protocol
message Decrypt{} // Start the decryption protocol
message Reconstruct{} // Reconstruct plaintext from partials
message GetElections{} // Retrieve all elections for a user
message GetBox{} // Get encrypted ballots of an election
message GetMixes{} // Get all the created mixes
message GetPartials{} // Get all the partially decrypted ballots