public class CmtPedersenReceiver extends CmtPedersenReceiverCore implements CmtReceiver, PerfectlyHidingCmt, CmtOnBigInteger
For more information see Protocol 6.5.3, page 164 of Efficient Secure Two-Party Protocols by Hazay-Lindell.
The pseudo code of this protocol can be found in Protocol 3.1 of pseudo codes document at http://cryptobiu.github.io/scapi/SDK_Pseudocode.pdf.
|Constructor and Description|
Constructor that receives a connected channel (to the receiver) and chooses default dlog and random.
Constructor that receives a connected channel (to the receiver), the DlogGroup agreed upon between them and a SecureRandom object.
|Modifier and Type||Method and Description|
This function converts the given commit value to a byte array.
getCommitmentPhaseValues, getPreProcessedValues, receiveCommitment, receiveDecommitment, verifyDecommitment
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public CmtPedersenReceiver(Channel channel) throws java.io.IOException
java.io.IOException- in case there was a problem in the communication in the preprocess phase.
public CmtPedersenReceiver(Channel channel, DlogGroup dlog, java.security.SecureRandom random) throws SecurityLevelException, InvalidDlogGroupException, java.io.IOException