docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetServerSecrets

    SetServerSecrets(string, string)

    Set the server parameters for encryption.

    Declaration
    public void SetServerSecrets(string serverCertificate, string serverPrivateKey)
    Parameters
    Type Name Description
    string serverCertificate

    Public certificate for the server (PEM format).

    string serverPrivateKey

    Private key for the server (PEM format).

    Remarks

    The public certificate and private key are expected to be in the PEM format, including the begin/end markers like -----BEGIN CERTIFICATE-----.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)