Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.xml.security.utils
Class DigesterOutputStream

    java.lang.Object
      java.io.OutputStream
          java.io.ByteArrayOutputStream
              org.apache.xml.security.utils.DigesterOutputStream

All Implemented Interfaces:
  java.io.Closeable, java.io.Flushable

    public class DigesterOutputStream

extends java.io.ByteArrayOutputStream

Author:
  raul

Field Summary

Fields inherited from class java.io.ByteArrayOutputStream
`buf, count`

Constructor Summary
`DigesterOutputStream(MessageDigestAlgorithm mda)`

Method Summary
`byte[]` | `getDigestValue()`
`void` | `write(byte[] arg0)`
`void` | `write(byte[] arg0, int arg1, int arg2)`
`void` | `write(int arg0)`

Methods inherited from class java.io.ByteArrayOutputStream
`close, reset, size, toByteArray, toString, toString, toString, writeTo`

Methods inherited from class java.io.OutputStream
`flush`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### DigesterOutputStream

    public DigesterOutputStream(MessageDigestAlgorithm mda)

Parameters:
  `mda` -

Method Detail

### write

    public void write(byte[] arg0)

  Overrides:
    `write` in class `java.io.OutputStream`

### write

    public void write(int arg0)

  Overrides:
    `write` in class `java.io.ByteArrayOutputStream`

### write

    public void write(byte[] arg0,
                      int arg1,
                      int arg2)

  Overrides:
    `write` in class `java.io.ByteArrayOutputStream`

### getDigestValue

    public byte[] getDigestValue()

  Returns:
    the digest value

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD