This commit is contained in:
mmrbnjd
2024-04-05 01:05:32 +03:30
parent 0b1ad82130
commit 4eb04aef14
9 changed files with 234 additions and 14 deletions

View File

@@ -0,0 +1,16 @@
using System.ComponentModel.DataAnnotations;
namespace Shared.DTOs
{
public class CsrPrivateKeyDto
{
[Required]
public string cn { get; set; }
[Required]
public string sn { get; set; }
[Required]
public string company { get; set; }
[Required]
public string Mobile { get; set; }
}
}

View File

@@ -0,0 +1,9 @@
namespace Shared.DTOs
{
public class PublicKeyDTO
{
public string PublicKey { get; set; }
public string PublicKeyBase64 { get; set; }
public string type { get; set; }
}
}

View File

@@ -0,0 +1,12 @@
namespace Shared.DTOs
{
public class TaxToolsDTO
{
public string csr { get; set; }
public string Base64csr { get; set; }
public string typecsr { get; set; }
public string key { get; set; }
public string Base64key { get; set; }
public string typekey { get; set; }
}
}