Class NTLMEngineImpl.Handle

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

static class NTLMEngineImpl.Handle extends Object
  • Field Details

    • signingKey

      private final byte[] signingKey
    • sealingKey

      private byte[] sealingKey
    • rc4

      private final Cipher rc4
    • mode

      final NTLMEngineImpl.Mode mode
    • isConnection

      private final boolean isConnection
    • sequenceNumber

      int sequenceNumber
  • Constructor Details

  • Method Details

    • getSigningKey

      public byte[] getSigningKey()
    • getSealingKey

      public byte[] getSealingKey()
    • initCipher

      private Cipher initCipher() throws NTLMEngineException
      Throws:
      NTLMEngineException
    • advanceMessageSequence

      private void advanceMessageSequence() throws NTLMEngineException
      Throws:
      NTLMEngineException
    • encrypt

      private byte[] encrypt(byte[] data)
    • decrypt

      private byte[] decrypt(byte[] data)
    • computeSignature

      private byte[] computeSignature(byte[] message)
    • validateSignature

      private boolean validateSignature(byte[] signature, byte[] message)
    • signAndEncryptMessage

      public byte[] signAndEncryptMessage(byte[] cleartextMessage) throws NTLMEngineException
      Throws:
      NTLMEngineException
    • decryptAndVerifySignedMessage

      public byte[] decryptAndVerifySignedMessage(byte[] inMessage) throws NTLMEngineException
      Throws:
      NTLMEngineException