public class CipherOutputStream
extends java.lang.Object
| Constructor and Description |
|---|
CipherOutputStream(BlockCipher tc,
java.io.OutputStream bo) |
| Modifier and Type | Method and Description |
|---|---|
void |
changeCipher(BlockCipher bc) |
void |
flush() |
void |
write(byte[] src,
int off,
int len) |
void |
write(int b) |
void |
writePlain(byte[] b,
int off,
int len) |
void |
writePlain(int b) |
public CipherOutputStream(BlockCipher tc, java.io.OutputStream bo)
public void flush()
throws java.io.IOException
java.io.IOExceptionpublic void changeCipher(BlockCipher bc)
public void write(byte[] src,
int off,
int len)
throws java.io.IOException
java.io.IOExceptionpublic void write(int b)
throws java.io.IOException
java.io.IOExceptionpublic void writePlain(int b)
throws java.io.IOException
java.io.IOExceptionpublic void writePlain(byte[] b,
int off,
int len)
throws java.io.IOException
java.io.IOException