public class CipherOutputStream extends Object
| Constructor and Description |
|---|
CipherOutputStream(BlockCipher tc,
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, OutputStream bo)
public void flush()
throws IOException
IOExceptionpublic void changeCipher(BlockCipher bc)
public void write(byte[] src,
int off,
int len)
throws IOException
IOExceptionpublic void write(int b)
throws IOException
IOExceptionpublic void writePlain(int b)
throws IOException
IOExceptionpublic void writePlain(byte[] b,
int off,
int len)
throws IOException
IOExceptionCopyright © 2014. All rights reserved.