CASN1EncObjectIdentifier Class Reference

class CASN1EncObjectIdentifier : public CASN1EncPrimitive

Class for encoding object identifiers.

Inherits from

Constructor & Destructor Documentation

CASN1EncObjectIdentifier()

CASN1EncObjectIdentifier()[private]

~CASN1EncObjectIdentifier()

IMPORT_C~CASN1EncObjectIdentifier()

Destructor

Member Functions Documentation

CalculateContentsLengthDER()

voidCalculateContentsLengthDER()[private, virtual]

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

ConstructL(const TDesC &)

voidConstructL(const TDesC &aStr)[private]

Parameters

const TDesC & aStr

NewL(const TDesC &)

IMPORT_C CASN1EncObjectIdentifier *NewL(const TDesC &aStr)[static]

Takes ints in a string, delimited by '.' characters in between (not at ends). Takes a deep copy of the info. New ASN.1 OID object.

Parameters

const TDesC & aStrOID string.

NewLC(const TDesC &)

IMPORT_C CASN1EncObjectIdentifier *NewLC(const TDesC &aStr)[static]

Takes ints in a string, delimited by '.' characters in between (not at ends). Takes a deep copy of the info. New ASN.1 OID object on the cleanup stack.

Parameters

const TDesC & aStrOID string.

WriteContentsDERL(TDes8 &)

voidWriteContentsDERL(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 & aBufBuffer to write to.

Member Data Documentation

RArray< TASN1EncBase128DER > iData

RArray< TASN1EncBase128DER >iData[private]

TUint8 iFirstOctet

TUint8 iFirstOctet[private]