public class MclBilinearGroupImpl extends java.lang.Object implements BilinearGroupImpl
| Modifier and Type | Field and Description |
|---|---|
protected static MclGroup1Impl |
g1 |
protected static MclGroup2Impl |
g2 |
protected static MclGroupTImpl |
gt |
protected static MclHashIntoG1Impl |
hashIntoG1 |
protected static MclHashIntoG2Impl |
hashIntoG2 |
| Constructor and Description |
|---|
MclBilinearGroupImpl() |
MclBilinearGroupImpl(Representation repr) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
BilinearMapImpl |
getBilinearMap() |
MclGroup1Impl |
getG1() |
MclGroup2Impl |
getG2() |
MclGroupTImpl |
getGT() |
HashIntoGroupImpl |
getHashIntoG1() |
HashIntoGroupImpl |
getHashIntoG2() |
HashIntoGroupImpl |
getHashIntoGT() |
GroupHomomorphismImpl |
getHomomorphismG2toG1() |
BilinearGroup.Type |
getPairingType() |
Representation |
getRepresentation() |
java.lang.Integer |
getSecurityLevel() |
int |
hashCode() |
protected static void |
init(boolean printError) |
static boolean |
isAvailable()
Returns true if the native library is available, false otherwise.
|
protected static MclGroup1Impl g1
protected static MclGroup2Impl g2
protected static MclGroupTImpl gt
protected static MclHashIntoG1Impl hashIntoG1
protected static MclHashIntoG2Impl hashIntoG2
public MclBilinearGroupImpl()
public MclBilinearGroupImpl(Representation repr)
public static boolean isAvailable()
protected static void init(boolean printError)
public MclGroup1Impl getG1()
getG1 in interface BilinearGroupImplpublic MclGroup2Impl getG2()
getG2 in interface BilinearGroupImplpublic MclGroupTImpl getGT()
getGT in interface BilinearGroupImplpublic BilinearMapImpl getBilinearMap()
getBilinearMap in interface BilinearGroupImplpublic GroupHomomorphismImpl getHomomorphismG2toG1() throws java.lang.UnsupportedOperationException
getHomomorphismG2toG1 in interface BilinearGroupImpljava.lang.UnsupportedOperationExceptionpublic HashIntoGroupImpl getHashIntoG1() throws java.lang.UnsupportedOperationException
getHashIntoG1 in interface BilinearGroupImpljava.lang.UnsupportedOperationExceptionpublic HashIntoGroupImpl getHashIntoG2() throws java.lang.UnsupportedOperationException
getHashIntoG2 in interface BilinearGroupImpljava.lang.UnsupportedOperationExceptionpublic HashIntoGroupImpl getHashIntoGT() throws java.lang.UnsupportedOperationException
getHashIntoGT in interface BilinearGroupImpljava.lang.UnsupportedOperationExceptionpublic java.lang.Integer getSecurityLevel()
getSecurityLevel in interface BilinearGroupImplpublic BilinearGroup.Type getPairingType()
getPairingType in interface BilinearGroupImplpublic Representation getRepresentation()
getRepresentation in interface Representablepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object