Метод | Описание | |
---|---|---|
GetChallenge ( ) : byte[] |
Returns the challenge for this message. Returns the challenge for this message. |
|
GetContext ( ) : byte[] |
Returns the local security context. Returns the local security context. |
|
GetDefaultDomain ( ) : string |
Returns the default domain from the current environment. Returns the default domain from the current environment. |
|
GetDefaultFlags ( ) : int |
Returns the default flags for a generic Type-2 message in the current environment. Returns the default flags for a generic Type-2 message in the current environment. |
|
GetDefaultFlags ( |
Returns the default flags for a Type-2 message created in response to the given Type-1 message in the current environment. Returns the default flags for a Type-2 message created in response to the given Type-1 message in the current environment. |
|
GetDefaultTargetInformation ( ) : byte[] | ||
GetTarget ( ) : string |
Returns the authentication target. Returns the authentication target. |
|
GetTargetInformation ( ) : byte[] |
Returns the target information block. Returns the target information block. |
|
SetChallenge ( byte challenge ) : void |
Sets the challenge for this message. Sets the challenge for this message. |
|
SetContext ( byte context ) : void |
Sets the local security context. Sets the local security context. This is used by the client to negotiate local authentication. |
|
SetTarget ( string target ) : void |
Sets the authentication target. Sets the authentication target. |
|
SetTargetInformation ( byte targetInformation ) : void |
Sets the target information block. Sets the target information block. The target information block is used by the client to create an NTLMv2 response. |
|
ToByteArray ( ) : byte[] | ||
ToString ( ) : string | ||
Type2Message ( |
Creates a Type-2 message in response to the given Type-1 message using default values from the current environment. Creates a Type-2 message in response to the given Type-1 message using default values from the current environment. |
|
Type2Message ( |
Creates a Type-2 message in response to the given Type-1 message. Creates a Type-2 message in response to the given Type-1 message. |
|
Type2Message ( byte material ) : System |
Creates a Type-2 message using the given raw Type-2 material. Creates a Type-2 message using the given raw Type-2 material. |
|
Type2Message ( int flags, byte challenge, string target ) : System |
Creates a Type-2 message with the specified parameters. Creates a Type-2 message with the specified parameters. |
Метод | Описание | |
---|---|---|
Parse ( byte material ) : void | ||
Type2Message ( ) : System |
public static GetDefaultDomain ( ) : string | ||
Результат | string |
public static GetDefaultFlags ( |
||
type1 | ||
Результат | int |
public static GetDefaultTargetInformation ( ) : byte[] | ||
Результат | byte[] |
public SetChallenge ( byte challenge ) : void | ||
challenge | byte | The challenge from the domain controller/server. |
Результат | void |
public SetContext ( byte context ) : void | ||
context | byte | The local security context. |
Результат | void |
public SetTarget ( string target ) : void | ||
target | string | The authentication target. |
Результат | void |
public SetTargetInformation ( byte targetInformation ) : void | ||
targetInformation | byte | The target information block. |
Результат | void |
public Type2Message ( |
||
type1 | The Type-1 message which this represents a response to. | |
Результат | System |
public Type2Message ( |
||
type1 | The Type-1 message which this represents a response to. | |
challenge | byte | The challenge from the domain controller/server. |
target | string | The authentication target. |
Результат | System |
public Type2Message ( byte material ) : System | ||
material | byte | The raw Type-2 material used to construct this message. |
Результат | System |
public Type2Message ( int flags, byte challenge, string target ) : System | ||
flags | int | The flags to apply to this message. |
challenge | byte | The challenge from the domain controller/server. |
target | string | The authentication target. |
Результат | System |