May 1998
Intermediate to advanced
469 pages
14h 57m
English
Class javax.crypto.CipherOutputStream
This class is a filter output stream that passes all its data through a cipher. You can construct a cipher output stream by specifying an underlying output stream and an initialized cipher. For best results, use a byte-oriented mode for the cipher.
public class javax.crypto.CipherOutputStream
extends java.io.FilterOutputStream {
// Constructors
protected CipherOutputStream(OutputStream);
public CipherOutputStream(OutputStream, Cipher);
// Instance Methods
public void close();
public void flush();
public void write(int);
public void write(byte[]);
public void write(byte[], int, int);
}
Cipher