public class PS18SigningKey extends java.lang.Object implements SigningKey
| Constructor and Description |
|---|
PS18SigningKey(org.cryptimeleon.math.serialization.Representation repr,
org.cryptimeleon.math.structures.rings.zn.Zp zp)
Constructs signing key from a representation and the finite field in
which exponentiation in the bilinear group is done.
|
PS18SigningKey(org.cryptimeleon.math.structures.rings.zn.Zp.ZpElement exponentX,
org.cryptimeleon.math.structures.rings.cartesian.RingElementVector exponentsYi) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
org.cryptimeleon.math.structures.rings.cartesian.RingElementVector |
getExponentsYi() |
org.cryptimeleon.math.structures.rings.zn.Zp.ZpElement |
getExponentX() |
int |
getNumberOfMessages() |
org.cryptimeleon.math.serialization.Representation |
getRepresentation() |
int |
hashCode() |
public PS18SigningKey(org.cryptimeleon.math.structures.rings.zn.Zp.ZpElement exponentX,
org.cryptimeleon.math.structures.rings.cartesian.RingElementVector exponentsYi)
public PS18SigningKey(org.cryptimeleon.math.serialization.Representation repr,
org.cryptimeleon.math.structures.rings.zn.Zp zp)
repr - The representation to construct the signing key from.zp - Field with p equals the order of the bilinear group.public org.cryptimeleon.math.serialization.Representation getRepresentation()
getRepresentation in interface org.cryptimeleon.math.serialization.Representablepublic org.cryptimeleon.math.structures.rings.zn.Zp.ZpElement getExponentX()
public org.cryptimeleon.math.structures.rings.cartesian.RingElementVector getExponentsYi()
public int getNumberOfMessages()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object