Secret key reset or renegotiation for the managed .NET client

The SSLStream class does not support secret key reset/renegotiation. However, to be consistent with other IBM® MQ clients, the IBM MQ managed .NET client allows applications to set SSLKeyResetCount.

When the limit is reached, IBM MQ.NET disconnects from the queue manager and application are notified of that as an exception with MQRC_CONNECTION_BROKEN as the reason code. Applications can choose to handle the exception and re-establish connections or enable the MQCNO_RECONNECT option for IBM MQ.NET to automatically reconnect to the queue manager.

Enabling the automatic client reconnection facility means that, when the key reset count is reached, all existing connections are brought down and the IBM MQ.NET client recreates all the connections afresh. For more information about automatic client reconnection, see Automatic client reconnection.