Class NTLMEngine.CipherGen
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.io.dav.http.NTLMEngine.CipherGen
-
- Enclosing class:
- NTLMEngine
protected static class NTLMEngine.CipherGen extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]
challenge
protected byte[]
clientChallenge
protected byte[]
clientChallenge2
protected java.lang.String
domain
protected byte[]
lanManagerSessionKey
protected byte[]
lm2SessionResponse
protected byte[]
lmHash
protected byte[]
lmResponse
protected byte[]
lmUserSessionKey
protected byte[]
lmv2Hash
protected byte[]
lmv2Response
protected byte[]
ntlm2SessionResponse
protected byte[]
ntlm2SessionResponseUserSessionKey
protected byte[]
ntlmHash
protected byte[]
ntlmResponse
protected byte[]
ntlmUserSessionKey
protected byte[]
ntlmv2Blob
protected byte[]
ntlmv2Hash
protected byte[]
ntlmv2Response
protected byte[]
ntlmv2UserSessionKey
protected char[]
password
protected byte[]
secondaryKey
protected java.lang.String
target
protected byte[]
targetInformation
protected byte[]
timestamp
protected java.lang.String
user
-
Constructor Summary
Constructors Constructor Description CipherGen(java.lang.String domain, java.lang.String user, char[] password, byte[] challenge, java.lang.String target, byte[] targetInformation)
CipherGen(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 byte[]
getClientChallenge()
Calculate and return client challengebyte[]
getClientChallenge2()
Calculate and return second client challengebyte[]
getLanManagerSessionKey()
Get LAN Manager session keybyte[]
getLM2SessionResponse()
Calculate and return LM2 session responsebyte[]
getLMHash()
Calculate and return the LMHashbyte[]
getLMResponse()
Calculate and return the LMResponsebyte[]
getLMUserSessionKey()
Get LMUserSessionKeybyte[]
getLMv2Hash()
Calculate the LMv2 hashbyte[]
getLMv2Response()
Calculate the LMv2Responsebyte[]
getNTLM2SessionResponse()
Get NTLM2SessionResponsebyte[]
getNTLM2SessionResponseUserSessionKey()
Get NTLM2SessionResponseUserSessionKeybyte[]
getNTLMHash()
Calculate and return the NTLMHashbyte[]
getNTLMResponse()
Calculate and return the NTLMResponsebyte[]
getNTLMUserSessionKey()
Get NTLMUserSessionKeybyte[]
getNTLMv2Blob()
Calculate the NTLMv2Blobbyte[]
getNTLMv2Hash()
Calculate the NTLMv2 hashbyte[]
getNTLMv2Response()
Calculate the NTLMv2Responsebyte[]
getNTLMv2UserSessionKey()
GetNTLMv2UserSessionKeybyte[]
getSecondaryKey()
Calculate and return random secondary keybyte[]
getTimestamp()
Calculate a timestamp
-
-
-
Field Detail
-
domain
protected final java.lang.String domain
-
user
protected final java.lang.String user
-
password
protected final char[] password
-
challenge
protected final byte[] challenge
-
target
protected final java.lang.String target
-
targetInformation
protected final byte[] targetInformation
-
clientChallenge
protected byte[] clientChallenge
-
clientChallenge2
protected byte[] clientChallenge2
-
secondaryKey
protected byte[] secondaryKey
-
timestamp
protected byte[] timestamp
-
lmHash
protected byte[] lmHash
-
lmResponse
protected byte[] lmResponse
-
ntlmHash
protected byte[] ntlmHash
-
ntlmResponse
protected byte[] ntlmResponse
-
ntlmv2Hash
protected byte[] ntlmv2Hash
-
lmv2Hash
protected byte[] lmv2Hash
-
lmv2Response
protected byte[] lmv2Response
-
ntlmv2Blob
protected byte[] ntlmv2Blob
-
ntlmv2Response
protected byte[] ntlmv2Response
-
ntlm2SessionResponse
protected byte[] ntlm2SessionResponse
-
lm2SessionResponse
protected byte[] lm2SessionResponse
-
lmUserSessionKey
protected byte[] lmUserSessionKey
-
ntlmUserSessionKey
protected byte[] ntlmUserSessionKey
-
ntlmv2UserSessionKey
protected byte[] ntlmv2UserSessionKey
-
ntlm2SessionResponseUserSessionKey
protected byte[] ntlm2SessionResponseUserSessionKey
-
lanManagerSessionKey
protected byte[] lanManagerSessionKey
-
-
Constructor Detail
-
CipherGen
public CipherGen(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
public CipherGen(java.lang.String domain, java.lang.String user, char[] password, byte[] challenge, java.lang.String target, byte[] targetInformation)
-
-
Method Detail
-
getClientChallenge
public byte[] getClientChallenge() throws NTLMEngineException
Calculate and return client challenge- Throws:
NTLMEngineException
-
getClientChallenge2
public byte[] getClientChallenge2() throws NTLMEngineException
Calculate and return second client challenge- Throws:
NTLMEngineException
-
getSecondaryKey
public byte[] getSecondaryKey() throws NTLMEngineException
Calculate and return random secondary key- Throws:
NTLMEngineException
-
getLMHash
public byte[] getLMHash() throws NTLMEngineException
Calculate and return the LMHash- Throws:
NTLMEngineException
-
getLMResponse
public byte[] getLMResponse() throws NTLMEngineException
Calculate and return the LMResponse- Throws:
NTLMEngineException
-
getNTLMHash
public byte[] getNTLMHash() throws NTLMEngineException
Calculate and return the NTLMHash- Throws:
NTLMEngineException
-
getNTLMResponse
public byte[] getNTLMResponse() throws NTLMEngineException
Calculate and return the NTLMResponse- Throws:
NTLMEngineException
-
getLMv2Hash
public byte[] getLMv2Hash() throws NTLMEngineException
Calculate the LMv2 hash- Throws:
NTLMEngineException
-
getNTLMv2Hash
public byte[] getNTLMv2Hash() throws NTLMEngineException
Calculate the NTLMv2 hash- Throws:
NTLMEngineException
-
getTimestamp
public byte[] getTimestamp()
Calculate a timestamp
-
getNTLMv2Blob
public byte[] getNTLMv2Blob() throws NTLMEngineException
Calculate the NTLMv2Blob- Throws:
NTLMEngineException
-
getNTLMv2Response
public byte[] getNTLMv2Response() throws NTLMEngineException
Calculate the NTLMv2Response- Throws:
NTLMEngineException
-
getLMv2Response
public byte[] getLMv2Response() throws NTLMEngineException
Calculate the LMv2Response- Throws:
NTLMEngineException
-
getNTLM2SessionResponse
public byte[] getNTLM2SessionResponse() throws NTLMEngineException
Get NTLM2SessionResponse- Throws:
NTLMEngineException
-
getLM2SessionResponse
public byte[] getLM2SessionResponse() throws NTLMEngineException
Calculate and return LM2 session response- Throws:
NTLMEngineException
-
getLMUserSessionKey
public byte[] getLMUserSessionKey() throws NTLMEngineException
Get LMUserSessionKey- Throws:
NTLMEngineException
-
getNTLMUserSessionKey
public byte[] getNTLMUserSessionKey() throws NTLMEngineException
Get NTLMUserSessionKey- Throws:
NTLMEngineException
-
getNTLMv2UserSessionKey
public byte[] getNTLMv2UserSessionKey() throws NTLMEngineException
GetNTLMv2UserSessionKey- Throws:
NTLMEngineException
-
getNTLM2SessionResponseUserSessionKey
public byte[] getNTLM2SessionResponseUserSessionKey() throws NTLMEngineException
Get NTLM2SessionResponseUserSessionKey- Throws:
NTLMEngineException
-
getLanManagerSessionKey
public byte[] getLanManagerSessionKey() throws NTLMEngineException
Get LAN Manager session key- Throws:
NTLMEngineException
-
-