CASN1EncConstructed Class Reference

class CASN1EncConstructed : public CASN1EncBase

Base class for all ASN1 constructed-type objects. Most of these are container classes, but another type is the explicit-tagging wrapper object.

Inherits from

Constructor & Destructor Documentation

CASN1EncConstructed(const TTagType, const TASN1Class)

CASN1EncConstructed ( const TTagType aType,
const TASN1Class aClass
) [protected]

Protected constructor

Parameters

const TTagType aType Tag type for the new object
const TASN1Class aClass Tag class for the new object.

Member Functions Documentation

CalculateContentsLengthDER()

void CalculateContentsLengthDER ( ) [private, virtual]

Calculates number of octets in DER content encoding. Must set value of the appropriate data member.

Child(const TUint)

const CASN1EncBase & Child ( const TUint aIndex ) const [private, pure virtual]

Parameters

const TUint aIndex

IsConstructed()

TBool IsConstructed ( ) const [private, virtual]

NumChildren()

TUint NumChildren ( ) const [private, pure virtual]

WriteContentsDERL(TDes8 &)

void WriteContentsDERL ( TDes8 & aBuf ) const [private, virtual]

Writes DER content encoding into supplied buffer, which is already verified to be big enough. Must be implemented by derived classes.

Parameters

TDes8 & aBuf Buffer to write to.