public class DigestOutputStream extends OutputStream
OutputStream with a Digest as the backend.| Constructor and Description |
|---|
DigestOutputStream(org.bouncycastle.crypto.Digest digest) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
digest() |
void |
reset() |
void |
write(byte[] bytes) |
void |
write(byte[] bytes,
int off,
int len) |
void |
write(int oneByte) |
close, flushpublic DigestOutputStream(org.bouncycastle.crypto.Digest digest)
public void reset()
public void write(byte[] bytes,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] bytes)
throws IOException
write in class OutputStreamIOExceptionpublic void write(int oneByte)
throws IOException
write in class OutputStreamIOExceptionpublic byte[] digest()
Copyright © 2020. All rights reserved.