Package com.hierynomus.ntlm.messages
Class NtlmAuthenticate
- java.lang.Object
-
- com.hierynomus.ntlm.messages.NtlmPacket
-
- com.hierynomus.ntlm.messages.NtlmAuthenticate
-
- All Implemented Interfaces:
Packet<Buffer.PlainBuffer>
public class NtlmAuthenticate extends NtlmPacket
[MS-NLMP].pdf 2.2.1.3 AUTHENTICATE_MESSAGE
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.util.Set<NtlmNegotiateFlag>DEFAULT_FLAGSprotected java.util.Set<NtlmNegotiateFlag>negotiateFlagsprotected WindowsVersionversion
-
Constructor Summary
Constructors Constructor Description NtlmAuthenticate(byte[] lmResponse, byte[] ntResponse, java.lang.String userName, java.lang.String domainName, java.lang.String workstation, byte[] encryptedRandomSessionKey, java.util.Set<NtlmNegotiateFlag> negotiateFlags, WindowsVersion version)
-
Method Summary
Modifier and Type Method Description byte[]getVersion()MS-NLMP 2.2.2.10 VERSIONvoidsetMic(byte[] mic)java.lang.StringtoString()voidwrite(Buffer.PlainBuffer buffer)-
Methods inherited from class com.hierynomus.ntlm.messages.NtlmPacket
read
-
-
-
-
Field Detail
-
DEFAULT_FLAGS
protected static java.util.Set<NtlmNegotiateFlag> DEFAULT_FLAGS
-
negotiateFlags
protected java.util.Set<NtlmNegotiateFlag> negotiateFlags
-
version
protected WindowsVersion version
-
-
Constructor Detail
-
NtlmAuthenticate
public NtlmAuthenticate(byte[] lmResponse, byte[] ntResponse, java.lang.String userName, java.lang.String domainName, java.lang.String workstation, byte[] encryptedRandomSessionKey, java.util.Set<NtlmNegotiateFlag> negotiateFlags, WindowsVersion version)
-
-
Method Detail
-
write
public void write(Buffer.PlainBuffer buffer)
- Specified by:
writein interfacePacket<Buffer.PlainBuffer>- Overrides:
writein classNtlmPacket
-
setMic
public void setMic(byte[] mic)
-
getVersion
public byte[] getVersion()
MS-NLMP 2.2.2.10 VERSION- Returns:
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-