keyExport method
- String name
Returns a Future that resolves to the raw 32-byte Ed25519 private key
seed stored under name.
Security Warning: The returned bytes are unencrypted private key material. Handle them as sensitive and zero them after use.
Throws ArgumentError if name is not found.
Throws StateError if the keystore is locked.
Implementation
Future<Uint8List> keyExport(String name) =>
_container.get<SecurityManager>().secureKeystore.exportSeed(name);