BasicSchemeMPL class
An instance of BasicSchemeMPL.
Constructors
- BasicSchemeMPL()
- Create an instance of BasicSchemeMPL.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
aggregatePubKeys(
List< G1Element> pks) → G1Element -
Aggregate list of G1Element.
inherited
-
aggregateSigs(
List< G2Element> sigs) → G2Element -
Aggregate list of G2Element.
inherited
-
aggregateVerify(
List< G1Element> pks, List<Uint8List> msgs, G2Element sig) → bool -
Verify the aggregated signature
sig
for a list of messagesmsgs
with list of public keyspks
.override -
deriveChildPkUnhardened(
G1Element g1, int index) → G1Element -
Get a
g1
's child.inherited -
deriveChildSk(
PrivateKey privateKey, int index) → PrivateKey -
Get a
privateKey
's child.inherited -
deriveChildSkUnhardened(
PrivateKey privateKey, int index) → PrivateKey -
Get a
privateKey
's child.inherited -
free(
) → void - Release a BasicSchemeMPL instance from memory.
-
keyGen(
Uint8List seed) → PrivateKey -
Create a PrivateKey instance from
seed
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sign(
PrivateKey privateKey, Uint8List msg) → G2Element -
Sign a
msg
using aprivateKey
.inherited -
skToG1(
PrivateKey privateKey) → G1Element -
Convert PrivateKey into G1Element.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
verify(
G1Element g1Element, Uint8List msg, G2Element sig) → bool -
Verify a
sig
for amsg
usingg1Element
as public key.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited