VotingKeysGenerator constructor

VotingKeysGenerator(
  1. KeyPair rootKeyPair, [
  2. Function privateKeyGenerator = PrivateKey.random
])

Implementation

VotingKeysGenerator(KeyPair rootKeyPair, [Function privateKeyGenerator = PrivateKey.random]):
  privateKeyGenerator = privateKeyGenerator,
  rootKeyPair = rootKeyPair;