Closeable
, Flushable
, AutoCloseable
public class DigesterOutputStream extends ByteArrayOutputStream
buf, count
Constructor | Description |
---|---|
DigesterOutputStream(MessageDigestAlgorithm mda) |
Modifier and Type | Method | Description |
---|---|---|
byte[] |
getDigestValue() |
|
void |
write(byte[] arg0) |
|
void |
write(byte[] arg0,
int arg1,
int arg2) |
|
void |
write(int arg0) |
close, reset, size, toByteArray, toString, toString, toString, toString, writeTo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
flush
public DigesterOutputStream(MessageDigestAlgorithm mda)
mda
- public void write(byte[] arg0)
write
in class OutputStream
public void write(int arg0)
write
in class ByteArrayOutputStream
public void write(byte[] arg0, int arg1, int arg2)
write
in class ByteArrayOutputStream
public byte[] getDigestValue()
Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.