org.apache.cxf.common.util

## Class MessageDigestInputStream

- java.lang.Object
- - java.io.InputStream
  - - java.io.FilterInputStream
    - - java.security.DigestInputStream
      - - org.apache.cxf.common.util.MessageDigestInputStream

- All Implemented Interfaces:
    Closeable, AutoCloseable

      public class MessageDigestInputStream
      extends DigestInputStream

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `ALGO_SHA_256`

    - ### Fields inherited from class java.security.DigestInputStream

      `digest`

    - ### Fields inherited from class java.io.FilterInputStream

      `in`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `MessageDigestInputStream(InputStream is)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getBase64Digest()`
    `String` | `getBase64UrlDigest()`
    `byte[]` | `getDigestBytes()`

    - ### Methods inherited from class java.security.DigestInputStream

      `getMessageDigest, on, read, read, setMessageDigest, toString`

    - ### Methods inherited from class java.io.FilterInputStream

      `available, close, mark, markSupported, read, reset, skip`

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

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

- - ### Field Detail

    - #### ALGO_SHA_256

          public static final String ALGO_SHA_256

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### MessageDigestInputStream

          public MessageDigestInputStream(InputStream is)

  - ### Method Detail

    - #### getDigestBytes

          public byte[] getDigestBytes()

    - #### getBase64Digest

          public String getBase64Digest()

    - #### getBase64UrlDigest

          public String getBase64UrlDigest()

Apache CXF