org.jboss.remoting.marshal.encryption
Class EncryptionOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byorg.jboss.remoting.marshal.encryption.EncryptionOutputStream

public class EncryptionOutputStream
extends java.io.OutputStream

OutputStream that is piped into a CipherOutputStream such that CipherOutputStream.close will not close the underlying stream

Since:
Aug 16, 2006
Version:
$Revision: 1.1 $
Author:
Anil Saldhana

Constructor Summary
EncryptionOutputStream(java.io.OutputStream os)
           
 
Method Summary
 void close()
           
 boolean equals(java.lang.Object obj)
           
 void flush()
           
 int hashCode()
           
 void write(byte[] b)
           
 void write(byte[] b, int off, int len)
           
 void write(int a)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptionOutputStream

public EncryptionOutputStream(java.io.OutputStream os)
Method Detail

write

public void write(int a)
           throws java.io.IOException
Throws:
java.io.IOException
See Also:
OutputStream.write(int)

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException
See Also:
OutputStream.close()

flush

public void flush()
           throws java.io.IOException
Throws:
java.io.IOException
See Also:
OutputStream.flush()

write

public void write(byte[] b,
                  int off,
                  int len)
           throws java.io.IOException
Throws:
java.io.IOException
See Also:
OutputStream.write(byte[], int, int)

write

public void write(byte[] b)
           throws java.io.IOException
Throws:
java.io.IOException
See Also:
OutputStream.write(byte[])

equals

public boolean equals(java.lang.Object obj)
See Also:
Object.equals(Object)

hashCode

public int hashCode()
See Also:
Object.hashCode()


Copyright © 1998-2005 JBoss Inc . All Rights Reserved.