37 lines
862 B
C#
37 lines
862 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Text.Json.Serialization;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace VPKI.Library.Config.Model
|
|
{
|
|
public class Openssl
|
|
{
|
|
[JsonPropertyName("Path")]
|
|
public string? Path { get; set; }
|
|
|
|
[JsonPropertyName("SubCAPath")]
|
|
public string? SubCAPath { get; set; }
|
|
|
|
[JsonPropertyName("SubCA")]
|
|
public SubCA? SubCA { get; set; }
|
|
|
|
[JsonPropertyName("RootCA")]
|
|
public string? RootCA { get; set; }
|
|
}
|
|
|
|
public class SubCA
|
|
{
|
|
[JsonPropertyName("prov_v1")]
|
|
public string? prov_v1 { get; set; }
|
|
|
|
[JsonPropertyName("prov_cert")]
|
|
public string? prov_cert { get; set; }
|
|
|
|
[JsonPropertyName("vehicle_cert")]
|
|
public string? vehicle_cert { get; set; }
|
|
}
|
|
}
|