Represents an ASN.1 SEQUENCE OF type as specified in ITU-T Recommendation X.680. The SequenceOf and SetOf types do not have default constructors in contrast to all the other ASN1Types. The reason is that these types are never created directly on decoding ASN.1 structures. The decoding process always decodes Sequence and Set types because creating the appropriate SequenceOf or SetOf type requires explicit knowledge of the syntactic structure definition. On the other hand, if an explicit structure is given for decoding then the SequenceOf and SetOf types are decoded properly (because they do not have to be created and hence the decoder need not know the component type).
This implementation does not sort the elements according to their encodings as required (in principle) by the standard. Upon decoding, all decoded elements are kept in the order they appeared in the encoded stream.
Constraints are checked after decoding instances of this type.
@author Volker Roth
@author Stefan Endler
@version "$Id: ASN1SetOf.java,v 1.3 2007/08/11 18:21:50 sendler Exp $"