throw new RuntimeException("Unexpected NTLM message type: " + messageType + ". Expected type: CHALLENGE (" + NtlmConstants.CHALLENGE + "). Data: " + buf
+ ".");
System.out.println("lmChallengeResponseFields: " + ServerNtlmsspChallenge.readBlockByDescription(buf).toPlainHexString());
ByteBuffer ntChallengeResponseBuf = ServerNtlmsspChallenge.readBlockByDescription(buf);
System.out.println("NtChallengeResponse: " + ntChallengeResponseBuf.toPlainHexString());
System.out.println("DomainName: " + ServerNtlmsspChallenge.readStringByDescription(buf));
System.out.println("UserName: " + ServerNtlmsspChallenge.readStringByDescription(buf));
System.out.println("Workstation: " + ServerNtlmsspChallenge.readStringByDescription(buf));
System.out.println("EncryptedRandomSessionKey: " + ServerNtlmsspChallenge.readBlockByDescription(buf).toPlainHexString());
System.out.println("NegotiateFlags: " + new NegoFlags(buf.readSignedIntLE()));