#include <npssl.h>
Public Methods | |
void | setVerifyLocations (const string &certname, const string &pathname) |
void | setClientVerification (int mode, int(*verify_callback)(int, X509_STORE_CTX *)) |
void | setClientVerificationDepth (int depth) |
void | newConnection (void) |
void | setExData (int index, void *data) |
X509 * | getPeerCertificate (void) |
long | getVerifyResult (void) |
void | setCertFile (const string &filename) |
bool | handShake (int infd, int outfd) |
int | get_rfd (void) |
int | get_wfd (void) |
string | getS (void) |
char | getch (void) |
string | bufferedGetS (void) |
char | bufferedGetch (void) |
void | bufferedUnGetch (char c) |
bool | hasMore (void) |
bool | putS (const string &str) |
bool | putch (char c) |
bool | bufferedPutS (const string &str) |
bool | bufferedPutch (char c) |
bool | flush (void) |
npssl (int bufsiz, bool mode) | |
~npssl () |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|