Class NTLMEngineImpl.Type3Message

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

static class NTLMEngineImpl.Type3Message extends NTLMEngineImpl.NTLMMessage
Type 3 message assembly class
  • Field Details

    • type1Message

      final byte[] type1Message
    • type2Message

      final byte[] type2Message
    • type2Flags

      final int type2Flags
    • domainBytes

      final byte[] domainBytes
    • hostBytes

      final byte[] hostBytes
    • userBytes

      final byte[] userBytes
    • lmResp

      byte[] lmResp
    • ntResp

      byte[] ntResp
    • sessionKey

      final byte[] sessionKey
    • exportedSessionKey

      final byte[] exportedSessionKey
    • computeMic

      final boolean computeMic
  • Constructor Details

  • Method Details

    • getEncryptedRandomSessionKey

      public byte[] getEncryptedRandomSessionKey()
    • getExportedSessionKey

      public byte[] getExportedSessionKey()
    • buildMessage

      void buildMessage()
      Assemble the response
      Overrides:
      buildMessage in class NTLMEngineImpl.NTLMMessage
    • addGssMicAvsToTargetInfo

      private byte[] addGssMicAvsToTargetInfo(byte[] originalTargetInfo, Certificate peerServerCertificate) throws NTLMEngineException
      Add GSS channel binding hash and MIC flag to the targetInfo. Looks like this is needed if we want to use exported session key for GSS wrapping.
      Throws:
      NTLMEngineException