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
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.Netcode.Transports.UTP
Assembly: solution.dll
Syntax
public class SecretsLoaderHelper : MonoBehaviour
Properties
Name | Description |
---|---|
ClientCA | CA certificate used by the client. |
ClientCAFilePath | Client CA filepath. Useful with self-signed certificates |
ClientCAOverride | Client CA Override. Only useful for development with self-signed certificates. Certificate content, for platforms that lack file access (WebGL) |
ServerCertificate | Certificate used by the server. |
ServerCertificateFilePath | Server Certificate filepath |
ServerCommonName | Common name of the server (typically its hostname). |
ServerPrivate | Private key used by the server. |
ServerPrivateFilePath | Server Private Key filepath |