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>
[MS-NLMP].pdf 2.2.1.3 AUTHENTICATE_MESSAGE
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate byte[]
private byte[]
private byte[]
private byte[]
private byte[]
private byte[]
private byte[]
Fields inherited from class com.hierynomus.ntlm.messages.NtlmMessage
DEFAULT_FLAGS, negotiateFlags, version
-
Constructor Summary
ConstructorsConstructorDescriptionNtlmAuthenticate
(byte[] lmResponse, byte[] ntResponse, String userName, String domainName, String workstation, byte[] encryptedRandomSessionKey, Set<NtlmNegotiateFlag> negotiateFlags, WindowsVersion version) -
Method Summary
Modifier and TypeMethodDescriptionprivate int
byte[]
MS-NLMP 2.2.2.10 VERSIONvoid
setMic
(byte[] mic) toString()
void
write
(Buffer.PlainBuffer buffer) Methods inherited from class com.hierynomus.ntlm.messages.NtlmPacket
read
-
Field Details
-
lmResponse
private byte[] lmResponse -
ntResponse
private byte[] ntResponse -
userName
private byte[] userName -
domainName
private byte[] domainName -
workstation
private byte[] workstation -
encryptedRandomSessionKey
private byte[] encryptedRandomSessionKey -
mic
private byte[] mic
-
-
Constructor Details
-
NtlmAuthenticate
public NtlmAuthenticate(byte[] lmResponse, byte[] ntResponse, String userName, String domainName, String workstation, byte[] encryptedRandomSessionKey, Set<NtlmNegotiateFlag> negotiateFlags, WindowsVersion version)
-
-
Method Details
-
getBaseMessageSize
private int getBaseMessageSize() -
write
- Specified by:
write
in interfacePacket<Buffer.PlainBuffer>
- Overrides:
write
in classNtlmPacket
-
setMic
public void setMic(byte[] mic) -
getVersion
public byte[] getVersion()MS-NLMP 2.2.2.10 VERSION- Returns:
-
toString
-