ewe.security
Class EncryptedOutputStream

java.lang.Object
  extended byewe.io.OutputStream
      extended byewe.security.EncryptedOutputStream
All Implemented Interfaces:
Streamable

public class EncryptedOutputStream
extends OutputStream

This is an OutputStream that passes its data through a DataProcessorStream() which encrypts it using an Encryptor object.


Field Summary
 
Fields inherited from class ewe.io.OutputStream
closed, out, rs, stream
 
Constructor Summary
EncryptedOutputStream(OutputStream out, byte[] password)
           
EncryptedOutputStream(OutputStream out, String password)
           
 
Methods inherited from class ewe.io.OutputStream
close, flush, getFastStream, getName, shutdown, toStream, toWritableStream, write, write, write, writeSingleByteToMultiByteWrite
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, toString
 

Constructor Detail

EncryptedOutputStream

public EncryptedOutputStream(OutputStream out,
                             String password)

EncryptedOutputStream

public EncryptedOutputStream(OutputStream out,
                             byte[] password)