TlsContext.setPrivateKey
void setPrivateKey(const(char)[] pemData, const(char)[] password = null)Sets the private key for the certificate.
Parameters
pemData | PEM-encoded private key. |
password | Optional password for encrypted keys (null for unencrypted). |