Home » geronimo-2.2-source-release » org.apache.geronimo.crypto.asn1 » [javadoc | source]
org.apache.geronimo.crypto.asn1
public class: ASN1InputStream [javadoc | source]
java.lang.Object
   java.io.InputStream
      java.io.FilterInputStream
         org.apache.geronimo.crypto.asn1.ASN1InputStream

All Implemented Interfaces:
    DERTags, Closeable

a general purpose ASN.1 decoder - note: this class differs from the others in that it returns null after it has read the last object in the stream. If an ASN.1 NULL is encountered a DER/BER Null object is returned.
Field Summary
 boolean eofFound     
Fields inherited from java.io.FilterInputStream:
in
Constructor:
 public ASN1InputStream(InputStream is) 
 public ASN1InputStream(byte[] input) 
Method from org.apache.geronimo.crypto.asn1.ASN1InputStream Summary:
buildObject,   readFully,   readLength,   readObject
Methods from java.io.FilterInputStream:
available,   close,   mark,   markSupported,   read,   read,   read,   reset,   skip
Methods from java.io.InputStream:
available,   close,   mark,   markSupported,   read,   read,   read,   reset,   skip
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.crypto.asn1.ASN1InputStream Detail:
 protected DERObject buildObject(int tag,
    byte[] bytes) throws IOException 
    build an object given its tag and a byte stream to construct it from.
 protected  void readFully(byte[] bytes) throws IOException 
 protected int readLength() throws IOException 
 public DERObject readObject() throws IOException