Package org.dashj.bls
Class PopSchemeMPL
- java.lang.Object
-
- org.dashj.bls.CoreMPL
-
- org.dashj.bls.PopSchemeMPL
-
public class PopSchemeMPL extends CoreMPL
-
-
Field Summary
-
Fields inherited from class org.dashj.bls.CoreMPL
swigCMemOwn
-
-
Constructor Summary
Constructors Modifier Constructor Description PopSchemeMPL()protectedPopSchemeMPL(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()booleanfastAggregateVerify(G1ElementVector pubkeys, byte[] message, G2Element signature)booleanfastAggregateVerify(Uint8VectorVector pubkeys, byte[] message, byte[] signature)protected voidfinalize()static StringgetCIPHERSUITE_ID()protected static longgetCPtr(PopSchemeMPL obj)static StringgetPOP_CIPHERSUITE_ID()G2ElementpopProve(PrivateKey seckey)booleanpopVerify(byte[] pubkey, byte[] proof)booleanpopVerify(G1Element pubkey, G2Element signature_proof)-
Methods inherited from class org.dashj.bls.CoreMPL
aggregate, aggregate, aggregate, aggregateSecure, aggregateVerify, aggregateVerify, deriveChildPkUnhardened, deriveChildSk, deriveChildSkUnhardened, getCPtr, keyGen, sign, skToG1, skToPk, verify, verify, verifySecure
-
-
-
-
Method Detail
-
getCPtr
protected static long getCPtr(PopSchemeMPL obj)
-
getCIPHERSUITE_ID
public static String getCIPHERSUITE_ID()
-
getPOP_CIPHERSUITE_ID
public static String getPOP_CIPHERSUITE_ID()
-
popProve
public G2Element popProve(PrivateKey seckey)
-
popVerify
public boolean popVerify(byte[] pubkey, byte[] proof)
-
fastAggregateVerify
public boolean fastAggregateVerify(G1ElementVector pubkeys, byte[] message, G2Element signature)
-
fastAggregateVerify
public boolean fastAggregateVerify(Uint8VectorVector pubkeys, byte[] message, byte[] signature)
-
-