public class BBSBPublicParameter extends java.lang.Object implements PublicParameters
| Constructor and Description |
|---|
BBSBPublicParameter(org.cryptimeleon.math.structures.groups.elliptic.BilinearGroup bilinearGroup,
org.cryptimeleon.math.structures.rings.zn.HashIntoZn hashIntoZp) |
BBSBPublicParameter(org.cryptimeleon.math.serialization.Representation repr) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
org.cryptimeleon.math.structures.groups.elliptic.BilinearGroup |
getBilinearGroup() |
org.cryptimeleon.math.structures.groups.elliptic.BilinearMap |
getBilinearMap() |
org.cryptimeleon.math.structures.groups.GroupElement |
getG1() |
org.cryptimeleon.math.structures.groups.GroupElement |
getG2() |
org.cryptimeleon.math.structures.groups.Group |
getGroupG1() |
org.cryptimeleon.math.structures.groups.Group |
getGroupG2() |
org.cryptimeleon.math.structures.groups.mappings.GroupHomomorphism |
getGroupHom() |
java.math.BigInteger |
getGroupSize()
Returns the group size of G1,G2, and GT
|
org.cryptimeleon.math.structures.rings.zn.HashIntoZn |
getHashIntoZp() |
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() |
void |
setG1(org.cryptimeleon.math.structures.groups.GroupElement g1) |
void |
setG2(org.cryptimeleon.math.structures.groups.GroupElement g2) |
public BBSBPublicParameter(org.cryptimeleon.math.structures.groups.elliptic.BilinearGroup bilinearGroup,
org.cryptimeleon.math.structures.rings.zn.HashIntoZn hashIntoZp)
public BBSBPublicParameter(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.groups.elliptic.BilinearGroup getBilinearGroup()
public org.cryptimeleon.math.structures.groups.GroupElement getG1()
public void setG1(org.cryptimeleon.math.structures.groups.GroupElement g1)
public org.cryptimeleon.math.structures.groups.GroupElement getG2()
public void setG2(org.cryptimeleon.math.structures.groups.GroupElement g2)
public org.cryptimeleon.math.structures.rings.zn.Zp getZp()
public java.math.BigInteger getGroupSize()
public org.cryptimeleon.math.structures.rings.zn.HashIntoZn getHashIntoZp()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic org.cryptimeleon.math.structures.groups.mappings.GroupHomomorphism getGroupHom()
public org.cryptimeleon.math.structures.groups.elliptic.BilinearMap getBilinearMap()
public org.cryptimeleon.math.structures.groups.Group getGroupG1()
public org.cryptimeleon.math.structures.groups.Group getGroupG2()