public interface InteractiveArgument extends TwoPartyProtocol
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROVER_ROLE |
static java.lang.String |
VERIFIER_ROLE |
| Modifier and Type | Method and Description |
|---|---|
default void |
debugProof(CommonInput commonInput,
SecretInput secretInput)
Checks if commonInput and secretInput are valid inputs for this protocol.
|
default java.lang.String[] |
getRoleNames()
Returns names for the roles of the participants in this protocol (for example, "prover" or "verifier"
in the case of an
InteractiveArgument). |
InteractiveArgumentInstance |
instantiateProtocol(java.lang.String role,
CommonInput commonInput,
SecretInput secretInput) |
default InteractiveArgumentInstance |
instantiateProver(CommonInput commonInput,
SecretInput witness) |
default InteractiveArgumentInstance |
instantiateVerifier(CommonInput commonInput) |
getFirstMessageRole, runProtocolLocallystatic final java.lang.String PROVER_ROLE
static final java.lang.String VERIFIER_ROLE
default java.lang.String[] getRoleNames()
TwoPartyProtocolInteractiveArgument).getRoleNames in interface TwoPartyProtocolInteractiveArgumentInstance instantiateProtocol(java.lang.String role, CommonInput commonInput, SecretInput secretInput)
instantiateProtocol in interface TwoPartyProtocoldefault InteractiveArgumentInstance instantiateProver(CommonInput commonInput, SecretInput witness)
default InteractiveArgumentInstance instantiateVerifier(CommonInput commonInput)
default void debugProof(CommonInput commonInput, SecretInput secretInput)