1 #ifndef CONNECT___NCBI_CONNSSL__H
2 #define CONNECT___NCBI_CONNSSL__H
70 size_t*
done,
int logdata);
82 size_t*
done,
int logdata);
116 typedef const char* (*FSSLError) (
void* session,
int error,
138 #if defined(HAVE_LIBMBEDTLS) || defined(NCBI_CXX_TOOLKIT)
150 #ifdef HAVE_LIBGNUTLS
152 NCBI_CRED NcbiCreateGnuTlsCertCredentials(
const void* cert,
158 void NcbiDeleteGnuTlsCertCredentials(
NCBI_CRED cred);
ESOCK_Side
Sides of socket.
const struct ncbi::grid::netcache::search::fields::SIZE size
EIO_Status(* FSSLOpen)(void *session, int *error, char **desc)
void NcbiDeleteMbedTlsCertCredentials(NCBI_CRED cred)
NCBI_CRED NcbiCreateMbedTlsCertCredentials(const void *cert, size_t certsz, const void *pkey, size_t pkeysz)
void(* FSSLDelete)(void *session)
EIO_Status(* FSSLPush)(SOCK sock, const void *data, size_t size, size_t *done, int logdata)
EIO_Status(* FSSLPull)(SOCK sock, void *buf, size_t size, size_t *done, int logdata)
EIO_Status(* FSSLInit)(FSSLPull pull, FSSLPush push)
EIO_Status(* FSSLClose)(void *session, int how, int *error)
void *(* FSSLCreate)(ESOCK_Side side, SNcbiSSLctx *ctx, int *error)
EIO_Status(* FSSLRead)(void *session, void *buf, size_t size, size_t *done, int *error)
EIO_Status(* FSSLWrite)(void *session, const void *data, size_t size, size_t *done, int *error)
const char *(* FSSLError)(void *session, int error, char *buf, size_t size)