awSetDescriptorSSLEncrypted
BrokerError awSetDescriptorSSLEncrypted(
BrokerConnectionDescriptor desc,
BrokerBoolean encrypted);
desc | The Broker descriptor whose SSL encryption state is to be returned. |
encrypted | If 0 (false), only SSL handshaking will be used. If 1 (true), all traffic on this descriptor will be encrypted. |
Sets the value of the SSL encrypt flag for the descriptor desc. If encrypted is 0 (false), then data traffic for Broker clients created with the descriptor will not be encrypted once the SSL handshaking between server and client has been completed. If set to 1 (true), the default value, all data traffic that occurs after SSL handshaking will be encrypted.
Possible BrokerError major codes | Meaning |
AW_ERROR_INVALID_DESCRIPTOR | The desc is invalid. |
AW_ERROR_NULL_PARAM | The parameter encrypted is NULL. |
See also: