Class NTLMEngineImpl.CipherGen
- java.lang.Object
-
- org.apache.hc.client5.http.impl.auth.NTLMEngineImpl.CipherGen
-
- Enclosing class:
- NTLMEngineImpl
static class NTLMEngineImpl.CipherGen extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) byte[]challenge(package private) byte[]clientChallenge(package private) byte[]clientChallenge2(package private) longcurrentTime(package private) java.lang.Stringdomain(package private) byte[]lanManagerSessionKey(package private) byte[]lm2SessionResponse(package private) byte[]lmHash(package private) byte[]lmResponse(package private) byte[]lmUserSessionKey(package private) byte[]lmv2Hash(package private) byte[]lmv2Response(package private) byte[]ntlm2SessionResponse(package private) byte[]ntlm2SessionResponseUserSessionKey(package private) byte[]ntlmHash(package private) byte[]ntlmResponse(package private) byte[]ntlmUserSessionKey(package private) byte[]ntlmv2Blob(package private) byte[]ntlmv2Hash(package private) byte[]ntlmv2Response(package private) byte[]ntlmv2UserSessionKey(package private) char[]password(package private) java.util.Randomrandom(package private) byte[]secondaryKey(package private) java.lang.Stringtarget(package private) byte[]targetInformation(package private) byte[]timestamp(package private) java.lang.Stringuser
-
Constructor Summary
Constructors Constructor Description CipherGen(java.util.Random random, long currentTime, java.lang.String domain, java.lang.String user, char[] password, byte[] challenge, java.lang.String target, byte[] targetInformation)CipherGen(java.util.Random random, long currentTime, java.lang.String domain, java.lang.String user, char[] password, byte[] challenge, java.lang.String target, byte[] targetInformation, byte[] clientChallenge, byte[] clientChallenge2, byte[] secondaryKey, byte[] timestamp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) byte[]getClientChallenge()Calculate and return client challenge(package private) byte[]getClientChallenge2()Calculate and return second client challenge(package private) byte[]getLanManagerSessionKey()Get LAN Manager session key(package private) byte[]getLM2SessionResponse()Calculate and return LM2 session response(package private) byte[]getLMHash()Calculate and return the LMHash(package private) byte[]getLMResponse()Calculate and return the LMResponse(package private) byte[]getLMUserSessionKey()Get LMUserSessionKey(package private) byte[]getLMv2Hash()Calculate the LMv2 hash(package private) byte[]getLMv2Response()Calculate the LMv2Response(package private) byte[]getNTLM2SessionResponse()Get NTLM2SessionResponse(package private) byte[]getNTLM2SessionResponseUserSessionKey()Get NTLM2SessionResponseUserSessionKey(package private) byte[]getNTLMHash()Calculate and return the NTLMHash(package private) byte[]getNTLMResponse()Calculate and return the NTLMResponse(package private) byte[]getNTLMUserSessionKey()Get NTLMUserSessionKey(package private) byte[]getNTLMv2Blob()Calculate the NTLMv2Blob(package private) byte[]getNTLMv2Hash()Calculate the NTLMv2 hash(package private) byte[]getNTLMv2Response()Calculate the NTLMv2Response(package private) byte[]getNTLMv2UserSessionKey()GetNTLMv2UserSessionKey(package private) byte[]getSecondaryKey()Calculate and return random secondary key(package private) byte[]getTimestamp()Calculate a timestamp
-
-
-
Field Detail
-
random
final java.util.Random random
-
currentTime
final long currentTime
-
domain
final java.lang.String domain
-
user
final java.lang.String user
-
password
final char[] password
-
challenge
final byte[] challenge
-
target
final java.lang.String 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 Detail
-
CipherGen
CipherGen(java.util.Random random, long currentTime, java.lang.String domain, java.lang.String user, char[] password, byte[] challenge, java.lang.String target, byte[] targetInformation, byte[] clientChallenge, byte[] clientChallenge2, byte[] secondaryKey, byte[] timestamp)
-
CipherGen
CipherGen(java.util.Random random, long currentTime, java.lang.String domain, java.lang.String user, char[] password, byte[] challenge, java.lang.String target, byte[] targetInformation)
-
-
Method Detail
-
getClientChallenge
byte[] getClientChallenge()
Calculate and return client challenge
-
getClientChallenge2
byte[] getClientChallenge2()
Calculate and return second client challenge
-
getSecondaryKey
byte[] getSecondaryKey()
Calculate and return random secondary key
-
getLMHash
byte[] getLMHash() throws NTLMEngineExceptionCalculate and return the LMHash- Throws:
NTLMEngineException
-
getLMResponse
byte[] getLMResponse() throws NTLMEngineExceptionCalculate and return the LMResponse- Throws:
NTLMEngineException
-
getNTLMHash
byte[] getNTLMHash()
Calculate and return the NTLMHash
-
getNTLMResponse
byte[] getNTLMResponse() throws NTLMEngineExceptionCalculate and return the NTLMResponse- Throws:
NTLMEngineException
-
getLMv2Hash
byte[] getLMv2Hash()
Calculate the LMv2 hash
-
getNTLMv2Hash
byte[] getNTLMv2Hash()
Calculate the NTLMv2 hash
-
getTimestamp
byte[] getTimestamp()
Calculate a timestamp
-
getNTLMv2Blob
byte[] getNTLMv2Blob()
Calculate the NTLMv2Blob
-
getNTLMv2Response
byte[] getNTLMv2Response()
Calculate the NTLMv2Response
-
getLMv2Response
byte[] getLMv2Response()
Calculate the LMv2Response
-
getNTLM2SessionResponse
byte[] getNTLM2SessionResponse() throws NTLMEngineExceptionGet NTLM2SessionResponse- Throws:
NTLMEngineException
-
getLM2SessionResponse
byte[] getLM2SessionResponse()
Calculate and return LM2 session response
-
getLMUserSessionKey
byte[] getLMUserSessionKey() throws NTLMEngineExceptionGet LMUserSessionKey- Throws:
NTLMEngineException
-
getNTLMUserSessionKey
byte[] getNTLMUserSessionKey()
Get NTLMUserSessionKey
-
getNTLMv2UserSessionKey
byte[] getNTLMv2UserSessionKey()
GetNTLMv2UserSessionKey
-
getNTLM2SessionResponseUserSessionKey
byte[] getNTLM2SessionResponseUserSessionKey()
Get NTLM2SessionResponseUserSessionKey
-
getLanManagerSessionKey
byte[] getLanManagerSessionKey() throws NTLMEngineExceptionGet LAN Manager session key- Throws:
NTLMEngineException
-
-