refactor(adminui): tidy cert-audit review nits (fallthrough comment + single PkiStoreRoot read)
This commit is contained in:
@@ -29,6 +29,13 @@ public sealed class CertificateStoreManager
|
||||
private readonly string _pkiRoot;
|
||||
private readonly IAuditWriter _audit;
|
||||
|
||||
/// <summary>
|
||||
/// The resolved PKI store root directory (e.g. <c>pki</c>). Derived once from
|
||||
/// <c>OpcUa:PkiStoreRoot</c> in the production ctor; callers should read this property
|
||||
/// rather than re-resolving the config key independently.
|
||||
/// </summary>
|
||||
public string PkiRoot => _pkiRoot;
|
||||
|
||||
/// <summary>Production ctor — reads <c>OpcUa:PkiStoreRoot</c> (default <c>pki</c>).</summary>
|
||||
/// <param name="config">App configuration.</param>
|
||||
/// <param name="audit">The audit writer that persists Trust/Untrust/Delete actions to <c>ConfigAuditLog</c>.</param>
|
||||
|
||||
Reference in New Issue
Block a user