Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <asn1enc.h>
Link against: asn1.lib

Class CASN1EncPrintableString

class CASN1EncPrintableString : public CASN1EncPrimitive;

Description

Class for encoding printable strings.

Derivation

Members

Defined in CASN1EncPrintableString:

Inherited from CASN1EncBase:

Inherited from CASN1EncPrimitive:

Inherited from CBase:


Construction and destruction


NewLC(const TDesC8 &)

IMPORT_C static CASN1EncPrintableString* NewLC(const TDesC8 &aStr);

Description

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

Parameters

const TDesC8 &aStr

Return value

CASN1EncPrintableString *

The fully constructed object.


NewL(const TDesC8 &)

IMPORT_C static CASN1EncPrintableString* NewL(const TDesC8 &aStr);

Description

Creates an ASN.1 Printable String encoder.

Parameters

const TDesC8 &aStr

Return value

CASN1EncPrintableString *

The fully constructed object.


~CASN1EncPrintableString()

IMPORT_C ~CASN1EncPrintableString();

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(TDes8 &)const

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.