Error handling when using SSL

The following reason codes can be issued by WebSphere MQ classes for .NET when connecting to a queue manager using SSL:

MQRC_SSL_NOT_ALLOWED
The SSLCipherSpec property was set, but bindings connect was used. Only client connect supports SSL.
MQRC_SSL_PEER_NAME_MISMATCH
The DN pattern specified in the SSLPeerName property did not match the DN presented by the queue manager.
MQRC_SSL_PEER_NAME_ERROR
The DN pattern specified in the SSLPeerName property was not valid.