Class DERInputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, DERTags
    Direct Known Subclasses:
    BERInputStream

    public class DERInputStream
    extends java.io.FilterInputStream
    implements DERTags
    Deprecated.
    use ASN1InputStream
    Don't use this class. It will eventually disappear, use ASN1InputStream.
    This class is scheduled for removal.
    • Constructor Detail

      • DERInputStream

        public DERInputStream​(java.io.InputStream is)
        Deprecated.
        use ASN1InputStream
    • Method Detail

      • readLength

        protected int readLength()
                          throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • readFully

        protected void readFully​(byte[] bytes)
                          throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • buildObject

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

        public DERObject readObject()
                             throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException