amqp_socket_t * amqp_ssl_socket_new(amqp_connection_state_t state)
Create a new SSL/TLS socket object.
int amqp_ssl_socket_set_key(amqp_socket_t *self, const char *cert, const char *key)
Set the client key.
void amqp_set_initialize_ssl_library(amqp_boolean_t do_initialize)
Sets whether rabbitmq-c initializes the underlying SSL library.
int amqp_boolean_t
boolean type 0 = false, true otherwise
Definition: amqp.h:349
int amqp_ssl_socket_set_key_buffer(amqp_socket_t *self, const char *cert, const void *key, size_t n)
Set the client key from a buffer.
int amqp_ssl_socket_set_cacert(amqp_socket_t *self, const char *cacert)
Set the CA certificate.
void amqp_ssl_socket_set_verify(amqp_socket_t *self, amqp_boolean_t verify)
Enable or disable peer verification.
struct amqp_connection_state_t_ * amqp_connection_state_t
connection state object
Definition: amqp.h:644