Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

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

Class CASN1EncGeneralizedTime

class CASN1EncGeneralizedTime : public CASN1EncPrimitive;

Description

Class for encoding GeneralisedTime objects.

Doesn't support fractions of seconds or regional time zone offsets.

Derivation

Members

Defined in CASN1EncGeneralizedTime:

Inherited from CASN1EncBase:

Inherited from CASN1EncPrimitive:

Inherited from CBase:


Construction and destruction


NewLC(const TTime &)

IMPORT_C static CASN1EncGeneralizedTime* NewLC(const TTime &aTime);

Description

Parameters

const TTime &aTime

Return value

CASN1EncGeneralizedTime *


NewL(const TTime &)

IMPORT_C static CASN1EncGeneralizedTime* NewL(const TTime &aTime);

Description

Parameters

const TTime &aTime

Return value

CASN1EncGeneralizedTime *

[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.