void set_pass ( string ipass ) { auto rc = nng_tls_config_pass(tls, ipass.toStringz()); enforce(rc == 0); }
void set_key ( ubyte[] ipass ) { auto rc = nng_tls_config_key(tls, ipass.ptr, ipass.length); enforce(rc == 0); }
void set_pass ( string ipass ) { auto rc = nng_tls_config_pass(tls, ipass.toStringz()); enforce(rc == 0); }
void set_key ( ubyte[] ipass ) { auto rc = nng_tls_config_key(tls, ipass.ptr, ipass.length); enforce(rc == 0); }