Class JDAPBERTagDecoder


  • public class JDAPBERTagDecoder
    extends BERTagDecoder
    This class is to help BER libraries to make decision on how to decode an implicit object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      BERElement getElement​(BERTagDecoder decoder, int tag, java.io.InputStream stream, int[] bytes_read, boolean[] implicit)
      Gets an application specific ber element from the stream.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JDAPBERTagDecoder

        public JDAPBERTagDecoder()
    • Method Detail

      • getElement

        public BERElement getElement​(BERTagDecoder decoder,
                                     int tag,
                                     java.io.InputStream stream,
                                     int[] bytes_read,
                                     boolean[] implicit)
                              throws java.io.IOException
        Gets an application specific ber element from the stream.
        Specified by:
        getElement in class BERTagDecoder
        Parameters:
        decoder - ber decoder to use
        tag - ber tag to get
        stream - input stream
        bytes_read - number of bytes read
        implicit - to indicate a tag implicit or not
        Throws:
        java.io.IOException