C# Class MailKit.Security.Ntlm.ChallengeResponse2

显示文件 Open project: jstedfast/MailKit Class Usage Examples

Public Methods

Method Description
Compute ( Type2Message type2, NtlmAuthLevel level, string username, string password, string domain, byte &lm, byte &ntlm ) : void

Private Methods

Method Description
ComputeLM ( string password, byte challenge ) : byte[]
ComputeNtlm ( string password, byte challenge ) : byte[]
ComputeNtlmPassword ( string password ) : byte[]
ComputeNtlmV2 ( Type2Message type2, string username, string password, string domain ) : byte[]
ComputeNtlmV2Session ( string password, byte challenge, byte &lm, byte &ntlm ) : void
GetResponse ( byte challenge, byte pwd ) : byte[]
PasswordToKey ( string password, int position ) : byte[]
PrepareDESKey ( byte key56bits, int position ) : byte[]

Method Details

Compute() public static method

public static Compute ( Type2Message type2, NtlmAuthLevel level, string username, string password, string domain, byte &lm, byte &ntlm ) : void
type2 Type2Message
level NtlmAuthLevel
username string
password string
domain string
lm byte
ntlm byte
return void