| 417 * |
417 * |
| 418 * @param algorithm The hash algorithm to use |
418 * @param algorithm The hash algorithm to use |
| 419 * @param method The HTTP method in use |
419 * @param method The HTTP method in use |
| 420 * @param digest_uri The URI from the initial request |
420 * @param digest_uri The URI from the initial request |
| 421 * @param qop The "quality of protection" |
421 * @param qop The "quality of protection" |
| 422 * @param hashed_entity The hashed entity body |
422 * @param entity The entity body |
| 423 * @param hashed_entity_len The length of the data in @a hashed_entity |
|
| 424 * @param nonce The nonce provided by the server |
423 * @param nonce The nonce provided by the server |
| 425 * @param nonce_count The nonce count |
424 * @param nonce_count The nonce count |
| 426 * @param client_nonce The nonce provided by the client |
425 * @param client_nonce The nonce provided by the client |
| 427 * @param session_key The session key from gaim_cipher_http_digest_calculate_session_key() |
426 * @param session_key The session key from gaim_cipher_http_digest_calculate_session_key() |
| 428 * |
427 * |
| 429 * @return The hashed response, or @c NULL if an error occurred. |
428 * @return The hashed response, or @c NULL if an error occurred. |
| 430 */ |
429 */ |
| 431 gchar *gaim_cipher_http_digest_calculate_response( |
430 gchar *gaim_cipher_http_digest_calculate_response( |
| 432 const gchar *algorithm, const gchar *method, |
431 const gchar *algorithm, const gchar *method, |
| 433 const gchar *digest_uri, const gchar *qop, |
432 const gchar *digest_uri, const gchar *qop, |
| 434 const gchar *hashed_entity, size_t hashed_entity_len, |
433 const gchar *entity, const gchar *nonce, |
| 435 const gchar *nonce, const gchar *nonce_count, |
434 const gchar *nonce_count, const gchar *client_nonce, |
| 436 const gchar *client_nonce, const gchar *session_key); |
435 const gchar *session_key); |
| 437 |
436 |
| 438 /*@}*/ |
437 /*@}*/ |
| 439 |
438 |
| 440 #ifdef __cplusplus |
439 #ifdef __cplusplus |
| 441 } |
440 } |