Class SecretsLoaderHelper
Component to add to a NetworkManager if you want the certificates to be loaded from files. Mostly helpful to ease development and testing, especially with self-signed certificates
Shipping code should make the calls to
- SetServerSecrets
- SetClientSecrets directly, instead of relying on this.
Inherited Members
Namespace: Unity.Netcode.Transports.UTP
Assembly: solution.dll
Syntax
public class SecretsLoaderHelper : MonoBehaviour
Properties
Name | Description |
---|---|
Client |
CA certificate used by the client. |
Client |
Client CA filepath. Useful with self-signed certificates |
Client |
Client CA Override. Only useful for development with self-signed certificates. Certificate content, for platforms that lack file access (WebGL) |
Server |
Certificate used by the server. |
Server |
Server Certificate filepath |
Server |
Common name of the server (typically its hostname). |
Server |
Private key used by the server. |
Server |
Server Private Key filepath |