Ja.NET Standard Edition 5.0

Documentation API Specification

Contents

ASN1ValueCollection Class Reference

Inherits org::apache::harmony::security::asn1::ASN1Constructured.

Inherited by ASN1SequenceOf, and ASN1SetOf.

List of all members.


Detailed Description

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:
http://asn1.elibel.tm.fr/en/standards/index.htm

Public Member Functions

 ASN1ValueCollection (int tagNumber, ASN1Type type)
 Constructs ASN1 collection type.
Collection getValues (Object object)
 Provides an object's values to be encoded.

Public Attributes

final ASN1Type type
 A value collection of this ASN.1 type.

Constructor & Destructor Documentation

ASN1ValueCollection ( int  tagNumber,
ASN1Type  type 
)

Constructs ASN1 collection type.

Parameters:
tagNumber - ASN.1 tag number
type - ASN.1 type


Member Function Documentation

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.

Parameters:
- an object to be encoded
Returns:
- a collection of object's values to be encoded


Member Data Documentation

final ASN1Type type

A value collection of this ASN.1 type.