[성현모] KMS Packet 수정.

This commit is contained in:
SHM
2026-03-03 14:20:49 +09:00
parent 99e5397307
commit 20958808d6
3 changed files with 78 additions and 43 deletions

View File

@ -9,9 +9,9 @@ namespace KmsProxy.Models
{
public class Request_SupplierEcuID
{
public string EcuType { get; set; } = string.Empty;
public string Phase { get; set; } = string.Empty;
public string SupplierID { get; set; } = string.Empty;
public string EcuType { get; set; } = "01";
public string Phase { get; set; } = "Dev";
public string SupplierID { get; set; } = "03";
public string EcuID { get; set; } = string.Empty;
public string Serial { get; set; } = string.Empty;
}
@ -26,7 +26,7 @@ namespace KmsProxy.Models
{
public class Request_SupplierKeyProvisioning
{
public string ProvisioningType { get; set; } = string.Empty;
public string ProvisioningType { get; set; } = "EcuMasterKey";
public string EcuID { get; set; } = string.Empty;
public string KeyID { get; set; } = string.Empty;
}
@ -50,7 +50,7 @@ namespace KmsProxy.Models
//
public class Request_SupplierKeyProvisioning_Result
{
public string ProvisioningType { get; set; } = string.Empty;
public string ProvisioningType { get; set; } = "SupplierSymmKey";
public string EcuID { get; set; } = string.Empty;
public string ResultMessage { get; set; } = string.Empty;
public string ResultStatus { get; set; } = string.Empty;
@ -65,7 +65,7 @@ namespace KmsProxy.Models
{
public class Request_SupplierKeyProvisioning
{
public string ProvisioningType { get; set; } = string.Empty;
public string ProvisioningType { get; set; } = "SupplierSymmKey";
public string EcuID { get; set; } = string.Empty;
public string KeyID { get; set; } = string.Empty;
}
@ -88,7 +88,7 @@ namespace KmsProxy.Models
//
public class Request_SupplierKeyProvisioning_Result
{
public string ProvisioningType { get; set; } = string.Empty;
public string ProvisioningType { get; set; } = "SupplierSymmKey";
public string EcuID { get; set; } = string.Empty;
public string ResultMessage { get; set; } = string.Empty;
public string ResultStatus { get; set; } = string.Empty;
@ -100,7 +100,7 @@ namespace KmsProxy.Models
//
public class Request_SupplierKeySyncValue
{
public string ProvisioningType { get; set; } = string.Empty;
public string ProvisioningType { get; set; } = "SupplierSymmKey";
public string EcuID { get; set; } = string.Empty;
public string KeyID { get; set; } = string.Empty;
}
@ -121,7 +121,7 @@ namespace KmsProxy.Models
//
public class Request_SupplierKeySyncValue_Result
{
public string ProvisioningType { get; set; } = string.Empty;
public string ProvisioningType { get; set; } = "SupplierSymmKey";
public string EcuID { get; set; } = string.Empty;
public string ResultMessage { get; set; } = string.Empty;
public string ResultStatus { get; set; } = string.Empty;
@ -136,7 +136,7 @@ namespace KmsProxy.Models
{
public class Request_SupplierKeyProvisioning
{
public string ProvisioningType { get; set; } = string.Empty;
public string ProvisioningType { get; set; } = "SecOCKey";
public string EcuID { get; set; } = string.Empty;
public string KeyID { get; set; } = string.Empty;
public string SupplierSecretKey { get; set; } = string.Empty;
@ -163,7 +163,7 @@ namespace KmsProxy.Models
//
public class Request_SupplierKeyProvisioning_Result
{
public string ProvisioningType { get; set; } = string.Empty;
public string ProvisioningType { get; set; } = "SecOCKey";
public string EcuID { get; set; } = string.Empty;
public string KeyID { get; set; } = string.Empty;
public string ResultMessage { get; set; } = string.Empty;
@ -176,7 +176,7 @@ namespace KmsProxy.Models
//
public class Request_SupplierKeySyncValue
{
public string ProvisioningType { get; set; } = string.Empty;
public string ProvisioningType { get; set; } = "SecOCKey";
public string EcuID { get; set; } = string.Empty;
public string KeyID { get; set; } = string.Empty;
}
@ -197,7 +197,7 @@ namespace KmsProxy.Models
//
public class Request_SupplierKeySyncValue_Result
{
public string ProvisioningType { get; set; } = string.Empty;
public string ProvisioningType { get; set; } = "SecOCKey";
public string EcuID { get; set; } = string.Empty;
public string KeyID { get; set; } = string.Empty;
public string ResultMessage { get; set; } = string.Empty;