#include "parser.h"
#include <stdlib.h>
#include <string.h>
#include "validate.h"
Go to the source code of this file.
Defines | |
#define | DEFAULT_CHARSET "utf-8" |
#define | DEFAULT_ALGORITHM "md5-sess" |
Enumerations | |
enum | { CHALLENGE_REALM = 0, CHALLENGE_NONCE, CHALLENGE_QOP, CHALLENGE_STALE, CHALLENGE_MAXBUF, CHALLENGE_CHARSET, CHALLENGE_ALGORITHM, CHALLENGE_CIPHER } |
enum | { QOP_AUTH = 0, QOP_AUTH_INT, QOP_AUTH_CONF } |
enum | { CIPHER_DES = 0, CIPHER_3DES, CIPHER_RC4, CIPHER_RC4_40, CIPHER_RC4_56, CIPHER_AES_CBC } |
enum | { RESPONSE_USERNAME = 0, RESPONSE_REALM, RESPONSE_NONCE, RESPONSE_CNONCE, RESPONSE_NC, RESPONSE_QOP, RESPONSE_DIGEST_URI, RESPONSE_RESPONSE, RESPONSE_MAXBUF, RESPONSE_CHARSET, RESPONSE_CIPHER, RESPONSE_AUTHZID } |
enum | { RESPONSEAUTH_RSPAUTH = 0 } |
Functions | |
int | digest_md5_parse_challenge (const char *challenge, size_t len, digest_md5_challenge *out) |
int | digest_md5_parse_response (const char *response, size_t len, digest_md5_response *out) |
int | digest_md5_parse_finish (const char *finish, size_t len, digest_md5_finish *out) |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
int digest_md5_parse_challenge | ( | const char * | challenge, | |
size_t | len, | |||
digest_md5_challenge * | out | |||
) |
int digest_md5_parse_finish | ( | const char * | finish, | |
size_t | len, | |||
digest_md5_finish * | out | |||
) |
int digest_md5_parse_response | ( | const char * | response, | |
size_t | len, | |||
digest_md5_response * | out | |||
) |