CASN1EncPrintableString Class Reference

class CASN1EncPrintableString : public CASN1EncPrimitive

Class for encoding printable strings.

Inherits from

Constructor & Destructor Documentation

CASN1EncPrintableString()

CASN1EncPrintableString()[private]

~CASN1EncPrintableString()

IMPORT_C~CASN1EncPrintableString()

Destructor.

Member Functions Documentation

CalculateContentsLengthDER()

voidCalculateContentsLengthDER()[private, virtual]

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

CheckValid(const TDesC8 &)

TInt CheckValid(const TDesC8 &aStr)[private]

Parameters

const TDesC8 & aStr

ConstructL(const TDesC8 &)

voidConstructL(const TDesC8 &aStr)[private]

Parameters

const TDesC8 & aStr

NewL(const TDesC8 &)

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

Creates an ASN.1 Printable String encoder. The fully constructed object.

Parameters

const TDesC8 & aStr

NewLC(const TDesC8 &)

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

Creates an ASN.1 Printable String encoder, and puts it onto the cleanup stack. The fully constructed object.

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]