Class JDAPBERTagDecoder

java.lang.Object
netscape.ldap.ber.stream.BERTagDecoder
netscape.ldap.client.JDAPBERTagDecoder

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

    • JDAPBERTagDecoder

      public JDAPBERTagDecoder()
  • Method Details

    • getElement

      public BERElement getElement(BERTagDecoder decoder, int tag, InputStream stream, int[] bytes_read, boolean[] implicit) throws 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:
      IOException