org.apache.xml.security.utils
Class DigesterOutputStream
java.lang.Object
java.io.OutputStream
java.io.ByteArrayOutputStream
org.apache.xml.security.utils.DigesterOutputStream
- public class DigesterOutputStream
- extends java.io.ByteArrayOutputStream
- Author:
- raul
Fields inherited from class java.io.ByteArrayOutputStream |
buf, count |
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 |
DigesterOutputStream
public DigesterOutputStream(MessageDigestAlgorithm mda)
- Parameters:
mda
-
write
public void write(byte[] arg0)
write
public void write(int arg0)
write
public void write(byte[] arg0,
int arg1,
int arg2)
getDigestValue
public byte[] getDigestValue()
- Returns:
- the digest value