KeyPair constructor

KeyPair()

Implementation

KeyPair() {
  var keyPair = basic_utils.CryptoUtils.generateEcKeyPair();
  publicKey = keyPair.publicKey as ECPublicKey;
  privateKey = keyPair.privateKey as ECPrivateKey;
}