Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <signed.h>
Link against: crypto.lib

Class CValidityPeriod

class CValidityPeriod : public CBase;

Description

The period for which the certificate is valid.

Derivation

Members

Defined in CValidityPeriod:

Inherited from CBase:


Construction and destruction


CValidityPeriod(const CValidityPeriod &)

IMPORT_C CValidityPeriod(const CValidityPeriod &aValidityPeriod);

Description

Copy constructor.

Parameters

const CValidityPeriod &aValidityPeriod

The validity period object to be copied.


CValidityPeriod()

protected: IMPORT_C CValidityPeriod();

Description

Default constructor.

[Top]


Member functions


Valid(const TTime &)const

IMPORT_C TBool Valid(const TTime &aTime) const;

Description

Tests whether the specified date and time is within the validity period.

Parameters

const TTime &aTime

The date and time to be tested.

Return value

TBool

ETrue, if the date and time is within the validity period; EFalse, otherwise.


Start()const

IMPORT_C const TTime& Start() const;

Description

Gets the start of the validity period.

Return value

const TTime &

The start date and time.


Finish()const

IMPORT_C const TTime& Finish() const;

Description

Gets the end of the validity period.

Return value

const TTime &

The end date and time.

[Top]


Member data


iStart

protected: TTime iStart;

Description

The start time of the validity period.


iFinish

protected: TTime iFinish;

Description

The end time of the validity period.