NativeDtlsEngine.setPrivateKeyDer

void setPrivateKeyDer(const(ubyte)[] derKey, const(char)[] password = null)

Set the private key for authentication from DER data.

Parameters

derKeyDER-encoded private key.
passwordOptional password for encrypted keys (unsupported).

Throws

TlsException if a non-empty password is provided.