feat(batch6-task3): implement F2 jetstream leaf tls helpers

This commit is contained in:
Joseph Doherty
2026-02-28 09:37:42 -05:00
parent 4c8fb4e344
commit eb0ab64b42
4 changed files with 1211 additions and 4 deletions

View File

@@ -16,6 +16,7 @@
using System.Net.Security;
using System.Security.Authentication;
using System.Security.Cryptography.X509Certificates;
using ZB.MOM.NatsNet.Server.Auth;
namespace ZB.MOM.NatsNet.Server;
@@ -172,6 +173,7 @@ public class ClusterOpts
public int PoolSize { get; set; }
public List<string> PinnedAccounts { get; set; } = [];
public CompressionOpts Compression { get; set; } = new();
public RoutePermissions? Permissions { get; set; }
public TimeSpan PingInterval { get; set; }
public int MaxPingsOut { get; set; }
public TimeSpan WriteDeadline { get; set; }
@@ -232,6 +234,7 @@ public class LeafNodeOpts
public bool ProxyRequired { get; set; }
public string Nkey { get; set; } = string.Empty;
public string Account { get; set; } = string.Empty;
public List<User>? Users { get; set; }
public double AuthTimeout { get; set; }
public SslServerAuthenticationOptions? TlsConfig { get; set; }
public double TlsTimeout { get; set; }

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@@ -1,6 +1,6 @@
# NATS .NET Porting Status Report
Generated: 2026-02-28 14:29:51 UTC
Generated: 2026-02-28 14:37:42 UTC
## Modules (12 total)
@@ -12,10 +12,10 @@ Generated: 2026-02-28 14:29:51 UTC
| Status | Count |
|--------|-------|
| deferred | 2108 |
| deferred | 2094 |
| n_a | 24 |
| stub | 1 |
| verified | 1540 |
| verified | 1554 |
## Unit Tests (3257 total)
@@ -34,4 +34,4 @@ Generated: 2026-02-28 14:29:51 UTC
## Overall Progress
**2785/6942 items complete (40.1%)**
**2799/6942 items complete (40.3%)**