CASN1EncOctetString Class Reference

class CASN1EncOctetString : public CASN1EncPrimitive

Class for encoding octet strings.

Inherits from

Constructor & Destructor Documentation

CASN1EncOctetString()

CASN1EncOctetString()[private]

~CASN1EncOctetString()

IMPORT_C~CASN1EncOctetString()

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 TDesC8 &)

voidConstructL(const TDesC8 &aStr)[private]

Parameters

const TDesC8 & aStr

NewL(const TDesC8 &)

IMPORT_C CASN1EncOctetString *NewL(const TDesC8 &aStr)[static]

Parameters

const TDesC8 & aStr

NewLC(const TDesC8 &)

IMPORT_C CASN1EncOctetString *NewLC(const TDesC8 &aStr)[static]

Parameters

const TDesC8 & aStr

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

HBufC8 * iContents

HBufC8 *iContents[private]