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