kinetic-c  v0.12.0
Seagate Kinetic Protocol Client Library for C
Macros | Functions
bus_ssl.h File Reference
#include "bus.h"
#include "bus_internal_types.h"

Go to the source code of this file.

Macros

#define KINETIC_USE_TLS_1_2   0
 

Functions

bool BusSSL_Init (struct bus *b)
 Initialize the SSL library internals for use by the messaging bus. More...
 
SSL * BusSSL_Connect (struct bus *b, int fd)
 Do an SSL / TLS shake for a connection. More...
 
bool BusSSL_Disconnect (struct bus *b, SSL *ssl)
 Disconnect and free an individual SSL handle. More...
 
void BusSSL_CtxFree (struct bus *b)
 Free all internal data for using SSL (the SSL_CTX). More...
 

Macro Definition Documentation

#define KINETIC_USE_TLS_1_2   0

Definition at line 28 of file bus_ssl.h.

Function Documentation

bool BusSSL_Init ( struct bus b)

Initialize the SSL library internals for use by the messaging bus.

Definition at line 36 of file bus_ssl.c.

References init_client_SSL_CTX(), and bus::ssl_ctx.

SSL* BusSSL_Connect ( struct bus b,
int  fd 
)

Do an SSL / TLS shake for a connection.

Blocking.

Definition at line 51 of file bus_ssl.c.

References do_blocking_connection(), and bus::ssl_ctx.

bool BusSSL_Disconnect ( struct bus b,
SSL *  ssl 
)

Disconnect and free an individual SSL handle.

Definition at line 73 of file bus_ssl.c.

void BusSSL_CtxFree ( struct bus b)

Free all internal data for using SSL (the SSL_CTX).

Definition at line 80 of file bus_ssl.c.

References bus::ssl_ctx.