|
char * | sasl_plain (xmpp_ctx_t *ctx, const char *authid, const char *password) |
| generate authentication string for the SASL PLAIN mechanism More...
|
|
static char * | _make_string (xmpp_ctx_t *ctx, const char *s, const unsigned len) |
| helpers for digest auth More...
|
|
static char * | _make_quoted (xmpp_ctx_t *ctx, const char *s) |
|
static hash_t * | _parse_digest_challenge (xmpp_ctx_t *ctx, const char *msg) |
|
static void | _digest_to_hex (const char *digest, char *hex) |
| expand a 16 byte MD5 digest to a 32 byte hex representation More...
|
|
static char * | _add_key (xmpp_ctx_t *ctx, hash_t *table, const char *key, char *buf, int quote) |
| append 'key="value"' to a buffer, growing as necessary More...
|
|
char * | sasl_digest_md5 (xmpp_ctx_t *ctx, const char *challenge, const char *jid, const char *password) |
| generate auth response string for the SASL DIGEST-MD5 mechanism More...
|
|
char * | sasl_scram (xmpp_ctx_t *ctx, const struct hash_alg *alg, const char *challenge, const char *first_bare, const char *jid, const char *password) |
| generate auth response string for the SASL SCRAM mechanism More...
|
|