| Modifier and Type | Field and Description |
|---|---|
protected org.cryptimeleon.math.structures.rings.zn.Zn.ZnElement |
challenge |
| Constructor and Description |
|---|
ZnChallenge(org.cryptimeleon.math.structures.rings.zn.Zn.ZnElement challenge) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.math.BigInteger |
getChallenge() |
ChallengeSpace |
getChallengeSpace() |
org.cryptimeleon.math.serialization.Representation |
getRepresentation() |
int |
hashCode() |
org.cryptimeleon.math.hash.ByteAccumulator |
updateAccumulator(org.cryptimeleon.math.hash.ByteAccumulator byteAccumulator) |
public ZnChallenge(org.cryptimeleon.math.structures.rings.zn.Zn.ZnElement challenge)
public java.math.BigInteger getChallenge()
public org.cryptimeleon.math.serialization.Representation getRepresentation()
getRepresentation in interface org.cryptimeleon.math.serialization.Representablepublic org.cryptimeleon.math.hash.ByteAccumulator updateAccumulator(org.cryptimeleon.math.hash.ByteAccumulator byteAccumulator)
updateAccumulator in interface org.cryptimeleon.math.hash.UniqueByteRepresentablepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic ChallengeSpace getChallengeSpace()
getChallengeSpace in interface Challenge