Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: asn1enc.h
Link against: asn1.lib

Class CASN1EncObjectIdentifier

class CASN1EncObjectIdentifier : public CASN1EncPrimitive;

Description

Class for encoding object identifiers.

Derivation

Members

Defined in CASN1EncObjectIdentifier:
CalculateContentsLengthDER(), NewL(), NewLC(), WriteContentsDERL(), ~CASN1EncObjectIdentifier()

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

Inherited from CASN1EncPrimitive:
IsConstructed()

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


Construction and destruction


NewLC()

static IMPORT_C CASN1EncObjectIdentifier *NewLC(const TDesC &aStr);

Description

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

Parameters

const TDesC &aStr

OID string.

Return value

CASN1EncObjectIdentifier *

New ASN.1 OID object on the cleanup stack.


NewL()

static IMPORT_C CASN1EncObjectIdentifier *NewL(const TDesC &aStr);

Description

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

Parameters

const TDesC &aStr

OID string.

Return value

CASN1EncObjectIdentifier *

New ASN.1 OID object.


~CASN1EncObjectIdentifier()

IMPORT_C ~CASN1EncObjectIdentifier();

Description

Destructor

[Top]


Member functions


CalculateContentsLengthDER()

private: virtual void CalculateContentsLengthDER();

Description

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


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.