/** Get NTLMUserSessionKey */ public byte[] getNTLMUserSessionKey() throws NtlmEngineException { if (ntlmUserSessionKey == null) { final MD4 md4 = new MD4(); md4.update(getNTLMHash()); ntlmUserSessionKey = md4.getOutput(); } return ntlmUserSessionKey; }
/** Get NTLM2SessionResponse */ public byte[] getNTLM2SessionResponse() throws NtlmEngineException { if (ntlm2SessionResponse == null) { ntlm2SessionResponse = ntlm2SessionResponse(getNTLMHash(), challenge, getClientChallenge()); } return ntlm2SessionResponse; }
/** Calculate the NTLMv2 hash */ public byte[] getNTLMv2Hash() throws NtlmEngineException { if (ntlmv2Hash == null) { ntlmv2Hash = ntlmv2Hash(domain, user, getNTLMHash()); } return ntlmv2Hash; }
/** Calculate the LMv2 hash */ public byte[] getLMv2Hash() throws NtlmEngineException { if (lmv2Hash == null) { lmv2Hash = lmv2Hash(domain, user, getNTLMHash()); } return lmv2Hash; }
/** Calculate and return the NTLMResponse */ public byte[] getNTLMResponse() throws NtlmEngineException { if (ntlmResponse == null) { ntlmResponse = lmResponse(getNTLMHash(), challenge); } return ntlmResponse; }
/** Get NTLMUserSessionKey */ public byte[] getNTLMUserSessionKey() throws NtlmEngineException { if (ntlmUserSessionKey == null) { final MD4 md4 = new MD4(); md4.update(getNTLMHash()); ntlmUserSessionKey = md4.getOutput(); } return ntlmUserSessionKey; }
/** Calculate the NTLMv2 hash */ public byte[] getNTLMv2Hash() throws NtlmEngineException { if (ntlmv2Hash == null) { ntlmv2Hash = ntlmv2Hash(domain, user, getNTLMHash()); } return ntlmv2Hash; }
/** Get NTLM2SessionResponse */ public byte[] getNTLM2SessionResponse() throws NtlmEngineException { if (ntlm2SessionResponse == null) { ntlm2SessionResponse = ntlm2SessionResponse(getNTLMHash(), challenge, getClientChallenge()); } return ntlm2SessionResponse; }
/** Calculate the LMv2 hash */ public byte[] getLMv2Hash() throws NtlmEngineException { if (lmv2Hash == null) { lmv2Hash = lmv2Hash(domain, user, getNTLMHash()); } return lmv2Hash; }
/** Calculate and return the NTLMResponse */ public byte[] getNTLMResponse() throws NtlmEngineException { if (ntlmResponse == null) { ntlmResponse = lmResponse(getNTLMHash(), challenge); } return ntlmResponse; }