public abstract class SchnorrVariable
extends java.lang.Object
implements org.cryptimeleon.math.serialization.annotations.RepresentationRestorer, org.cryptimeleon.math.expressions.VariableExpression
A variable in the context of SchnorrFragments.
This is only the (static) variable. SchnorrVariableValue represents a concrete value.
Variables are named only for debuggability.
Two variables are equal iff they are the same object.
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
name |
| Constructor and Description |
|---|
SchnorrVariable(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
abstract SchnorrVariableValue |
generateRandomValue() |
int |
hashCode() |
java.lang.Object |
restoreFromRepresentation(java.lang.reflect.Type type,
org.cryptimeleon.math.serialization.Representation repr) |
abstract SchnorrVariableValue |
restoreValue(org.cryptimeleon.math.serialization.Representation repr) |
java.lang.String |
toString() |
public abstract SchnorrVariableValue generateRandomValue()
public abstract SchnorrVariableValue restoreValue(org.cryptimeleon.math.serialization.Representation repr)
public java.lang.Object restoreFromRepresentation(java.lang.reflect.Type type,
org.cryptimeleon.math.serialization.Representation repr)
restoreFromRepresentation in interface org.cryptimeleon.math.serialization.annotations.RepresentationRestorerpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object