Location:
asn1enc.h
Link against: asn1.lib
class CASN1EncContainer : public CASN1EncConstructed;
Base class for all ASN1 container types - sequences, sets, etc.
CBase
- Base class for all classes to be instantiated on the heap
CASN1EncBase
- Base class for all ASN.1 types that we can encode
CASN1EncConstructed
- Base class for all ASN1 constructed-type objects
CASN1EncContainer
- Base class for all ASN1 container types - sequences, sets, etc
Defined in CASN1EncContainer
:
AddAndPopChildL()
, AddChildIntL()
, AddChildL()
Inherited from CASN1EncBase
:
ConstructL()
,
LengthDER()
,
SetTag()
,
WriteDERL()
,
WriteLengthDER()
,
iContentsLengthDER
,
iLengthLengthDER
,
iTagLengthDER
Inherited from CASN1EncConstructed
:
CalculateContentsLengthDER()
,
Child()
,
IsConstructed()
,
NumChildren()
,
WriteContentsDERL()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
IMPORT_C void AddChildL(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()
.
|
IMPORT_C void AddAndPopChildL(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.
|
private: virtual void AddChildIntL(const CASN1EncBase *aChild)=0;
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.
|