public class AttachmentCipherOutputStream
extends java.io.OutputStream
| Constructor and Description |
|---|
AttachmentCipherOutputStream(byte[] combinedKeyMaterial,
java.io.OutputStream outputStream) |
| Modifier and Type | Method and Description |
|---|---|
void |
flush() |
static long |
getCiphertextLength(long plaintextLength) |
void |
write(byte[] buffer) |
void |
write(byte[] buffer,
int offset,
int length) |
void |
write(int b) |
public AttachmentCipherOutputStream(byte[] combinedKeyMaterial,
java.io.OutputStream outputStream)
throws java.io.IOException
java.io.IOExceptionpublic void write(byte[] buffer)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] buffer,
int offset,
int length)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(int b)
write in class java.io.OutputStreampublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOExceptionpublic static long getCiphertextLength(long plaintextLength)