Struct SecureNetworkProtocolParameter
Settings used to configure the secure protocol implementation.
Implements
Inherited Members
Namespace: Unity.Networking.Transport.TLS
Assembly: solution.dll
Syntax
public struct SecureNetworkProtocolParameter : INetworkParameter
Fields
Name | Description |
---|---|
CACertificate | Root CA certificate (PEM format). |
Certificate | Server/client certificate (PEM format). |
ClientAuthenticationPolicy | Client authentication policy (server only, defaults to optional). |
Hostname | Server/client certificate's common name. |
PrivateKey | Server/client private key (PEM format). |
Methods
Name | Description |
---|---|
Validate() | Checks if the values for all fields are valid. This method will be automatically called when adding parameters to the NetworkSettings. |