Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: asn1enc.h
Link against: asn1.lib

Class CASN1EncExplicitTag

class CASN1EncExplicitTag : public CASN1EncConstructed;

Description

Class used to wrap other encoding objects in order to give them an explicit tag.

Derivation

Members

Defined in CASN1EncExplicitTag:
Child(), NewL(), NewLC(), NumChildren(), ~CASN1EncExplicitTag()

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

Inherited from CASN1EncConstructed:
CalculateContentsLengthDER(), IsConstructed(), WriteContentsDERL()

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


Construction and destruction


NewLC()

static IMPORT_C CASN1EncExplicitTag *NewLC(CASN1EncBase *aEncoder, const TTagType aType, const TASN1Class aClass=EContextSpecific);

Description

Takes ownership of the encoder, *including* the case when this method leaves.

Parameters

CASN1EncBase *aEncoder

ASN.1 encoding object to wrap

const TTagType aType

Tag type to assign

const TASN1Class aClass

Tag class to assign

Return value

CASN1EncExplicitTag *

Wrapped encoding object pushed on the cleanup stack.


NewL()

static IMPORT_C CASN1EncExplicitTag *NewL(CASN1EncBase *aEncoder, const TTagType aType, const TASN1Class aClass=EContextSpecific);

Description

Takes ownership of the encoder, *including* the case when this method leaves.

Parameters

CASN1EncBase *aEncoder

ASN.1 encoding object to wrap

const TTagType aType

Tag type to assign

const TASN1Class aClass

Tag class to assign

Return value

CASN1EncExplicitTag *

Wrapped encoding object.


~CASN1EncExplicitTag()

IMPORT_C ~CASN1EncExplicitTag();

Description

[Top]


Member functions


NumChildren()

private: virtual TUint NumChildren() const;

Description

Return value

TUint


Child()

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

Description

Parameters

const TUint aIndex

Return value

const CASN1EncBase &