Transport
ClientEncryption
Configures gateway certificate pinning and the client handshake timeout.
generated from the sources
Class in namespace
Nebula · Packages/com.1by3.nebula/Runtime/Transport/EncryptedTransport.cspublic sealed class ClientEncryptionConfigures gateway certificate pinning and the client handshake timeout.
Fields
Fingerprint
public string Fingerprint = "";SHA-256 hash of the gateway certificate's SubjectPublicKeyInfo, as hexadecimal text. Comparison ignores case and non-hexadecimal characters. An empty value accepts any certificate and logs a warning for each connection: traffic is encrypted, but the gateway's identity is not verified.
TimeoutSeconds
public float TimeoutSeconds = 5f;Seconds the client waits for the gateway's handshake response before disconnecting.