Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: asn1enc.h
Link against: asn1.lib

Class CASN1EncConstructed

class CASN1EncConstructed : public CASN1EncBase;

Description

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

Derivation

Members

Defined in CASN1EncConstructed:
CalculateContentsLengthDER(), Child(), IsConstructed(), NumChildren(), WriteContentsDERL()

Inherited from CASN1EncBase:
ConstructL(), LengthDER(), SetTag(), WriteDERL(), WriteLengthDER(), iContentsLengthDER, iLengthLengthDER, iTagLengthDER

Inherited from CBase:
Delete(), Extension_(), operator new()


Member functions


Child()

private: virtual const CASN1EncBase &Child(const TUint aIndex) const=0;

Description

Parameters

const TUint aIndex

Return value

const CASN1EncBase &


NumChildren()

private: virtual TUint NumChildren() const=0;

Description

Return value

TUint


CalculateContentsLengthDER()

private: virtual void CalculateContentsLengthDER();

Description

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


IsConstructed()

private: virtual TBool IsConstructed() const;

Description

Return value

TBool


WriteContentsDERL()

private: virtual void WriteContentsDERL(TDes8 &aBuf) const;

Description

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.