Class NTLMEngineImpl.CipherGen

java.lang.Object
org.apache.hc.client5.http.impl.auth.NTLMEngineImpl.CipherGen
Enclosing class:
NTLMEngineImpl

static class NTLMEngineImpl.CipherGen extends Object
Since:
4.1
  • Field Details

    • random

      final Random random
    • currentTime

      final long currentTime
    • domain

      final String domain
    • user

      final String user
    • password

      final char[] password
    • challenge

      final byte[] challenge
    • target

      final 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 Details

    • CipherGen

      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)
    • CipherGen

      CipherGen(Random random, long currentTime, String domain, String user, char[] password, byte[] challenge, String target, byte[] targetInformation)
  • Method Details

    • 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 NTLMEngineException
      Calculate and return the LMHash
      Throws:
      NTLMEngineException
    • getLMResponse

      byte[] getLMResponse() throws NTLMEngineException
      Calculate and return the LMResponse
      Throws:
      NTLMEngineException
    • getNTLMHash

      byte[] getNTLMHash()
      Calculate and return the NTLMHash
    • getNTLMResponse

      byte[] getNTLMResponse() throws NTLMEngineException
      Calculate 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 NTLMEngineException
      Get NTLM2SessionResponse
      Throws:
      NTLMEngineException
    • getLM2SessionResponse

      byte[] getLM2SessionResponse()
      Calculate and return LM2 session response
    • getLMUserSessionKey

      byte[] getLMUserSessionKey() throws NTLMEngineException
      Get LMUserSessionKey
      Throws:
      NTLMEngineException
    • getNTLMUserSessionKey

      byte[] getNTLMUserSessionKey()
      Get NTLMUserSessionKey
    • getNTLMv2UserSessionKey

      byte[] getNTLMv2UserSessionKey()
      GetNTLMv2UserSessionKey
    • getNTLM2SessionResponseUserSessionKey

      byte[] getNTLM2SessionResponseUserSessionKey()
      Get NTLM2SessionResponseUserSessionKey
    • getLanManagerSessionKey

      byte[] getLanManagerSessionKey() throws NTLMEngineException
      Get LAN Manager session key
      Throws:
      NTLMEngineException