NativeDtlsEngine.setPrivateKey
void setPrivateKey(const(char)[] pemKey, const(char)[] password = null)Set the private key for authentication from PEM data.
Parameters
pemKey | PEM-encoded private key. |
password | Optional password for encrypted keys (unsupported). |
Throws
TlsException if a non-empty password is provided.