Uses of Class
org.dashj.bls.G2Element
-
Packages that use G2Element Package Description org.dashj.bls org.dashj.bls.Utils -
-
Uses of G2Element in org.dashj.bls
Methods in org.dashj.bls that return G2Element Modifier and Type Method Description static G2ElementDASHJBLS. add(G2Element a, G2Element b)G2ElementCoreMPL. aggregate(G2ElementVector signatures)G2ElementCoreMPL. aggregateSecure(G1ElementVector vecPublicKeys, G2ElementVector vecSignatures, byte[] message)G2ElementLegacySchemeMPL. aggregateSecure(G1ElementVector vecPublicKeys, G2ElementVector vecSignatures, byte[] message)static G2ElementHDKeys. deriveChildG2Unhardened(G2Element pk, long index)static G2ElementG2Element. fromBytes(byte[] bytes)static G2ElementG2Element. fromBytes(byte[] bytes, boolean fLegacy)static G2ElementG2Element. fromBytesUnchecked(byte[] bytes)static G2ElementG2Element. fromBytesUnchecked(byte[] bytes, boolean fLegacy)static G2ElementG2Element. fromMessage(byte[] message, byte[] dst, int dst_len)static G2ElementG2Element. fromMessage(byte[] message, byte[] dst, int dst_len, boolean fLegacy)static G2ElementG2Element. generator()G2ElementG2ElementVector. get(int index)G2ElementPrivateKey. getG2Element()G2ElementPrivateKey. getG2Power(G2Element element)static G2ElementDASHJBLS. multiply(G2Element a, PrivateKey k)static G2ElementDASHJBLS. multiply(PrivateKey k, G2Element a)G2ElementG2Element. negate()G2ElementPopSchemeMPL. popProve(PrivateKey seckey)G2ElementG2ElementVector. remove(int index)G2ElementG2ElementVector. set(int index, G2Element e)G2ElementAugSchemeMPL. sign(PrivateKey seckey, byte[] message)G2ElementAugSchemeMPL. sign(PrivateKey seckey, byte[] message, G1Element prepend_pk)G2ElementCoreMPL. sign(PrivateKey seckey, byte[] message)static G2ElementDASHJBLS. sign(PrivateKey privateKey, byte[] vecMessage)G2ElementLegacySchemeMPL. sign(PrivateKey seckey, byte[] message)static G2ElementDASHJBLS. signatureRecover(G2ElementVector sigs, Uint8VectorVector ids)static G2ElementDASHJBLS. signatureShare(G2ElementVector sks, byte[] id)G2ElementPrivateKey. signG2(byte[] msg, long len, byte[] dst, long dst_len)G2ElementPrivateKey. signG2(byte[] msg, long len, byte[] dst, long dst_len, boolean fLegacy)Methods in org.dashj.bls with parameters of type G2Element Modifier and Type Method Description static G2ElementDASHJBLS. add(G2Element a, G2Element b)voidG2ElementVector. add(int index, G2Element e)booleanG2ElementVector. add(G2Element e)static longDASHJBLSJNI. add__SWIG_1(long jarg1, G2Element jarg1_, long jarg2, G2Element jarg2_)booleanAugSchemeMPL. aggregateVerify(G1ElementVector pubkeys, Uint8VectorVector messages, G2Element signature)booleanBasicSchemeMPL. aggregateVerify(G1ElementVector pubkeys, Uint8VectorVector messages, G2Element signature)booleanCoreMPL. aggregateVerify(G1ElementVector pubkeys, Uint8VectorVector messages, G2Element signature)booleanLegacySchemeMPL. aggregateVerify(G1ElementVector pubkeys, Uint8VectorVector messages, G2Element signature)static GTElementDASHJBLS. andOperator(G1Element a, G2Element b)static longDASHJBLSJNI. andOperator(long jarg1, G1Element jarg1_, long jarg2, G2Element jarg2_)static booleanDASHJBLSJNI. AugSchemeMPL_aggregateVerify__SWIG_1(long jarg1, AugSchemeMPL jarg1_, long jarg2, G1ElementVector jarg2_, long jarg3, Uint8VectorVector jarg3_, long jarg4, G2Element jarg4_)static booleanDASHJBLSJNI. BasicSchemeMPL_aggregateVerify__SWIG_1(long jarg1, BasicSchemeMPL jarg1_, long jarg2, G1ElementVector jarg2_, long jarg3, Uint8VectorVector jarg3_, long jarg4, G2Element jarg4_)static booleanDASHJBLSJNI. CoreMPL_aggregateVerify__SWIG_1(long jarg1, CoreMPL jarg1_, long jarg2, G1ElementVector jarg2_, long jarg3, Uint8VectorVector jarg3_, long jarg4, G2Element jarg4_)static booleanDASHJBLSJNI. CoreMPL_verify__SWIG_1(long jarg1, CoreMPL jarg1_, long jarg2, G1Element jarg2_, byte[] jarg3, long jarg4, G2Element jarg4_)static booleanDASHJBLSJNI. CoreMPL_verifySecure(long jarg1, CoreMPL jarg1_, long jarg2, G1ElementVector jarg2_, long jarg3, G2Element jarg3_, byte[] jarg4)static G2ElementHDKeys. deriveChildG2Unhardened(G2Element pk, long index)booleanPopSchemeMPL. fastAggregateVerify(G1ElementVector pubkeys, byte[] message, G2Element signature)static longDASHJBLSJNI. G1Element_pair(long jarg1, G1Element jarg1_, long jarg2, G2Element jarg2_)static voidDASHJBLSJNI. G2Element_checkValid(long jarg1, G2Element jarg1_)static booleanDASHJBLSJNI. G2Element_isValid(long jarg1, G2Element jarg1_)static longDASHJBLSJNI. G2Element_negate(long jarg1, G2Element jarg1_)static longDASHJBLSJNI. G2Element_pair(long jarg1, G2Element jarg1_, long jarg2, G1Element jarg2_)static byte[]DASHJBLSJNI. G2Element_serialize__SWIG_0(long jarg1, G2Element jarg1_, boolean jarg2)static byte[]DASHJBLSJNI. G2Element_serialize__SWIG_1(long jarg1, G2Element jarg1_)static voidDASHJBLSJNI. G2ElementVector_doAdd__SWIG_0(long jarg1, G2ElementVector jarg1_, long jarg2, G2Element jarg2_)static voidDASHJBLSJNI. G2ElementVector_doAdd__SWIG_1(long jarg1, G2ElementVector jarg1_, int jarg2, long jarg3, G2Element jarg3_)static longDASHJBLSJNI. G2ElementVector_doSet(long jarg1, G2ElementVector jarg1_, int jarg2, long jarg3, G2Element jarg3_)protected static longG2Element. getCPtr(G2Element obj)G2ElementPrivateKey. getG2Power(G2Element element)static longDASHJBLSJNI. HDKeys_deriveChildG2Unhardened(long jarg1, G2Element jarg1_, long jarg2)static booleanDASHJBLSJNI. LegacySchemeMPL_aggregateVerify(long jarg1, LegacySchemeMPL jarg1_, long jarg2, G1ElementVector jarg2_, long jarg3, Uint8VectorVector jarg3_, long jarg4, G2Element jarg4_)static booleanDASHJBLSJNI. LegacySchemeMPL_verifySecure(long jarg1, LegacySchemeMPL jarg1_, long jarg2, G1ElementVector jarg2_, long jarg3, G2Element jarg3_, byte[] jarg4)static G2ElementDASHJBLS. multiply(G2Element a, PrivateKey k)static G2ElementDASHJBLS. multiply(PrivateKey k, G2Element a)static longDASHJBLSJNI. multiply__SWIG_3(long jarg1, G2Element jarg1_, long jarg2, PrivateKey jarg2_)static longDASHJBLSJNI. multiply__SWIG_4(long jarg1, PrivateKey jarg1_, long jarg2, G2Element jarg2_)static longDASHJBLSJNI. new_G2Element__SWIG_1(long jarg1, G2Element jarg1_)static longDASHJBLSJNI. new_G2ElementVector__SWIG_2(int jarg1, long jarg2, G2Element jarg2_)static booleanDASHJBLS. objectEquals(G2Element a, G2Element b)static booleanDASHJBLSJNI. objectEquals__SWIG_2(long jarg1, G2Element jarg1_, long jarg2, G2Element jarg2_)GTElementG1Element. pair(G2Element b)static booleanDASHJBLSJNI. PopSchemeMPL_fastAggregateVerify__SWIG_0(long jarg1, PopSchemeMPL jarg1_, long jarg2, G1ElementVector jarg2_, byte[] jarg3, long jarg4, G2Element jarg4_)static booleanDASHJBLSJNI. PopSchemeMPL_popVerify__SWIG_0(long jarg1, PopSchemeMPL jarg1_, long jarg2, G1Element jarg2_, long jarg3, G2Element jarg3_)booleanPopSchemeMPL. popVerify(G1Element pubkey, G2Element signature_proof)static longDASHJBLSJNI. PrivateKey_getG2Power(long jarg1, PrivateKey jarg1_, long jarg2, G2Element jarg2_)G2ElementG2ElementVector. set(int index, G2Element e)booleanCoreMPL. verify(G1Element pubkey, byte[] message, G2Element signature)static booleanDASHJBLS. verify(G1Element pubKey, byte[] vecMessage, G2Element signature)static booleanDASHJBLSJNI. verify(long jarg1, G1Element jarg1_, byte[] jarg2, long jarg3, G2Element jarg3_)booleanCoreMPL. verifySecure(G1ElementVector vecPublicKeys, G2Element signature, byte[] message)booleanLegacySchemeMPL. verifySecure(G1ElementVector vecPublicKeys, G2Element signature, byte[] message)Constructors in org.dashj.bls with parameters of type G2Element Constructor Description G2Element(G2Element other)G2ElementVector(int count, G2Element value)G2ElementVector(G2Element[] initialElements)Constructor parameters in org.dashj.bls with type arguments of type G2Element Constructor Description G2ElementVector(Iterable<G2Element> initialElements) -
Uses of G2Element in org.dashj.bls.Utils
Constructors in org.dashj.bls.Utils with parameters of type G2Element Constructor Description G2ElementList(G2Element[] array)G2ElementList(G2Element first, G2Element... elements)Constructor parameters in org.dashj.bls.Utils with type arguments of type G2Element Constructor Description G2ElementList(List<G2Element> list)
-