Bouncy Castle Cryptography 1.11

org.bouncycastle.asn1
Class DERInputStream

java.lang.Object
  |
  +--java.io.InputStream
        |
        +--java.io.FilterInputStream
              |
              +--org.bouncycastle.asn1.DERInputStream
All Implemented Interfaces:
DERTags
Direct Known Subclasses:
BERInputStream

public class DERInputStream
extends java.io.FilterInputStream
implements DERTags


Fields inherited from class java.io.FilterInputStream
in
 
Fields inherited from interface org.bouncycastle.asn1.DERTags
BIT_STRING, BMP_STRING, BOOLEAN, CONSTRUCTED, EXTERNAL, GENERAL_STRING, GENERALIZED_TIME, GRAPHIC_STRING, IA5_STRING, INTEGER, NULL, NUMERIC_STRING, OBJECT_IDENTIFIER, OCTET_STRING, PRINTABLE_STRING, SEQUENCE, SEQUENCE_OF, SET, SET_OF, T61_STRING, TAGGED, UTC_TIME, VIDEOTEX_STRING, VISIBLE_STRING
 
Constructor Summary
DERInputStream(java.io.InputStream is)
           
 
Method Summary
protected  DERObject buildObject(int tag, byte[] bytes)
          build an object given its tag and a byte stream to construct it from.
protected  void readFully(byte[] bytes)
           
protected  int readLength()
           
 DERObject readObject()
           
 
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DERInputStream

public DERInputStream(java.io.InputStream is)
Method Detail

readLength

protected int readLength()
                  throws java.io.IOException

readFully

protected void readFully(byte[] bytes)
                  throws java.io.IOException

buildObject

protected DERObject buildObject(int tag,
                                byte[] bytes)
                         throws java.io.IOException
build an object given its tag and a byte stream to construct it from.

readObject

public DERObject readObject()
                     throws java.io.IOException

Bouncy Castle Cryptography 1.11