org.bouncycastle.asn1
Class BEROctetStringGenerator.BufferedBEROctetStream

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

private class BEROctetStringGenerator.BufferedBEROctetStream
extends java.io.OutputStream


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

Field Detail

_buf

private byte[] _buf

_off

private int _off
Constructor Detail

BEROctetStringGenerator.BufferedBEROctetStream

BEROctetStringGenerator.BufferedBEROctetStream(byte[] buf)
Method Detail

write

public void write(int b)
           throws java.io.IOException
Specified by:
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