Class EncryptingOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- com.adobe.internal.pdftoolkit.core.cos.EncryptingOutputStream
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class EncryptingOutputStream extends OutputStream
This class encrypts the content before writing it to the specified CosStream's OutputByteStream.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()voidwrite(byte[] buffer)voidwrite(byte[] buffer, int off, int len)voidwrite(int buffer)-
Methods inherited from class java.io.OutputStream
nullOutputStream
-
-
-
-
Method Detail
-
write
public void write(int buffer) throws IOException- Specified by:
writein classOutputStream- Throws:
IOException
-
write
public void write(byte[] buffer) throws IOException- Overrides:
writein classOutputStream- Throws:
IOException
-
write
public void write(byte[] buffer, int off, int len) throws IOException- Overrides:
writein classOutputStream- Throws:
IOException
-
flush
public void flush() throws IOException- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
-