DtlsEngine.setPrivateKeyDer
void setPrivateKeyDer(const(ubyte)[] derKey, const(char)[] password = null)Sets the private key (DER-encoded), matching DtlsContext.
Parameters
derKey | DER-encoded private key. |
password | Password for encrypted keys, or null for unencrypted. |