Class NTLMEngineImpl.CipherGen
java.lang.Object
org.apache.hc.client5.http.impl.auth.NTLMEngineImpl.CipherGen
- Enclosing class:
NTLMEngineImpl
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final byte[]
(package private) byte[]
(package private) byte[]
(package private) final long
(package private) final String
(package private) byte[]
(package private) byte[]
(package private) byte[]
(package private) byte[]
(package private) byte[]
(package private) byte[]
(package private) byte[]
(package private) byte[]
(package private) byte[]
(package private) byte[]
(package private) byte[]
(package private) byte[]
(package private) byte[]
(package private) byte[]
(package private) byte[]
(package private) byte[]
(package private) final char[]
(package private) final Random
(package private) byte[]
(package private) final String
(package private) final byte[]
(package private) byte[]
(package private) final String
-
Constructor Summary
ConstructorsConstructorDescriptionCipherGen
(Random random, long currentTime, String domain, String user, char[] password, byte[] challenge, String target, byte[] targetInformation) CipherGen
(Random random, long currentTime, String domain, String user, char[] password, byte[] challenge, String target, byte[] targetInformation, byte[] clientChallenge, byte[] clientChallenge2, byte[] secondaryKey, byte[] timestamp) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Calculate and return client challengebyte[]
Calculate and return second client challengebyte[]
Get LAN Manager session keybyte[]
Calculate and return LM2 session responsebyte[]
Calculate and return the LMHashbyte[]
Calculate and return the LMResponsebyte[]
Get LMUserSessionKeybyte[]
Calculate the LMv2 hashbyte[]
Calculate the LMv2Responsebyte[]
Get NTLM2SessionResponsebyte[]
Get NTLM2SessionResponseUserSessionKeybyte[]
Calculate and return the NTLMHashbyte[]
Calculate and return the NTLMResponsebyte[]
Get NTLMUserSessionKeybyte[]
Calculate the NTLMv2Blobbyte[]
Calculate the NTLMv2 hashbyte[]
Calculate the NTLMv2Responsebyte[]
GetNTLMv2UserSessionKeybyte[]
Calculate and return random secondary keybyte[]
Calculate a timestamp
-
Field Details
-
random
-
currentTime
final long currentTime -
domain
-
user
-
password
final char[] password -
challenge
final byte[] challenge -
target
-
targetInformation
final byte[] targetInformation -
clientChallenge
byte[] clientChallenge -
clientChallenge2
byte[] clientChallenge2 -
secondaryKey
byte[] secondaryKey -
timestamp
byte[] timestamp -
lmHash
byte[] lmHash -
lmResponse
byte[] lmResponse -
ntlmHash
byte[] ntlmHash -
ntlmResponse
byte[] ntlmResponse -
ntlmv2Hash
byte[] ntlmv2Hash -
lmv2Hash
byte[] lmv2Hash -
lmv2Response
byte[] lmv2Response -
ntlmv2Blob
byte[] ntlmv2Blob -
ntlmv2Response
byte[] ntlmv2Response -
ntlm2SessionResponse
byte[] ntlm2SessionResponse -
lm2SessionResponse
byte[] lm2SessionResponse -
lmUserSessionKey
byte[] lmUserSessionKey -
ntlmUserSessionKey
byte[] ntlmUserSessionKey -
ntlmv2UserSessionKey
byte[] ntlmv2UserSessionKey -
ntlm2SessionResponseUserSessionKey
byte[] ntlm2SessionResponseUserSessionKey -
lanManagerSessionKey
byte[] lanManagerSessionKey
-
-
Constructor Details
-
CipherGen
-
CipherGen
-
-
Method Details
-
getClientChallenge
public byte[] getClientChallenge()Calculate and return client challenge -
getClientChallenge2
public byte[] getClientChallenge2()Calculate and return second client challenge -
getSecondaryKey
public byte[] getSecondaryKey()Calculate and return random secondary key -
getLMHash
Calculate and return the LMHash- Throws:
NTLMEngineException
-
getLMResponse
Calculate and return the LMResponse- Throws:
NTLMEngineException
-
getNTLMHash
Calculate and return the NTLMHash- Throws:
NTLMEngineException
-
getNTLMResponse
Calculate and return the NTLMResponse- Throws:
NTLMEngineException
-
getLMv2Hash
Calculate the LMv2 hash- Throws:
NTLMEngineException
-
getNTLMv2Hash
Calculate the NTLMv2 hash- Throws:
NTLMEngineException
-
getTimestamp
public byte[] getTimestamp()Calculate a timestamp -
getNTLMv2Blob
public byte[] getNTLMv2Blob()Calculate the NTLMv2Blob -
getNTLMv2Response
Calculate the NTLMv2Response- Throws:
NTLMEngineException
-
getLMv2Response
Calculate the LMv2Response- Throws:
NTLMEngineException
-
getNTLM2SessionResponse
Get NTLM2SessionResponse- Throws:
NTLMEngineException
-
getLM2SessionResponse
public byte[] getLM2SessionResponse()Calculate and return LM2 session response -
getLMUserSessionKey
Get LMUserSessionKey- Throws:
NTLMEngineException
-
getNTLMUserSessionKey
Get NTLMUserSessionKey- Throws:
NTLMEngineException
-
getNTLMv2UserSessionKey
GetNTLMv2UserSessionKey- Throws:
NTLMEngineException
-
getNTLM2SessionResponseUserSessionKey
Get NTLM2SessionResponseUserSessionKey- Throws:
NTLMEngineException
-
getLanManagerSessionKey
Get LAN Manager session key- Throws:
NTLMEngineException
-