awGetDescriptorSSLEncrypted
BrokerError awGetDescriptorSSLEncrypted(
BrokerConnectionDescriptor desc,
BrokerBoolean *encrypted);
desc | The Broker descriptor whose SSL encryption state is to be returned. |
encrypted | If 0 (false), only SSL handshaking is used. If 1 (true), all traffic on this descriptor is encrypted. This parameter is used for output. |
Provides the value of the SSL encrypt flag for the descriptor desc. If encrypted is 0 (false), then data traffic for the descriptor will not be encrypted once the SSL handshaking between server and client has been completed. If 1 (true), 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: