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
      Component.GetComponent<T>()
    
    
    
      Component.TryGetComponent<T>(out T)
    
    
    
    
    
    
      Component.GetComponentInChildren<T>()
    
    
    
    
    
    
      Component.GetComponentsInChildren<T>()
    
    
    
    
    
    
      Component.GetComponentInParent<T>()
    
    
    
    
    
    
      Component.GetComponentsInParent<T>()
    
    
    
    
    
      Component.GetComponents<T>()
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      Object.GetHashCode()
    
    
    
      Object.InstantiateAsync<T>(T)
    
    
      Object.InstantiateAsync<T>(T, Transform)
    
    
      Object.InstantiateAsync<T>(T, Vector3, Quaternion)
    
    
      Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      Object.Instantiate<T>(T, InstantiateParameters)
    
    
      Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
    
    
    
    
      Object.Instantiate<T>(T)
    
    
      Object.Instantiate<T>(T, Vector3, Quaternion)
    
    
      Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    
    
      Object.Instantiate<T>(T, Transform)
    
    
    
    
    
    
    
    
    
    
    
    
    
      Object.DestroyObject(Object)
    
    
    
    
      Object.FindObjectsOfType<T>()
    
    
      Object.FindObjectsByType<T>(FindObjectsSortMode)
    
    
    
      Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    
    
      Object.FindObjectOfType<T>()
    
    
    
      Object.FindFirstObjectByType<T>()
    
    
      Object.FindAnyObjectByType<T>()
    
    
      Object.FindFirstObjectByType<T>(FindObjectsInactive)
    
    
      Object.FindAnyObjectByType<T>(FindObjectsInactive)
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
  Namespace: Unity.Netcode.Transports.UTP
Assembly: Unity.Netcode.Runtime.dll
Syntax
public class SecretsLoaderHelper : MonoBehaviour
  Properties
ClientCA
CA certificate used by the client.
Declaration
public string ClientCA { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | 
ClientCAFilePath
Client CA filepath. Useful with self-signed certificates
Declaration
public string ClientCAFilePath { get; set; }
  Property Value
| Type | Description | 
|---|---|
| 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 | 
|---|---|
| string | 
ServerCertificate
Certificate used by the server.
Declaration
public string ServerCertificate { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | 
ServerCertificateFilePath
Server Certificate filepath
Declaration
public string ServerCertificateFilePath { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | 
ServerCommonName
Common name of the server (typically its hostname).
Declaration
public string ServerCommonName { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | 
ServerPrivate
Private key used by the server.
Declaration
public string ServerPrivate { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | 
ServerPrivateFilePath
Server Private Key filepath
Declaration
public string ServerPrivateFilePath { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string |