FileDocCategorySizeDatePackage
ASN1ValueCollection.javaAPI DocAndroid 1.5 API2029Wed May 06 22:41:06 BST 2009org.apache.harmony.security.asn1

ASN1ValueCollection

public abstract class ASN1ValueCollection extends ASN1Constructured
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
ASN.1

Fields Summary
public final ASN1Type
type
A value collection of this ASN.1 type
Constructors Summary
public ASN1ValueCollection(int tagNumber, ASN1Type type)
Constructs ASN1 collection type.

param
tagNumber - ASN.1 tag number
param
type - ASN.1 type

        super(tagNumber);

        this.type = type;
    
Methods Summary
public java.util.CollectiongetValues(java.lang.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.

param
- an object to be encoded
return
- a collection of object's values to be encoded

        return (Collection)object;