Table of Contents

Class ClientSecurityBootstrap

Namespace
FishMMO.Client.Security
Assembly
FishMMO.Client.dll

Initialises ClientCertificatePinning before any scene loads or UnityWebRequest is dispatched. Pin sources, in order:

  1. CertificatePins.generated.cs — IL-embedded pins written by FishMMO > Security > Fetch Certificate Pins. The committed source contains sentinel placeholders; the editor tool overwrites them.

  2. API pin update manifest (optional, async) — fetched from GET {APIHost}config/pins, verified against an Ed25519 public key embedded alongside the pins. Only ADDS pins; never removes. Failures are silent — the compile-time pin set remains active.

There is NO StreamingAssets fallback. Pins are always IL-embedded.

public static class ClientSecurityBootstrap
Inheritance
ClientSecurityBootstrap
Inherited Members

Properties

DefaultPinCount

Number of compile-time certificate pins configured for release-build validation. Exposed for the build validator.

public static int DefaultPinCount { get; }

Property Value

int