org.bouncycastle.asn1
Class IndefiniteLengthInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by org.bouncycastle.asn1.LimitedInputStream
          extended by org.bouncycastle.asn1.IndefiniteLengthInputStream
All Implemented Interfaces:
java.io.Closeable

 class IndefiniteLengthInputStream
extends LimitedInputStream


Field Summary
private  int _b1
           
private  int _b2
           
private  boolean _eofOn00
           
private  boolean _eofReached
           
 
Fields inherited from class org.bouncycastle.asn1.LimitedInputStream
_in
 
Constructor Summary
IndefiniteLengthInputStream(java.io.InputStream in)
           
 
Method Summary
(package private)  void checkForEof()
           
 int read()
           
(package private)  void setEofOn00(boolean eofOn00)
           
 
Methods inherited from class org.bouncycastle.asn1.LimitedInputStream
getUnderlyingStream, setParentEofDetect, toByteArray
 
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_b1

private int _b1

_b2

private int _b2

_eofReached

private boolean _eofReached

_eofOn00

private boolean _eofOn00
Constructor Detail

IndefiniteLengthInputStream

IndefiniteLengthInputStream(java.io.InputStream in)
                      throws java.io.IOException
Throws:
java.io.IOException
Method Detail

setEofOn00

void setEofOn00(boolean eofOn00)

checkForEof

void checkForEof()
           throws java.io.IOException
Throws:
java.io.IOException

read

public int read()
         throws java.io.IOException
Specified by:
read in class java.io.InputStream
Throws:
java.io.IOException