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()

void CalculateContentsLengthDER ( ) [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 &)

void ConstructL ( 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.

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.

Parameters

const TDesC8 & aStr

WriteContentsDERL(TDes8 &)

void WriteContentsDERL ( 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 & aBuf Buffer to write to.

Member Data Documentation

HBufC8 * iContents

HBufC8 * iContents [private]