
Go to the source code of this file.
Functions | |
| int | dump_digest_test (char *hdr, int hdrlen, unsigned char *payload, int paylen, FILE *fd, char segregationLevel) |
| int | encode_digest (char *hdrstart, int hdrlen, dig_cred_t *digest, unsigned char *where) |
| int | print_encoded_digest (FILE *fd, char *hdr, int hdrlen, unsigned char *payload, int paylen, char *prefix) |
| int dump_digest_test | ( | char * | hdr, | |
| int | hdrlen, | |||
| unsigned char * | payload, | |||
| int | paylen, | |||
| FILE * | fd, | |||
| char | segregationLevel | |||
| ) |
Definition at line 217 of file encode_digest.c.
References dump_standard_hdr_test(), HAS_NAME_F, HAS_NONCE_F, HAS_REALM_F, HAS_URI_F, JUNIT, ONLY_URIS, and print_uri_junit_tests().
| int encode_digest | ( | char * | hdrstart, | |
| int | hdrlen, | |||
| dig_cred_t * | digest, | |||
| unsigned char * | where | |||
| ) |
Definition at line 82 of file encode_digest.c.
References dig_cred::alg, algorithm::alg_str, dig_cred::cnonce, encode_uri2(), HAS_ALG_F, HAS_CNONCE_F, HAS_NAME_F, HAS_NC_F, HAS_NONCE_F, HAS_OPAQUE_F, HAS_QoP_F, HAS_REALM_F, HAS_RESPONSE_F, HAS_URI_F, _str::len, LM_ERR, dig_cred::nc, dig_cred::nonce, dig_cred::opaque, parse_uri(), dig_cred::qop, qp::qop_str, dig_cred::realm, dig_cred::response, _str::s, dig_cred::uri, dig_cred::username, and username::whole.
Referenced by encode_header().
| int print_encoded_digest | ( | FILE * | fd, | |
| char * | hdr, | |||
| int | hdrlen, | |||
| unsigned char * | payload, | |||
| int | paylen, | |||
| char * | prefix | |||
| ) |
Definition at line 155 of file encode_digest.c.
References HAS_ALG_F, HAS_CNONCE_F, HAS_NAME_F, HAS_NC_F, HAS_NONCE_F, HAS_OPAQUE_F, HAS_QoP_F, HAS_REALM_F, HAS_RESPONSE_F, HAS_URI_F, and print_encoded_uri().
Referenced by print_encoded_header().
1.5.6