CASN1EncContainer Class Reference

class CASN1EncContainer : public CASN1EncConstructed

Base class for all ASN1 container types - sequences, sets, etc.

Inherits from

Constructor & Destructor Documentation

CASN1EncContainer(const TTagType)

CASN1EncContainer(const TTagTypeaType)[protected]

Parameters

const TTagType aType

Member Functions Documentation

AddAndPopChildL(CASN1EncBase *)

IMPORT_C voidAddAndPopChildL(CASN1EncBase *aChild)

Call this to add a child object to the container. Takes ownership if and only if it doesn't Leave. Checks for null input, calls AddChildInt, calls ContentsLengthChanged(). Pops added child object off the cleanup stack.

Parameters

CASN1EncBase * aChildChild ASN1 encoding object to add.

AddChildIntL(const CASN1EncBase *)

voidAddChildIntL(const CASN1EncBase *aChild)[private, pure virtual]

Internal method, derived classes implement to add a child. No need to check for null input or call ContentsLengthChanged(). Takes ownership, but only if you don't leave.

Parameters

const CASN1EncBase * aChildChild encoding object to add.

AddChildL(CASN1EncBase *)

IMPORT_C voidAddChildL(CASN1EncBase *aChild)

Call this to add a child object to the container. Takes ownership if and only if it doesn't Leave. Checks for null input, calls AddChildInt, calls ContentsLengthChanged().

Parameters

CASN1EncBase * aChildChild ASN1 encoding object to add.