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-----.