public class SchnorrVariableValueList extends java.lang.Object implements SchnorrVariableAssignment, AnnouncementSecret, Response
SchnorrVariableValues.SchnorrVariableAssignment.EmptyAssignmentSecretInput.EmptySecretInput, SecretInput.SecretInputVectorAnnouncementSecret.AnnouncementSecretVector, AnnouncementSecret.EmptyAnnouncementSecretResponse.EmptyResponse, Response.ResponseVectorEMPTYEMPTY| Constructor and Description |
|---|
SchnorrVariableValueList(java.util.List<? extends SchnorrVariable> variables,
org.cryptimeleon.math.serialization.Representation repr) |
SchnorrVariableValueList(java.util.List<? extends SchnorrVariableValue> variableValues) |
SchnorrVariableValueList(java.util.Map<java.lang.String,SchnorrVariableValue> nameValueMap)
Creates the list by ordering the given values lexicographically by their name.
|
| Modifier and Type | Method and Description |
|---|---|
org.cryptimeleon.math.serialization.Representation |
getRepresentation() |
SchnorrVariableValue |
getValue(SchnorrVariable variable) |
SchnorrVariableValueList |
map(java.util.function.BiFunction<SchnorrVariable,SchnorrVariableValue,SchnorrVariableValue> mapper) |
org.cryptimeleon.math.hash.ByteAccumulator |
updateAccumulator(org.cryptimeleon.math.hash.ByteAccumulator accumulator) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitevalLinear, fallbackTo, getSubstitutionpublic SchnorrVariableValueList(java.util.List<? extends SchnorrVariableValue> variableValues)
public SchnorrVariableValueList(java.util.List<? extends SchnorrVariable> variables, org.cryptimeleon.math.serialization.Representation repr)
public SchnorrVariableValueList(java.util.Map<java.lang.String,SchnorrVariableValue> nameValueMap)
nameValueMap - a map mapping variable names to their variable valuespublic SchnorrVariableValue getValue(SchnorrVariable variable)
getValue in interface SchnorrVariableAssignmentpublic org.cryptimeleon.math.hash.ByteAccumulator updateAccumulator(org.cryptimeleon.math.hash.ByteAccumulator accumulator)
updateAccumulator in interface org.cryptimeleon.math.hash.UniqueByteRepresentablepublic org.cryptimeleon.math.serialization.Representation getRepresentation()
getRepresentation in interface org.cryptimeleon.math.serialization.Representablepublic SchnorrVariableValueList map(java.util.function.BiFunction<SchnorrVariable,SchnorrVariableValue,SchnorrVariableValue> mapper)