|
||
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. Most of these are container cl...
CASN1EncContainer
- Base class for all ASN1 container types - sequences, sets, etc.
Defined in CASN1EncContainer
:
AddAndPopChildL(CASN1EncBase *)
Call this to add a child object to the container. Takes ownership if and only if...AddChildIntL(const CASN1EncBase *)
Internal method, derived classes implement to add a child. No need to check for ...AddChildL(CASN1EncBase *)
Call this to add a child object to the container. Takes ownership if and only if...Inherited from CASN1EncBase
:
CASN1EncBase(const TTagType,const TASN1Class)
Protected constructor ConstructL()
Must call this version from derived classes in their ConstructL, but only once t...LengthDER()const
Gives total number of octets in the DER encoding of this object. SetTag(const TTagType,const TASN1Class)
Sets tag type/class of the encoding object WriteDERL(TDes8 &,TUint &)const
Writes entire DER encoding of this object into the given buffer. iContentsLengthDER
Length of DER encoded content. iLengthLengthDER
Length of DER encoded length. iTagLengthDER
Length of DER encoded tag. Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...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 CASN1EncBase::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 CASN1EncBase::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 CASN1EncBase::ContentsLengthChanged()
. Takes ownership, but only if you don't leave.
|