Class ASN1ValueCollection

All Implemented Interfaces:
ASN1Constants
Direct Known Subclasses:
ASN1SequenceOf, ASN1SetOf

public abstract class ASN1ValueCollection
extends ASN1Constructed
This abstract class represents ASN.1 collection type. The value for such type is a collection of zero or more occurrences of a provided type.
See Also:
ASN.1
  • Field Details

    • type

      public final ASN1Type type
      A value collection of this ASN.1 type
  • Constructor Details

    • ASN1ValueCollection

      public ASN1ValueCollection​(int tagNumber, ASN1Type type)
      Constructs ASN1 collection type.
  • Method Details

    • getValues

      public Collection<?> getValues​(Object object)
      Provides an object's values to be encoded Derived classes should override this method to provide encoding for a selected class of objects.
      Returns:
      - a collection of object's values to be encoded