Skip to Content
Java Security
book

Java Security

by Scott Oaks
May 1998
Intermediate to advanced
469 pages
14h 57m
English
O'Reilly Media, Inc.
Content preview from Java Security

Name

Class javax.crypto.CipherInputStream

Synopsis

A cipher input stream is a filter stream that passes its data through a cipher. You can construct a cipher input stream by specifying an underlying stream and supplying an initialized cipher. For best results, use a byte-oriented cipher mode with this stream.

Class Definition

public class javax.crypto.CipherInputStream
	extends java.io.FilterInputStream {

	// Constructors
	protected CipherInputStream(InputStream);
	public CipherInputStream(InputStream, Cipher);

	// Instance Methods
	public int available();
	public void close();
	public boolean markSupported();
	public int read();
	public int read(byte[]);
	public int read(byte[], int, int);
	public long skip(long);
}

See also:

Cipher

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java Security Handbook

Java Security Handbook

Jamie Jaworski, Paul J. Perrone, Venkata S.R. Krishna Chaganti

Publisher Resources

ISBN: 1565924037Supplemental ContentCatalog PageErrata