Package com.hierynomus.ntlm.messages
Class NtlmAuthenticate
- java.lang.Object
-
- com.hierynomus.ntlm.messages.NtlmPacket
-
- com.hierynomus.ntlm.messages.NtlmMessage
-
- com.hierynomus.ntlm.messages.NtlmAuthenticate
-
- All Implemented Interfaces:
Packet<Buffer.PlainBuffer>
public class NtlmAuthenticate extends NtlmMessage
[MS-NLMP].pdf 2.2.1.3 AUTHENTICATE_MESSAGE
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]domainNameprivate byte[]encryptedRandomSessionKeyprivate byte[]lmResponseprivate byte[]micprivate byte[]ntResponseprivate byte[]userNameprivate byte[]workstation-
Fields inherited from class com.hierynomus.ntlm.messages.NtlmMessage
DEFAULT_FLAGS, negotiateFlags, version
-
-
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private intgetBaseMessageSize()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
-
-
-
-
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
-
getBaseMessageSize
private int getBaseMessageSize()
-
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
-
-