Table of Contents

Class QuicTransportConfiguration

Namespace
BSGameLib.Networking
Assembly
BSGameLib.Networking.dll

The QUIC settings: the server's certificate, the protocol name and how identity is checked.

public class QuicTransportConfiguration
Inheritance
QuicTransportConfiguration
Inherited Members

Properties

AllowUntrustedCertificates

When true, the client skips server certificate validation entirely -- no chain check, no fingerprint pinning. An explicit "I understand the risk" bypass for local dev/LAN use, not the default trust model. Do NOT enable in production; see IdentityVerifier for the real authentication path.

public bool AllowUntrustedCertificates { get; set; }

Property Value

bool

AlpnProtocol

ALPN protocol string negotiated during TLS handshake. Defaults to "bsgamelib". Client and server must use the same value.

public string AlpnProtocol { get; set; }

Property Value

string

IdentityVerifier

Verifies the server's identity by certificate fingerprint when the presented certificate doesn't chain to a trusted root (e.g. a self-signed cert). When null, the client falls back to a built-in local trust-on-first-use (TOFU) verifier -- see docs/quic-connection-authentication.md. Ignored when AllowUntrustedCertificates is true.

public IServerIdentityVerifier IdentityVerifier { get; set; }

Property Value

IServerIdentityVerifier

ServerCertificate

Server certificate used for TLS. Required on the server side.

public X509Certificate2 ServerCertificate { get; set; }

Property Value

X509Certificate2