setCurveServerKey method
Sets the socket's long term server key.
You must set this on CURVE client sockets, see zmq_curve(7).
You can provide the key
as a 40-character string encoded in the Z85 encoding format.
This key must have been generated together with the server's secret key.
Throws ZeroMQException on error
Implementation
void setCurveServerKey(final String key) {
setOption(ZMQ_CURVE_SERVERKEY, key);
}