summaryrefslogtreecommitdiff
path: root/lib/curl_sasl.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-08-14 00:03:45 +0100
committerSteve Holme <steve_holme@hotmail.com>2014-08-14 10:37:01 +0100
commit4b491c675fa6f73871a525620a23e1bb4a0e9dd3 (patch)
treee003702d72083620b1f5672632d78f01807607ad /lib/curl_sasl.h
parent3ec253532ebda3c4cfffaf3f82dec583ec24ec1a (diff)
downloadcurl-4b491c675fa6f73871a525620a23e1bb4a0e9dd3.tar.gz
sasl_sspi: Added GSSAPI message functions
Diffstat (limited to 'lib/curl_sasl.h')
-rw-r--r--lib/curl_sasl.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/curl_sasl.h b/lib/curl_sasl.h
index fe7c471ce..6957ee134 100644
--- a/lib/curl_sasl.h
+++ b/lib/curl_sasl.h
@@ -119,6 +119,27 @@ CURLcode Curl_sasl_create_ntlm_type3_message(struct SessionHandle *data,
#endif /* USE_NTLM */
+#if defined(USE_WINDOWS_SSPI)
+/* This is used to generate a base64 encoded GSSAPI (Kerberos V5) user token
+ message */
+CURLcode Curl_sasl_create_gssapi_user_message(struct SessionHandle *data,
+ const char *userp,
+ const char *passwdp,
+ const char *service,
+ const bool mutual,
+ const char *chlg64,
+ struct kerberos5data *krb5,
+ char **outptr, size_t *outlen);
+
+/* This is used to generate a base64 encoded GSSAPI (Kerberos V5) security
+ token message */
+CURLcode Curl_sasl_create_gssapi_security_message(struct SessionHandle *data,
+ const char *input,
+ struct kerberos5data *krb5,
+ char **outptr,
+ size_t *outlen);
+#endif
+
/* This is used to generate a base64 encoded XOAUTH2 authentication message
containing the user name and bearer token */
CURLcode Curl_sasl_create_xoauth2_message(struct SessionHandle *data,