File tree Expand file tree Collapse file tree
src/SafeCrypt.Lib/Encryption/RsaEncryption/Models Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ using System ;
2+ using System . Collections . Generic ;
3+ using System . Text ;
4+
5+ namespace SafeCrypt . RsaEncryption . Models
6+ {
7+ public class RsaEncryptionResult
8+ {
9+ /// <summary>
10+ /// Gets or sets the encrypted data.
11+ /// </summary>
12+ public byte [ ] EncryptedData { get ; set ; }
13+
14+ /// <summary>
15+ /// Gets or sets the list of errors encountered during encryption.
16+ /// </summary>
17+ public List < string > Errors { get ; set ; }
18+
19+ /// <summary>
20+ /// Gets or sets the public key used for encryption.
21+ /// </summary>
22+ public string PublicKey { get ; set ; }
23+
24+ /// <summary>
25+ /// Gets or sets the private key used for encryption.
26+ /// </summary>
27+ public string PrivateKey { get ; set ; }
28+
29+ /// <summary>
30+ /// Initializes a new instance of the <see cref="RsaEncryptionResult"/> class.
31+ /// </summary>
32+ public RsaEncryptionResult ( )
33+ {
34+ Errors = new List < string > ( ) ;
35+ }
36+ }
37+ }
You can’t perform that action at this time.
0 commit comments