Class NTLMEngineImpl.Type3Message

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

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

    • type1Message

      protected final byte[] type1Message
    • type2Message

      protected final byte[] type2Message
    • type2Flags

      protected final int type2Flags
    • domainBytes

      protected final byte[] domainBytes
    • hostBytes

      protected final byte[] hostBytes
    • userBytes

      protected final byte[] userBytes
    • lmResp

      protected byte[] lmResp
    • ntResp

      protected byte[] ntResp
    • sessionKey

      protected final byte[] sessionKey
    • exportedSessionKey

      protected final byte[] exportedSessionKey
    • computeMic

      protected final boolean computeMic
  • Constructor Details

  • Method Details

    • getEncryptedRandomSessionKey

      public byte[] getEncryptedRandomSessionKey()
    • getExportedSessionKey

      public byte[] getExportedSessionKey()
    • buildMessage

      protected 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