Files
dbserver/OpcPksPlatform/OpcPks.Core/Models/CertRequestModel.cs

21 lines
859 B
C#

namespace OpcPks.Core.Models
{
public class CertRequestModel
{
public string ApplicationName { get; set; } = "OpcPksClient";
public bool IsRedundant { get; set; } = false;
// 서버 호스트네임 (예: HONPKS)
public string PrimaryHostName { get; set; } = "";
public string SecondaryHostName { get; set; } = ""; // Redundant일 때 필수
// FTE 네트워크 구조 반영 (네트워크 대역 분리)
public string PrimaryIpA { get; set; } = ""; // 192.168.0.x 대역
public string PrimaryIpB { get; set; } = ""; // 192.168.1.x 대역 (FTE 이중화 시)
public string SecondaryIpA { get; set; } = ""; // 192.168.0.y 대역
public string SecondaryIpB { get; set; } = ""; // 192.168.1.y 대역
public int ValidityYears { get; set; } = 5;
}
}