Skip to content

Commit 4b02849

Browse files
committed
feat: add RsaEncryptionParameters to hold parameters for encryption
1 parent a53a904 commit 4b02849

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
namespace SafeCrypt.RsaEncryption.Models
2+
{
3+
internal class RsaEncryptionParameters : IEncryptionData
4+
{
5+
/// <summary>
6+
/// Gets or sets the public key for RSA encryption.
7+
/// </summary>
8+
public string PublicKey { get; set; }
9+
10+
/// <summary>
11+
/// Gets or sets the private key for RSA encryption.
12+
/// </summary>
13+
public string PrivateKey { get; set; }
14+
15+
/// <summary>
16+
/// Gets or sets the data to be encrypted using RSA.
17+
/// </summary>
18+
public string DataToEncrypt { get; set; }
19+
}
20+
}

0 commit comments

Comments
 (0)