destroy method

  1. @override
void destroy()
override

Overwrites sensitive parts of the private key data with zeroes and prevents the private key from being used anymore.

The method extractPublicKey should still work after calling this method.

Implementation

@override
void destroy() {
  super.destroy();
  _d.destroy();
}