1 /***************************************************************************
3 * Project ___| | | | _ \| |
5 * | (__| |_| | _ <| |___
6 * \___|\___/|_| \_\_____|
8 * Copyright (C) 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
10 * This software is licensed as described in the file COPYING, which
11 * you should have received as part of this distribution. The terms
12 * are also available at http://curl.haxx.se/docs/copyright.html.
14 * You may opt to use, copy, modify, merge, publish, distribute and/or sell
15 * copies of the Software, and permit persons to whom the Software is
16 * furnished to do so, under the terms of the COPYING file.
18 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19 * KIND, either express or implied.
21 * RFC2831 DIGEST-MD5 authentication
22 * RFC4422 Simple Authentication and Security Layer (SASL)
24 ***************************************************************************/
26 #include "curl_setup.h"
28 #if defined(USE_WINDOWS_SSPI)
30 #include <curl/curl.h>
32 /* The last #include file should be: */
36 * Curl_sasl_create_digest_md5_message()
38 * This is used to generate an already encoded DIGEST-MD5 response message
39 * ready for sending to the recipient.
43 * data [in] - The session handle.
44 * chlg64 [in] - Pointer to the base64 encoded challenge message.
45 * userp [in] - The user name.
46 * passdwp [in] - The user's password.
47 * service [in] - The service type such as www, smtp, pop or imap.
48 * outptr [in/out] - The address where a pointer to newly allocated memory
49 * holding the result will be stored upon completion.
50 * outlen [out] - The length of the output message.
52 * Returns CURLE_OK on success.
54 CURLcode Curl_sasl_create_digest_md5_message(struct SessionHandle *data,
59 char **outptr, size_t *outlen)
68 return CURLE_NOT_BUILT_IN;
71 #endif /* USE_WINDOWS_SSPI */