diff options
author | AlexSm <alex@ydb.tech> | 2024-01-18 11:28:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-18 11:28:56 +0100 |
commit | 9d0a3761b3201e0d9db879a7adf91876ebdb0564 (patch) | |
tree | 541d11ac878c18efd7ebca81e35112aa0fef995b /library/cpp/http/fetch/http_digest.h | |
parent | 404ef8886ecc9736bc58ade6da2fbd83b486a408 (diff) | |
download | ydb-9d0a3761b3201e0d9db879a7adf91876ebdb0564.tar.gz |
Library import 8 (#1074)
* Library import 8
* Add contrib/libs/cxxsupp/libcxx/include/__verbose_abort
Diffstat (limited to 'library/cpp/http/fetch/http_digest.h')
-rw-r--r-- | library/cpp/http/fetch/http_digest.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/http/fetch/http_digest.h b/library/cpp/http/fetch/http_digest.h index 3b1872d70b..e5ffa3c69e 100644 --- a/library/cpp/http/fetch/http_digest.h +++ b/library/cpp/http/fetch/http_digest.h @@ -2,11 +2,13 @@ #include "httpheader.h" +#include <string> + #include <util/system/compat.h> #include <library/cpp/http/misc/httpcodes.h> class httpDigestHandler { -protected: +private: const char* User_; const char* Password_; char* Nonce_; @@ -15,18 +17,16 @@ protected: void clear(); - void generateCNonce(char* outCNonce); - void digestCalcHA1(const THttpAuthHeader& hd, char* outSessionKey, - char* outCNonce); + const std::string& outCNonce); void digestCalcResponse(const THttpAuthHeader& hd, const char* method, const char* path, const char* nonceCount, char* outResponse, - char* outCNonce); + const std::string& outCNonce); public: httpDigestHandler(); |