public class SchnorrGroupElemVariableValue extends java.lang.Object implements SchnorrVariableValue
| Modifier and Type | Field and Description |
|---|---|
protected org.cryptimeleon.math.structures.groups.GroupElement |
value |
protected SchnorrGroupElemVariable |
variable |
| Constructor and Description |
|---|
SchnorrGroupElemVariableValue(org.cryptimeleon.math.structures.groups.GroupElement value,
SchnorrGroupElemVariable variable) |
| Modifier and Type | Method and Description |
|---|---|
org.cryptimeleon.math.expressions.group.GroupElementExpression |
asExpression() |
boolean |
equals(java.lang.Object o) |
SchnorrGroupElemVariableValue |
evalLinear(java.math.BigInteger factor,
SchnorrVariableValue summand)
Returns a
SchnorrVariableValue that is \(\text{factor} * \text{this} + \text{summand}\). |
org.cryptimeleon.math.serialization.Representation |
getRepresentation() |
org.cryptimeleon.math.structures.groups.GroupElement |
getValue() |
SchnorrVariable |
getVariable() |
int |
hashCode() |
org.cryptimeleon.math.hash.ByteAccumulator |
updateAccumulator(org.cryptimeleon.math.hash.ByteAccumulator accumulator) |
protected final org.cryptimeleon.math.structures.groups.GroupElement value
protected final SchnorrGroupElemVariable variable
public SchnorrGroupElemVariableValue(org.cryptimeleon.math.structures.groups.GroupElement value,
SchnorrGroupElemVariable variable)
public org.cryptimeleon.math.serialization.Representation getRepresentation()
getRepresentation in interface org.cryptimeleon.math.serialization.Representablepublic SchnorrGroupElemVariableValue evalLinear(java.math.BigInteger factor, SchnorrVariableValue summand)
SchnorrVariableValueSchnorrVariableValue that is \(\text{factor} * \text{this} + \text{summand}\).evalLinear in interface SchnorrVariableValuepublic SchnorrVariable getVariable()
getVariable in interface SchnorrVariableValuepublic org.cryptimeleon.math.expressions.group.GroupElementExpression asExpression()
asExpression in interface SchnorrVariableValuepublic org.cryptimeleon.math.structures.groups.GroupElement getValue()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic org.cryptimeleon.math.hash.ByteAccumulator updateAccumulator(org.cryptimeleon.math.hash.ByteAccumulator accumulator)
updateAccumulator in interface org.cryptimeleon.math.hash.UniqueByteRepresentable