public interface CTPartyOne
This is a general interface plays as party one of a coin tossing protocol.
Each concrete party one class of a coin tossing protocol should implement this interface.
CTOutput toss() throws java.io.IOException, CommitValueException, CheatAttemptException, java.lang.ClassNotFoundException
java.io.IOException- can occur in the commit phase.
CommitValueException- can occur in case the protocol uses an ElGamal committer.
java.lang.ClassNotFoundException- if there was a problem in the serialization mechanism
CheatAttemptException- if party one suspects that party two is trying to cheat.