keyOf method
The admin key kept for the service started at start, or null.
Implementation
Future<Uint8List?> keyOf(int start) async {
final text = await _read(tomSecretsAdminKeyHandle(start));
if (text == null || text.isEmpty) return null;
try {
return base64.decode(text);
} on FormatException {
return null;
}
}