175 AMQP_TLSvLATEST = 0xFFFF
176 } amqp_tls_version_t;
198 amqp_tls_version_t min,
199 amqp_tls_version_t max);
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_ssl_socket_set_ssl_versions(amqp_socket_t *self, amqp_tls_version_t min, amqp_tls_version_t max)
Set min and max TLS versions.
int amqp_boolean_t
boolean type 0 = false, true otherwise
Definition: amqp.h:368
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.
void amqp_ssl_socket_set_verify_hostname(amqp_socket_t *self, amqp_boolean_t verify)
Enable or disable hostname verification.
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.
void amqp_ssl_socket_set_verify_peer(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:665