extractPrivateKeyBytes method

  1. @override
Future<List<int>> extractPrivateKeyBytes()
override

Extracts the private key bytes.

Throws UnsupportedError if the private key bytes are not extractable.

Implementation

@override
Future<List<int>> extractPrivateKeyBytes() async {
  if (hasBeenDestroyed) {
    throw StateError('Private key has been destroyed');
  }
  return bytes;
}