Package org.apache.activemq.artemis.spi.core.security.jaas

## Class DigestCallback

- java.lang.Object
- - org.apache.activemq.artemis.spi.core.security.jaas.DigestCallback

- All Implemented Interfaces:
    `javax.security.auth.callback.Callback`

      public class DigestCallback
      extends java.lang.Object
      implements javax.security.auth.callback.Callback

  Callback to obtain a `MessageDigest` for login purpose

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DigestCallback()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.security.MessageDigest` | `getDigest()` |
    `void` | `setDigest​(java.security.MessageDigest digest)` | set the digest to use

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DigestCallback

          public DigestCallback()

  - ### Method Detail

    - #### setDigest

          public void setDigest​(java.security.MessageDigest digest)

      set the digest to use
      Parameters:
        `digest` - the digest

    - #### getDigest

          public java.security.MessageDigest getDigest()

      Returns:
        the digest or `null` if not known