org.bouncycastle.asn1
Class BEROctetStringGenerator.BEROctetStream

java.lang.Object
  extended by java.io.OutputStream
      extended by org.bouncycastle.asn1.BEROctetStringGenerator.BEROctetStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable
Enclosing class:
BEROctetStringGenerator

private class BEROctetStringGenerator.BEROctetStream
extends java.io.OutputStream


Field Summary
private  byte[] _buf
           
 
Constructor Summary
private BEROctetStringGenerator.BEROctetStream()
           
 
Method Summary
 void close()
           
 void write(byte[] buf)
           
 void write(byte[] buf, int offSet, int len)
           
 void write(int b)
           
 
Methods inherited from class java.io.OutputStream
flush
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_buf

private byte[] _buf
Constructor Detail

BEROctetStringGenerator.BEROctetStream

private BEROctetStringGenerator.BEROctetStream()
Method Detail

write

public void write(int b)
           throws java.io.IOException
Specified by:
write in class java.io.OutputStream
Throws:
java.io.IOException

write

public void write(byte[] buf)
           throws java.io.IOException
Overrides:
write in class java.io.OutputStream
Throws:
java.io.IOException

write

public void write(byte[] buf,
                  int offSet,
                  int len)
           throws java.io.IOException
Overrides:
write in class java.io.OutputStream
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.OutputStream
Throws:
java.io.IOException