com.unboundid.asn1
Class ASN1BufferSequence

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

public final class ASN1BufferSequence
extends java.lang.Object
implements java.io.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:
Serialized Form

Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.