mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
11.58.2012 aad596c8559b3d3d081617736cdbeda1374f017b
opends/src/server/org/opends/server/protocols/asn1/ASN1Reader.java
@@ -23,6 +23,7 @@
 *
 *
 *      Copyright 2006-2009 Sun Microsystems, Inc.
 *      Portions Copyright 2012 Forgerock AS
 */
package org.opends.server.protocols.asn1;
@@ -116,6 +117,18 @@
  /**
   * Finishes reading an explicit tag. Any elements not read in the
   * explicit tag will be discarded.
   *
   * @throws ASN1Exception
   *           If an error occurs while advancing to the end of the
   *           explicit tag.
   */
  void readEndExplicitTag() throws ASN1Exception;
  /**
   * Finishes reading a sequence. Any elements not read in the
   * sequence will be discarded.
   *
@@ -234,6 +247,18 @@
  /**
   * Reads the next ASN.1 element as an explicit tag. All further
   * reads will read the elements in the explicit tag until
   * {@link #readEndExplicitTag()} is called.
   *
   * @throws ASN1Exception
   *           If the next element is not an explicit tag.
   */
  void readStartExplicitTag() throws ASN1Exception;
  /**
   * Reads the next ASN.1 element as a sequence. All further reads
   * will read the elements in the sequence until
   * {@link #readEndSequence()} is called.