extract method
Reads the private key into memory.
Throws UnsupportedError if extraction is not possible.
Implementation
@override
Future<SimpleKeyPairData> extract() async {
if (hasBeenDestroyed) {
throw StateError('Private key has been destroyed');
}
return this;
}