toJSON method

Serialize this key to JSON.

Implementation

JsonnableEd25519KeyIdentity toJSON() {
  return [blobToHex(_publicKey.toDer()), blobToHex(_privateKey)];
}