Skip to content

Commit d8c675c

Browse files
committed
update decryption data to use BaseAesData
1 parent 604566f commit d8c675c

1 file changed

Lines changed: 2 additions & 15 deletions

File tree

src/SafeCrypt.Lib/Encryption/AesEncryption/Models/Decrypt/DecryptionData.cs

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,11 @@
22

33
namespace SafeCrypt.Models
44
{
5-
public class DecryptionData
5+
public class DecryptionData : BaseAesData
66
{
77
/// <summary>
8-
/// Gets or sets the data to be encrypted.
8+
/// Gets or sets the data to be decrypted.
99
/// </summary>
1010
public string DecryptedData { get; set; }
11-
12-
/// <summary>
13-
/// Gets or sets the initialization vector (IV) used for encryption.
14-
/// </summary>
15-
public string Iv { get; set; }
16-
17-
/// <summary>
18-
/// Gets or sets the secret key used for encryption. Should be a base64 string
19-
/// </summary>
20-
public string SecretKey { get; set; }
21-
22-
public bool HasError { get; set; }
23-
public List<string> Errors { get; set; } = new List<string>();
2411
}
2512
}

0 commit comments

Comments
 (0)