KeyPair constructor

KeyPair(
  1. Uint8List publicKey,
  2. Uint8List privateKey
)

Creates a new KeyPair from the given publicKey and privateKey.

Implementation

KeyPair(Uint8List publicKey, Uint8List privateKey) {
  _mPublicKey = checkNotNull(publicKey, "publicKey cannot be null");
  _mPrivateKey = privateKey;
}