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