...
This commit is contained in:
16
Shared/DTOs/CsrPrivateKeyDto.cs
Normal file
16
Shared/DTOs/CsrPrivateKeyDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
9
Shared/DTOs/PublicKeyDTO.cs
Normal file
9
Shared/DTOs/PublicKeyDTO.cs
Normal 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; }
|
||||
}
|
||||
}
|
12
Shared/DTOs/TaxToolsDTO.cs
Normal file
12
Shared/DTOs/TaxToolsDTO.cs
Normal 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; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user