mirror of
https://github.com/ente-io/ente.git
synced 2025-08-14 02:07:33 +00:00
Move into mobile/
This commit is contained in:
25
mobile/lib/models/set_keys_request.dart
Normal file
25
mobile/lib/models/set_keys_request.dart
Normal file
@@ -0,0 +1,25 @@
|
||||
class SetKeysRequest {
|
||||
final String kekSalt;
|
||||
final String encryptedKey;
|
||||
final String keyDecryptionNonce;
|
||||
final int memLimit;
|
||||
final int opsLimit;
|
||||
|
||||
SetKeysRequest({
|
||||
required this.kekSalt,
|
||||
required this.encryptedKey,
|
||||
required this.keyDecryptionNonce,
|
||||
required this.memLimit,
|
||||
required this.opsLimit,
|
||||
});
|
||||
|
||||
Map<String, dynamic> toMap() {
|
||||
return {
|
||||
'kekSalt': kekSalt,
|
||||
'encryptedKey': encryptedKey,
|
||||
'keyDecryptionNonce': keyDecryptionNonce,
|
||||
'memLimit': memLimit,
|
||||
'opsLimit': opsLimit,
|
||||
};
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user