namespace ZB.MOM.WW.ScadaBridge.DataConnectionLayer;

/// <summary>
/// Deployment-wide OPC UA application identity. Bound from the "ScadaBridge:OpcUa"
/// section of appsettings.json. Per-endpoint behavior lives on OpcUaEndpointConfig.
/// Empty paths fall back to a default under Path.GetTempPath() so dev runs
/// work without explicit configuration.
/// </summary>
public class OpcUaGlobalOptions
{
    /// <summary>OPC UA application name used in the application certificate and session negotiation.</summary>
    public string ApplicationName { get; set; } = "ScadaBridge-DCL";
    /// <summary>File system path to the trusted issuer certificate store.</summary>
    public string TrustedIssuerStorePath { get; set; } = "";
    /// <summary>File system path to the trusted peer certificate store.</summary>
    public string TrustedPeerStorePath { get; set; } = "";
    /// <summary>File system path to the rejected certificate store.</summary>
    public string RejectedCertificateStorePath { get; set; } = "";
}
