public class SigmaProtocolVerifierInstance extends SigmaProtocolInstance
| Modifier and Type | Field and Description |
|---|---|
protected org.cryptimeleon.craco.protocols.arguments.sigma.instance.SigmaProtocolVerifierInstance.State |
state |
announcement, announcementSecret, challenge, commonInput, protocol, response, secretInput| Constructor and Description |
|---|
SigmaProtocolVerifierInstance(SigmaProtocol protocol,
CommonInput commonInput) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getRoleName() |
boolean |
hasTerminated()
Returns true if the protocol is done, meaning no further calls to
nextMessage() are necessary. |
org.cryptimeleon.math.serialization.Representation |
nextMessage(org.cryptimeleon.math.serialization.Representation received)
Outputs the next message this protocol instance demands to be sent to the other party.
|
getProtocol, isAcceptingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsendsFirstMessageprotected org.cryptimeleon.craco.protocols.arguments.sigma.instance.SigmaProtocolVerifierInstance.State state
public SigmaProtocolVerifierInstance(SigmaProtocol protocol, CommonInput commonInput)
public java.lang.String getRoleName()
public org.cryptimeleon.math.serialization.Representation nextMessage(org.cryptimeleon.math.serialization.Representation received)
TwoPartyProtocolInstancereceived - the message recently received from the other party
or null if this is the first round and no messages have been sent yetm to be sent to the other party (who then calls nextMessage(m) on their end).
If nextMessage returns null, the protocol has terminatedpublic boolean hasTerminated()
TwoPartyProtocolInstancenextMessage() are necessary.