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, flushpublic 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 FilterOutputStreamIOExceptionpublic void write(byte[] b)
           throws IOException
write in class FilterOutputStreamIOExceptionpublic void write(byte[] b,
                  int off,
                  int len)
           throws IOException
write in class FilterOutputStreamIOExceptionpublic void setParentOutputStream(ReplaceableOuputStream replaceableOuputStream)
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.