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 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 intbyte[]MS-NLMP 2.2.2.10 VERSIONvoidsetMic(byte[] mic) toString()voidwrite(Buffer.PlainBuffer buffer) Methods inherited from class 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:
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
-