public class DigesterOutputStream extends ByteArrayOutputStream
buf, count
Constructor and Description |
---|
DigesterOutputStream(MessageDigestAlgorithm mda) |
Modifier and Type | Method and 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, writeTo
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–2020 The Apache Software Foundation. All rights reserved.