public static class ProofOfPartialKnowledge.ProverSpecBuilder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
ProofOfPartialKnowledge.ProverSpec |
build() |
void |
putSecretInput(java.lang.String protocolName,
SecretInput secretInput)
Registers the secret input for the protocol with the given name (same name as used in
leaf(...) within the ProofOfPartialKnowledge.provideProtocolTree(org.cryptimeleon.craco.protocols.CommonInput, org.cryptimeleon.craco.protocols.arguments.sigma.schnorr.SendFirstValue) call). |
void |
setSendFirstValue(SendFirstValue sendFirstValue)
Instructs the fragment to send the given value first to the verifier.
|
public void setSendFirstValue(SendFirstValue sendFirstValue)
public void putSecretInput(java.lang.String protocolName,
SecretInput secretInput)
leaf(...) within the ProofOfPartialKnowledge.provideProtocolTree(org.cryptimeleon.craco.protocols.CommonInput, org.cryptimeleon.craco.protocols.arguments.sigma.schnorr.SendFirstValue) call).
If you don't have a valid witness for some subprotocol, simply don't call this.protocolName - the same name as used in addVariable()secretInput - a value that (hopefully) makes the subprotocol accept.public ProofOfPartialKnowledge.ProverSpec build()