public class IVSplittingOutputStream extends FilterOutputStream
out
Constructor and Description |
---|
IVSplittingOutputStream(OutputStream out,
Cipher cipher,
Key secretKey,
int ivLength) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getIv() |
boolean |
isIVComplete() |
void |
setParentOutputStream(ReplaceableOuputStream replaceableOuputStream) |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, flush
public IVSplittingOutputStream(OutputStream out, Cipher cipher, Key secretKey, int ivLength)
public byte[] getIv()
public boolean isIVComplete()
public void write(int b) throws IOException
write
in class FilterOutputStream
IOException
public void write(byte[] b) throws IOException
write
in class FilterOutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class FilterOutputStream
IOException
public void setParentOutputStream(ReplaceableOuputStream replaceableOuputStream)
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.