Class NTLMEngineImpl.HMACMD5

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

static class NTLMEngineImpl.HMACMD5 extends Object
Cryptography support - HMACMD5 - algorithmically based on various web resources by Karl Wright
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) final byte[]
     
    (package private) final MessageDigest
     
    (package private) final byte[]
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    HMACMD5(byte[] input)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) byte[]
    Grab the current digest.
    (package private) void
    update(byte[] input)
    Update by adding a complete array
    (package private) void
    update(byte[] input, int offset, int length)
    Update the algorithm

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ipad

      final byte[] ipad
    • opad

      final byte[] opad
    • md5

      final MessageDigest md5
  • Constructor Details

    • HMACMD5

      HMACMD5(byte[] input)
  • Method Details

    • getOutput

      byte[] getOutput()
      Grab the current digest. This is the "answer".
    • update

      void update(byte[] input)
      Update by adding a complete array
    • update

      void update(byte[] input, int offset, int length)
      Update the algorithm