Package com.oss.asn1

Class HugeRelaySafeSet

All Implemented Interfaces:
HugeRelaySafe, Serializable, Cloneable

public abstract class HugeRelaySafeSet extends Set implements HugeRelaySafe
The RelaySafeSet class represents the ASN.1 SET type but has the additional ability to store unknown extensions and make them available to the coder for further relaying. Unlike the RelaySafeSet class, it stores unknown extensions in a ByteStorage object, thus allowing huge unknown extensions to be relayed without causing the OutOfMemoryError error. This class is used when the -relaySafe compiler option has been invoked and the ValueInfFile directive has been used.
ASN.1/Java 1.4 beta A
See Also:
  • Method Details

    • numberOfUnknownExtensions

      public final int numberOfUnknownExtensions()
      Returns number of unknown extensions available for relaying.
      Specified by:
      numberOfUnknownExtensions in interface HugeRelaySafe
      the number of unknown extensions.
    • removeAllUnknownExtensions

      public final void removeAllUnknownExtensions()
      Removes all unknown extensions saved for relaying.
      Specified by:
      removeAllUnknownExtensions in interface HugeRelaySafe
    • clone

      public Object clone()
      Clone 'this' object.
      clone in class AbstractCollection
      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.
      delete in class AbstractCollection