public class MclGroup2Impl extends MclGroupImpl
| Modifier and Type | Field and Description |
|---|---|
protected MclGroup2ElementImpl |
generator |
| Constructor and Description |
|---|
MclGroup2Impl() |
MclGroup2Impl(Representation repr) |
| Modifier and Type | Method and Description |
|---|---|
protected MclGroup2ElementImpl |
createElement(G2 G2) |
double |
estimateCostInvPerOp() |
MclGroup2ElementImpl |
getElement(java.lang.String string) |
MclGroup2ElementImpl |
getGenerator() |
protected G2 |
getInternalObjectFromString(java.lang.String str)
Outputs an object of type mcl.G1, mcl.G2, or mcl.GT
|
MclGroup2ElementImpl |
getNeutralElement() |
MclGroup2ElementImpl |
getUniformlyRandomElement() |
GroupElementImpl |
restoreElement(Representation repr) |
equals, getRepresentation, getUniqueByteLength, hashCode, hasPrimeSize, isCommutative, sizeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitexp, getUniformlyRandomNonNeutral, implementsOwnExp, implementsOwnMultiExp, multiexp, restoreFromRepresentationprotected MclGroup2ElementImpl generator
public MclGroup2Impl()
public MclGroup2Impl(Representation repr)
public MclGroup2ElementImpl getElement(java.lang.String string)
getElement in class MclGroupImplpublic GroupElementImpl restoreElement(Representation repr)
protected G2 getInternalObjectFromString(java.lang.String str)
MclGroupImplgetInternalObjectFromString in class MclGroupImplprotected MclGroup2ElementImpl createElement(G2 G2)
public MclGroup2ElementImpl getNeutralElement()
public MclGroup2ElementImpl getUniformlyRandomElement() throws java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationExceptionpublic MclGroup2ElementImpl getGenerator() throws java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationExceptionpublic double estimateCostInvPerOp()