Version: 1.4.0
Unity.Netcode.Transports.UTP.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.
Namespace: System.Dynamic.ExpandoObject
Assembly: Netcode.dll
Syntax
public class SecretsLoaderHelper : MonoBehaviour
Properties
ClientCA
CA certificate used by the client.
Declaration
public string ClientCA { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ClientCAFilePath
Client CA filepath. Useful with self-signed certificates
Declaration
public string ClientCAFilePath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ClientCAOverride
Client CA Override. Only useful for development with self-signed certificates. Certificate content, for platforms that lack file access (WebGL)
Declaration
public string ClientCAOverride { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ServerCertificate
Certificate used by the server.
Declaration
public string ServerCertificate { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ServerCertificateFilePath
Server Certificate filepath
Declaration
public string ServerCertificateFilePath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ServerCommonName
Common name of the server (typically its hostname).
Declaration
public string ServerCommonName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ServerPrivate
Private key used by the server.
Declaration
public string ServerPrivate { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ServerPrivateFilePath
Server Private Key filepath
Declaration
public string ServerPrivateFilePath { get; set; }
Property Value
Type | Description |
---|---|
System.String |