namespace ZB.MOM.WW.OtOpcUa.Admin.Services;
///
/// Points the Admin UI at the OPC UA Server's PKI store root so
/// can list and move certs between the
/// rejected/ and trusted/ directories the server maintains. Must match the
/// OpcUaServer:PkiStoreRoot the Server process is configured with.
///
public sealed class CertTrustOptions
{
public const string SectionName = "CertTrust";
///
/// Absolute path to the PKI root. Defaults to
/// %ProgramData%\OtOpcUa\pki — matches OpcUaServerOptions.PkiStoreRoot's
/// default so a standard side-by-side install needs no override.
///
public string PkiStoreRoot { get; init; } =
Path.Combine(
Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData),
"OtOpcUa", "pki");
}