Class Swift_Transport_Esmtp_Auth_NTLMAuthenticator
Handles NTLM authentication.
- Swift_Transport_Esmtp_Auth_NTLMAuthenticator implements Swift_Transport_Esmtp_Authenticator
Package: Swift\Transport
Author: Ward Peeters <ward@coding-tech.com>
Located at wa-system/vendors/swift/classes/Swift/Transport/Esmtp/Auth/NTLMAuthenticator.php
Author: Ward Peeters <ward@coding-tech.com>
Located at wa-system/vendors/swift/classes/Swift/Transport/Esmtp/Auth/NTLMAuthenticator.php
public
string
|
|
public
boolean
|
#
authenticate(
Try to authenticate the user with $username and $password. |
protected
|
|
protected
string
|
|
protected
array
|
|
protected
array
|
|
protected
string
|
#
sendMessage3( string $response, string $username, string $password, string $timestamp, string $client,
Send our final message with all our data |
protected
string
|
|
protected
string
|
#
createMessage3( string $domain, string $username, string $workstation, string $lmResponse, string $ntlmResponse )
Create our message 3 |
protected
string
|
|
protected
array
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
#
getCorrectTimestamp( string $time )
Convert a normal timestamp to a tenth of a microtime epoch time |
protected
string
|
#
createLMv2Password( string $password, string $username, string $domain, string $challenge, string $client )
Create LMv2 response |
protected
string
|
#
createNTLMv2Hash( string $password, string $username, string $domain, string $challenge, string $targetInfo, string $timestamp, string $client )
Create NTLMv2 response |
protected
|
|
protected
string
|
#
createSecurityBuffer( string $value, integer $offset, boolean $is16 = false )
Create our security buffer depending on length and offset |
protected
array
|
#
readSecurityBuffer( string $value )
Read our security buffer to fetch length and offset of our value |
protected
integer
|
|
protected
integer
|
|
protected
string
|
#
createByte( string $input, integer $bytes = 4, boolean $isHex = true )
Right padding with 0 to certain length |
protected
string
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
|
protected
|
string |
NTLMSIG
|
"NTLMSSP\x00" |
|
string |
DESCONST
|
"KGS!@#$%" |