NCBI C++ ToolKit
Classes | Typedefs | Enumerations | Functions
ncbi_connssl.h File Reference
#include "ncbi_socketp.h"
+ Include dependency graph for ncbi_connssl.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  SNcbiCred
 
struct  SOCKSSL_struct
 

Typedefs

typedef EIO_Status(* FSSLPull) (SOCK sock, void *buf, size_t size, size_t *done, int logdata)
 
typedef EIO_Status(* FSSLPush) (SOCK sock, const void *data, size_t size, size_t *done, int logdata)
 
typedef EIO_Status(* FSSLInit) (FSSLPull pull, FSSLPush push)
 
typedef void *(* FSSLCreate) (ESOCK_Side side, SNcbiSSLctx *ctx, int *error)
 
typedef EIO_Status(* FSSLOpen) (void *session, int *error, char **desc)
 
typedef EIO_Status(* FSSLRead) (void *session, void *buf, size_t size, size_t *done, int *error)
 
typedef EIO_Status(* FSSLWrite) (void *session, const void *data, size_t size, size_t *done, int *error)
 
typedef EIO_Status(* FSSLClose) (void *session, int how, int *error)
 
typedef void(* FSSLDelete) (void *session)
 
typedef void(* FSSLExit) (void)
 
typedef const char *(* FSSLError) (void *session, int error, char *buf, size_t size)
 

Enumerations

enum  ENcbiCred { eNcbiCred_GnuTls = 0x484FFB94 , eNcbiCred_MbedTls = 0x412CC144 }
 

Functions

NCBI_CRED NcbiCreateMbedTlsCertCredentials (const void *cert, size_t certsz, const void *pkey, size_t pkeysz)
 
void NcbiDeleteMbedTlsCertCredentials (NCBI_CRED cred)
 

Typedef Documentation

◆ FSSLClose

typedef EIO_Status(* FSSLClose) (void *session, int how, int *error)

Definition at line 107 of file ncbi_connssl.h.

◆ FSSLCreate

typedef void*(* FSSLCreate) (ESOCK_Side side, SNcbiSSLctx *ctx, int *error)

Definition at line 88 of file ncbi_connssl.h.

◆ FSSLDelete

typedef void(* FSSLDelete) (void *session)

Definition at line 110 of file ncbi_connssl.h.

◆ FSSLError

typedef const char*(* FSSLError) (void *session, int error, char *buf, size_t size)

Definition at line 116 of file ncbi_connssl.h.

◆ FSSLExit

typedef void(* FSSLExit) (void)

Definition at line 113 of file ncbi_connssl.h.

◆ FSSLInit

typedef EIO_Status(* FSSLInit) (FSSLPull pull, FSSLPush push)

Definition at line 85 of file ncbi_connssl.h.

◆ FSSLOpen

typedef EIO_Status(* FSSLOpen) (void *session, int *error, char **desc)

Definition at line 92 of file ncbi_connssl.h.

◆ FSSLPull

typedef EIO_Status(* FSSLPull) (SOCK sock, void *buf, size_t size, size_t *done, int logdata)

Definition at line 69 of file ncbi_connssl.h.

◆ FSSLPush

typedef EIO_Status(* FSSLPush) (SOCK sock, const void *data, size_t size, size_t *done, int logdata)

Definition at line 81 of file ncbi_connssl.h.

◆ FSSLRead

typedef EIO_Status(* FSSLRead) (void *session, void *buf, size_t size, size_t *done, int *error)

Definition at line 97 of file ncbi_connssl.h.

◆ FSSLWrite

typedef EIO_Status(* FSSLWrite) (void *session, const void *data, size_t size, size_t *done, int *error)

Definition at line 103 of file ncbi_connssl.h.

Enumeration Type Documentation

◆ ENcbiCred

enum ENcbiCred
Enumerator
eNcbiCred_GnuTls 
eNcbiCred_MbedTls 

Definition at line 45 of file ncbi_connssl.h.

Function Documentation

◆ NcbiCreateMbedTlsCertCredentials()

NCBI_CRED NcbiCreateMbedTlsCertCredentials ( const void *  cert,
size_t  certsz,
const void *  pkey,
size_t  pkeysz 
)

◆ NcbiDeleteMbedTlsCertCredentials()

void NcbiDeleteMbedTlsCertCredentials ( NCBI_CRED  cred)
Modified on Mon May 20 05:03:24 2024 by modify_doxy.py rev. 669887