public class SPSGroth15PublicParameters extends java.lang.Object implements PublicParameters
| Modifier and Type | Field and Description |
|---|---|
protected org.cryptimeleon.math.structures.groups.GroupElement |
group1ElementG
g (g_1) \in G_1 in paper.
|
protected org.cryptimeleon.math.structures.groups.GroupElement |
group2ElementHatG
g_2 (\hat(g)) \in G_2 in paper.
|
protected org.cryptimeleon.math.structures.groups.cartesian.GroupElementVector |
groupElementsYi
\{Y}_1, ..., {Y}_l \in the same group as the plaintext in the paper.
|
protected SPSGroth15PublicParametersGen.Groth15Type |
type |
| Constructor and Description |
|---|
SPSGroth15PublicParameters(org.cryptimeleon.math.structures.groups.elliptic.BilinearGroup bilinearGroup,
SPSGroth15PublicParametersGen.Groth15Type type,
int numberOfMessages) |
SPSGroth15PublicParameters(org.cryptimeleon.math.serialization.Representation repr) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
org.cryptimeleon.math.structures.groups.elliptic.BilinearMap |
getBilinearMap() |
org.cryptimeleon.math.structures.groups.cartesian.GroupElementVector |
getGroupElementsYi() |
int |
getNumberOfMessages() |
org.cryptimeleon.math.structures.groups.GroupElement |
getOtherGroupGenerator() |
org.cryptimeleon.math.structures.groups.GroupElement |
getPlaintextGroupGenerator() |
org.cryptimeleon.math.serialization.Representation |
getRepresentation() |
org.cryptimeleon.math.structures.rings.zn.Zp |
getZp()
Returns the group Zp (where p is the group order of G1, G2, and GT)
|
int |
hashCode() |
protected SPSGroth15PublicParametersGen.Groth15Type type
protected org.cryptimeleon.math.structures.groups.GroupElement group1ElementG
protected org.cryptimeleon.math.structures.groups.GroupElement group2ElementHatG
protected org.cryptimeleon.math.structures.groups.cartesian.GroupElementVector groupElementsYi
public SPSGroth15PublicParameters(org.cryptimeleon.math.structures.groups.elliptic.BilinearGroup bilinearGroup,
SPSGroth15PublicParametersGen.Groth15Type type,
int numberOfMessages)
public SPSGroth15PublicParameters(org.cryptimeleon.math.serialization.Representation repr)
public org.cryptimeleon.math.serialization.Representation getRepresentation()
getRepresentation in interface org.cryptimeleon.math.serialization.Representablepublic org.cryptimeleon.math.structures.rings.zn.Zp getZp()
public org.cryptimeleon.math.structures.groups.elliptic.BilinearMap getBilinearMap()
public org.cryptimeleon.math.structures.groups.cartesian.GroupElementVector getGroupElementsYi()
public org.cryptimeleon.math.structures.groups.GroupElement getPlaintextGroupGenerator()
public org.cryptimeleon.math.structures.groups.GroupElement getOtherGroupGenerator()
public int getNumberOfMessages()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Object