Class ASN1BufferSequence

java.lang.Object
com.unboundid.asn1.ASN1BufferSequence
All Implemented Interfaces:
Serializable

This class provides a data structure which is used in the course of writing an ASN.1 sequence to an ASN.1 buffer. It keeps track of the position at which the sequence value begins so that the appropriate length may be inserted after all embedded elements have been added. The end() method must be called after all elements have been added to ensure that the length is properly computed and inserted into the associated buffer.
See Also:
  • Method Details

    • end

      public void end()
      Updates the associated ASN.1 buffer to indicate that all sequence elements have been added and that the appropriate length should be inserted.