Strophe 0.12
XMPP client library
|
TLS implementation with Win32 SChannel. More...
Data Structures | |
struct | tls_t |
Macros | |
#define | SECURITY_WIN32 |
Functions | |
void | tls_initialize (void) |
void | tls_shutdown (void) |
char * | tls_id_on_xmppaddr (xmpp_conn_t *conn, unsigned int n) |
Search through the SubjectAlternativeNames and return the next id-on-xmppAddr element starting from n . | |
unsigned int | tls_id_on_xmppaddr_num (xmpp_conn_t *conn) |
tls_t * | tls_new (xmpp_conn_t *conn) |
void | tls_free (tls_t *tls) |
xmpp_tlscert_t * | tls_peer_cert (xmpp_conn_t *conn) |
int | tls_set_credentials (tls_t *tls, const char *cafilename) |
int | tls_start (tls_t *tls) |
int | tls_stop (tls_t *tls) |
int | tls_error (tls_t *tls) |
int | tls_is_recoverable (int error) |
int | tls_pending (tls_t *tls) |
int | tls_read (tls_t *tls, void *buff, size_t len) |
int | tls_clear_pending_write (tls_t *tls) |
int | tls_write (tls_t *tls, const void *buff, size_t len) |
TLS implementation with Win32 SChannel.
#define SECURITY_WIN32 |
void tls_initialize | ( | void | ) |
void tls_shutdown | ( | void | ) |
char * tls_id_on_xmppaddr | ( | xmpp_conn_t * | conn, |
unsigned int | n | ||
) |
Search through the SubjectAlternativeNames and return the next id-on-xmppAddr element starting from n
.
unsigned int tls_id_on_xmppaddr_num | ( | xmpp_conn_t * | conn | ) |
tls_t * tls_new | ( | xmpp_conn_t * | conn | ) |
void tls_free | ( | tls_t * | tls | ) |
xmpp_tlscert_t * tls_peer_cert | ( | xmpp_conn_t * | conn | ) |
int tls_set_credentials | ( | tls_t * | tls, |
const char * | cafilename | ||
) |
int tls_start | ( | tls_t * | tls | ) |
int tls_stop | ( | tls_t * | tls | ) |
int tls_error | ( | tls_t * | tls | ) |
int tls_is_recoverable | ( | int | error | ) |
int tls_pending | ( | tls_t * | tls | ) |
int tls_read | ( | tls_t * | tls, |
void * | buff, | ||
size_t | len | ||
) |
int tls_clear_pending_write | ( | tls_t * | tls | ) |
int tls_write | ( | tls_t * | tls, |
const void * | buff, | ||
size_t | len | ||
) |