![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qauthenticator.h>#include <qauthenticator_p.h>#include <qdebug.h>#include <qloggingcategory.h>#include <qhash.h>#include <qbytearray.h>#include <qcryptographichash.h>#include <qiodevice.h>#include <qdatastream.h>#include <qendian.h>#include <qstring.h>#include <qdatetime.h>#include <qrandom.h>#include <QtNetwork/qhttpheaders.h>#include "moc_qauthenticator.cpp"Go to the source code of this file.
Classes | |
| class | QNtlmBuffer |
| class | QNtlmPhase1Block |
| class | QNtlmPhase2Block |
| class | QNtlmPhase3Block |
Macros | |
| #define | NTLMSSP_NEGOTIATE_UNICODE 0x00000001 |
| #define | NTLMSSP_NEGOTIATE_OEM 0x00000002 |
| #define | NTLMSSP_REQUEST_TARGET 0x00000004 |
| #define | NTLMSSP_NEGOTIATE_SIGN 0x00000010 |
| #define | NTLMSSP_NEGOTIATE_SEAL 0x00000020 |
| #define | NTLMSSP_NEGOTIATE_DATAGRAM 0x00000040 |
| #define | NTLMSSP_NEGOTIATE_LM_KEY 0x00000080 |
| #define | NTLMSSP_NEGOTIATE_NTLM 0x00000200 |
| #define | NTLMSSP_NEGOTIATE_DOMAIN_SUPPLIED 0x00001000 |
| #define | NTLMSSP_NEGOTIATE_WORKSTATION_SUPPLIED 0x00002000 |
| #define | NTLMSSP_NEGOTIATE_LOCAL_CALL 0x00004000 |
| #define | NTLMSSP_NEGOTIATE_ALWAYS_SIGN 0x00008000 |
| #define | NTLMSSP_TARGET_TYPE_DOMAIN 0x00010000 |
| #define | NTLMSSP_TARGET_TYPE_SERVER 0x00020000 |
| #define | NTLMSSP_TARGET_TYPE_SHARE 0x00040000 |
| #define | NTLMSSP_NEGOTIATE_NTLM2 0x00080000 |
| #define | NTLMSSP_NEGOTIATE_TARGET_INFO 0x00800000 |
| #define | NTLMSSP_NEGOTIATE_128 0x20000000 |
| #define | NTLMSSP_NEGOTIATE_KEY_EXCHANGE 0x40000000 |
| #define | NTLMSSP_NEGOTIATE_56 0x80000000 |
| #define | AVTIMESTAMP 7 |
Variables | |
| const int | blockSize = 64 |
| const quint8 | respversion = 1 |
| const quint8 | hirespversion = 1 |
| static constexpr quint16 | NtlmFileTimeSize = 8 |
| #define AVTIMESTAMP 7 |
Definition at line 1089 of file qauthenticator.cpp.
| #define NTLMSSP_NEGOTIATE_128 0x20000000 |
Definition at line 1071 of file qauthenticator.cpp.
| #define NTLMSSP_NEGOTIATE_56 0x80000000 |
Definition at line 1084 of file qauthenticator.cpp.
| #define NTLMSSP_NEGOTIATE_ALWAYS_SIGN 0x00008000 |
Definition at line 1032 of file qauthenticator.cpp.
| #define NTLMSSP_NEGOTIATE_DATAGRAM 0x00000040 |
Definition at line 993 of file qauthenticator.cpp.
| #define NTLMSSP_NEGOTIATE_DOMAIN_SUPPLIED 0x00001000 |
Definition at line 1012 of file qauthenticator.cpp.
| #define NTLMSSP_NEGOTIATE_KEY_EXCHANGE 0x40000000 |
Definition at line 1079 of file qauthenticator.cpp.
| #define NTLMSSP_NEGOTIATE_LM_KEY 0x00000080 |
Definition at line 999 of file qauthenticator.cpp.
| #define NTLMSSP_NEGOTIATE_LOCAL_CALL 0x00004000 |
Definition at line 1026 of file qauthenticator.cpp.
| #define NTLMSSP_NEGOTIATE_NTLM 0x00000200 |
Definition at line 1004 of file qauthenticator.cpp.
| #define NTLMSSP_NEGOTIATE_NTLM2 0x00080000 |
Definition at line 1059 of file qauthenticator.cpp.
| #define NTLMSSP_NEGOTIATE_OEM 0x00000002 |
Definition at line 970 of file qauthenticator.cpp.
| #define NTLMSSP_NEGOTIATE_SEAL 0x00000020 |
Definition at line 988 of file qauthenticator.cpp.
| #define NTLMSSP_NEGOTIATE_SIGN 0x00000010 |
Definition at line 982 of file qauthenticator.cpp.
| #define NTLMSSP_NEGOTIATE_TARGET_INFO 0x00800000 |
Definition at line 1066 of file qauthenticator.cpp.
| #define NTLMSSP_NEGOTIATE_UNICODE 0x00000001 |
Definition at line 965 of file qauthenticator.cpp.
| #define NTLMSSP_NEGOTIATE_WORKSTATION_SUPPLIED 0x00002000 |
Definition at line 1019 of file qauthenticator.cpp.
| #define NTLMSSP_REQUEST_TARGET 0x00000004 |
Definition at line 976 of file qauthenticator.cpp.
| #define NTLMSSP_TARGET_TYPE_DOMAIN 0x00010000 |
Definition at line 1038 of file qauthenticator.cpp.
| #define NTLMSSP_TARGET_TYPE_SERVER 0x00020000 |
Definition at line 1044 of file qauthenticator.cpp.
| #define NTLMSSP_TARGET_TYPE_SHARE 0x00040000 |
Definition at line 1051 of file qauthenticator.cpp.
|
static |
Definition at line 1408 of file qauthenticator.cpp.
Referenced by qEncodeLmv2Response(), and qEncodeNtlmv2Response().
|
static |
Definition at line 756 of file qauthenticator.cpp.
|
static |
Definition at line 842 of file qauthenticator.cpp.
|
static |
Definition at line 526 of file qauthenticator.cpp.
|
static |
Definition at line 513 of file qauthenticator.cpp.
|
static |
Definition at line 1159 of file qauthenticator.cpp.
|
static |
Definition at line 1226 of file qauthenticator.cpp.
References QNtlmPhase1Block::magic.
|
static |
Definition at line 1242 of file qauthenticator.cpp.
References QNtlmPhase3Block::magic.
|
static |
Definition at line 1165 of file qauthenticator.cpp.
| Q_DECLARE_LOGGING_CATEGORY | ( | lcAuthenticator | ) |
| Q_LOGGING_CATEGORY | ( | lcAuthenticator | , |
| "qt.network.authenticator" | ) |
|
static |
Definition at line 1385 of file qauthenticator.cpp.
Referenced by qEncodeLmv2Response(), and qEncodeNtlmv2Response().
| QByteArray qEncodeHmacMd5 | ( | QByteArray & | key, |
| QByteArrayView | message ) |
Definition at line 1326 of file qauthenticator.cpp.
References blockSize.
|
static |
Definition at line 1513 of file qauthenticator.cpp.
References QNtlmPhase2Block::challenge, clientChallenge(), and qCreatev2Hash().
Referenced by qNtlmPhase3().
|
static |
Definition at line 1139 of file qauthenticator.cpp.
|
static |
Definition at line 1148 of file qauthenticator.cpp.
|
static |
Definition at line 1446 of file qauthenticator.cpp.
References QNtlmPhase2Block::challenge, clientChallenge(), and qCreatev2Hash().
Referenced by qNtlmPhase3().
|
static |
Definition at line 1416 of file qauthenticator.cpp.
References NtlmFileTimeSize.
|
static |
Definition at line 1532 of file qauthenticator.cpp.
References QNtlmPhase2Block::challenge, QNtlmPhase2Block::magic, and QNtlmPhase2Block::Size.
Referenced by qNtlmPhase3().
|
static |
Definition at line 1271 of file qauthenticator.cpp.
|
static |
Definition at line 1580 of file qauthenticator.cpp.
References qEncodeLmv2Response(), qEncodeNtlmv2Response(), qNtlmDecodePhase2(), and QNtlmPhase3Block::Size.
|
static |
Definition at line 1120 of file qauthenticator.cpp.
|
static |
Definition at line 1126 of file qauthenticator.cpp.
|
static |
Definition at line 1282 of file qauthenticator.cpp.
|
static |
Definition at line 1293 of file qauthenticator.cpp.
|
static |
Definition at line 488 of file qauthenticator.cpp.
| const int blockSize = 64 |
Definition at line 1094 of file qauthenticator.cpp.
Referenced by qEncodeHmacMd5().
| const quint8 hirespversion = 1 |
Definition at line 1096 of file qauthenticator.cpp.
|
staticconstexpr |
Definition at line 1098 of file qauthenticator.cpp.
Referenced by qExtractServerTime().
| const quint8 respversion = 1 |
Definition at line 1095 of file qauthenticator.cpp.