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