Package com.oss.asn1

Class HugeRelaySafeChoice

All Implemented Interfaces:
Serializable, Cloneable

public abstract class HugeRelaySafeChoice extends Choice
The HugeRelaySafeChoice class represents the ASN.1 CHOICE type but has the additional ability to store unknown extensions and make them available for further relaying. Unlike the RelaySafeChoice class, it stores an unknown extension in a ByteStorage object. This class is used when the -relaySafe compiler option has been invoked and the ValueInfFile directive has been used. Not using the directive when there are huge unknown extensions to be relayed can cause an OutOfMemoryError error.
Since:
ASN.1/Java 1.4 beta A
See Also:
  • Method Details

    • clone

      public Object clone()
      Clone 'this' object.
      Overrides:
      clone in class Choice
      Returns:
      a deep copy of 'this' object.
    • delete

      public void delete()
      Destroy the instance of the AbstractData. The contract of this method is to facilitate garbage collection by explicit destruction of the data that is no longer needed.
      Overrides:
      delete in class Choice