Package com.oss.asn1

Class RelaySafeSequence

All Implemented Interfaces:
RelaySafe, Serializable, Cloneable

public abstract class RelaySafeSequence extends Sequence implements RelaySafe
The RelaySafeSequence class represents the ASN.1 SEQUENCE type but has additional ability to store unknown extensions and make them available to coder for further relaying.
Since:
ASN.1/Java 1.0-beta A
See Also:
  • Method Details

    • numberOfUnknownExtensions

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

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

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