File tree Expand file tree Collapse file tree
src/SafeCrypt.Lib/Encryption/AesEncryption/Models Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- using System . ComponentModel . DataAnnotations ;
1+ using System . Collections . Generic ;
2+ using System . ComponentModel . DataAnnotations ;
23
34namespace SafeCrypt . Models
45{
@@ -22,4 +23,21 @@ public class BaseAesEncryptionParameters
2223 [ Required ]
2324 public string IV { get ; set ; }
2425 }
26+
27+ public class BaseAesData
28+ {
29+ /// <summary>
30+ /// Gets or sets the initialization vector (IV) used for encryption.
31+ /// </summary>
32+ public string Iv { get ; set ; }
33+
34+ /// <summary>
35+ /// Gets or sets the secret key used for encryption. Should be a base64 string
36+ /// </summary>
37+ public string SecretKey { get ; set ; }
38+
39+ public bool HasError { get ; set ; }
40+
41+ public List < string > Errors { get ; set ; } = new List < string > ( ) ;
42+ }
2543}
You can’t perform that action at this time.
0 commit comments