Files
arbiter/useragent/lib/features/identity/pk_manager.dart
2026-06-23 18:47:23 +00:00

12 lines
360 B
Dart

// The API to handle without storing the private key in memory.
//The implementation will use platform-specific secure storage and signing capabilities.
abstract class KeyHandle {
Future<List<int>> sign(List<int> data);
Future<List<int>> getPublicKey();
}
abstract class KeyManager {
Future<KeyHandle?> get();
Future<KeyHandle> create();
}