Classes | |
struct | pin_ssl_globals_t |
struct | pin_ssl_ctxt |
struct | SessionDBRec |
struct | SessionDB |
Typedefs | |
typedef struct pin_ssl_globals_t | pin_ssl_globals |
Functions | |
char * | pin_ssl_err2str (int nzerrno) |
void | initOraSSLEnv (pin_ssl_globals **psg, char *walletLoc, char *walletPwd, int flags, char *cipher) |
void | pin_cleanup_ssl_env (pin_ssl_globals *psg) |
nzerror | setup_nz (pin_ssl_globals *psc, int isMultiThreaded) |
nzerror | setup_auth (pin_ssl_globals *psc, char *, char *, int) |
nzerror | setup_ssl (pin_ssl_globals *psc, int role, char *cipher) |
pin_ssl_ctxt * | ssl_hshake (pin_ssl_globals *psg, int sock, char *host_name, int role) |
void | pin_close_ssl_ctxt (pin_ssl_globals *psg, pin_ssl_ctxt *) |
int | pin_ssl_read (pin_ssl_globals *psg, pin_ssl_ctxt *psc, void *data, size_t len, int *sslerr) |
int | pin_ssl_check_rcvbuf (pin_ssl_ctxt *psc) |
int | pin_ssl_write (pin_ssl_ctxt *psc, void *data, size_t len) |
SSLErr | testRead (nzosBuffer buffer, ub4 *processed, void *state) |
SSLErr | testWrite (nzosBuffer buffer, ub4 *processed, void *env) |
SSLErr | testAlloc (nzosBuffer *buf, void *allocRef) |
SSLErr | testFree (nzosBuffer *buf, void *allocRef) |
SSLErr | testRealloc (nzosBuffer *buf, ub4 newSize, void *allocRef) |
SSLErr | testTime (ub4 *timeResult, void *timeRef) |
SSLErr | testAddSession (nzosBuffer bufKey, nzosBuffer bufData, void *ref) |
SSLErr | testGetSession (nzosBuffer bufKey, nzosBuffer *bufData, void *ref) |
SSLErr | testDeleteSession (nzosBuffer buf, void *ref) |
nzerror | CreateSessionDB (SessionDB **sessionDB) |
nzerror | DestroySessionDB (SessionDB **sessionDB) |
SSLErr | testCRLCheck (nzxcertchain *chain, void *crlRef) |
SSLErr | testCertValAction (nzxcertchain *certChain, void *cvrRef, nzCertValStatus status, nzCertValAction *action) |
void | testTrace (void *tctx, const oratext *func_name, nztrclevel trace_level, text *msg_format,...) |
Variables | |
unsigned int | pin_ssl_debug |
pin_ssl_globals * | psg_s |
pin_ssl_globals * | psg_c |
typedef struct pin_ssl_globals_t pin_ssl_globals |
char* pin_ssl_err2str | ( | int | nzerrno | ) |
void initOraSSLEnv | ( | pin_ssl_globals ** | psg, | |
char * | walletLoc, | |||
char * | walletPwd, | |||
int | flags, | |||
char * | cipher | |||
) |
void pin_cleanup_ssl_env | ( | pin_ssl_globals * | psg | ) |
nzerror setup_nz | ( | pin_ssl_globals * | psc, | |
int | isMultiThreaded | |||
) |
nzerror setup_auth | ( | pin_ssl_globals * | psc, | |
char * | , | |||
char * | , | |||
int | ||||
) |
nzerror setup_ssl | ( | pin_ssl_globals * | psc, | |
int | role, | |||
char * | cipher | |||
) |
pin_ssl_ctxt* ssl_hshake | ( | pin_ssl_globals * | psg, | |
int | sock, | |||
char * | host_name, | |||
int | role | |||
) |
void pin_close_ssl_ctxt | ( | pin_ssl_globals * | psg, | |
pin_ssl_ctxt * | ||||
) |
int pin_ssl_read | ( | pin_ssl_globals * | psg, | |
pin_ssl_ctxt * | psc, | |||
void * | data, | |||
size_t | len, | |||
int * | sslerr | |||
) |
int pin_ssl_check_rcvbuf | ( | pin_ssl_ctxt * | psc | ) |
int pin_ssl_write | ( | pin_ssl_ctxt * | psc, | |
void * | data, | |||
size_t | len | |||
) |
SSLErr testRead | ( | nzosBuffer | buffer, | |
ub4 * | processed, | |||
void * | state | |||
) |
SSLErr testWrite | ( | nzosBuffer | buffer, | |
ub4 * | processed, | |||
void * | env | |||
) |
SSLErr testAlloc | ( | nzosBuffer * | buf, | |
void * | allocRef | |||
) |
SSLErr testFree | ( | nzosBuffer * | buf, | |
void * | allocRef | |||
) |
SSLErr testRealloc | ( | nzosBuffer * | buf, | |
ub4 | newSize, | |||
void * | allocRef | |||
) |
SSLErr testTime | ( | ub4 * | timeResult, | |
void * | timeRef | |||
) |
SSLErr testAddSession | ( | nzosBuffer | bufKey, | |
nzosBuffer | bufData, | |||
void * | ref | |||
) |
SSLErr testGetSession | ( | nzosBuffer | bufKey, | |
nzosBuffer * | bufData, | |||
void * | ref | |||
) |
SSLErr testDeleteSession | ( | nzosBuffer | buf, | |
void * | ref | |||
) |
nzerror CreateSessionDB | ( | SessionDB ** | sessionDB | ) |
nzerror DestroySessionDB | ( | SessionDB ** | sessionDB | ) |
SSLErr testCRLCheck | ( | nzxcertchain * | chain, | |
void * | crlRef | |||
) |
SSLErr testCertValAction | ( | nzxcertchain * | certChain, | |
void * | cvrRef, | |||
nzCertValStatus | status, | |||
nzCertValAction * | action | |||
) |
void testTrace | ( | void * | tctx, | |
const oratext * | func_name, | |||
nztrclevel | trace_level, | |||
text * | msg_format, | |||
... | ||||
) |
unsigned int pin_ssl_debug |