CValidityPeriod Class Reference

class CValidityPeriod : public CBase

The period for which the certificate is valid.

v6.0

Inherits from

Constructor & Destructor Documentation

CValidityPeriod(const CValidityPeriod &)

IMPORT_CCValidityPeriod(const CValidityPeriod &aValidityPeriod)

Copy constructor.

Parameters

const CValidityPeriod & aValidityPeriodThe validity period object to be copied.

CValidityPeriod()

IMPORT_CCValidityPeriod()[protected]

Default constructor.

Member Functions Documentation

Finish()

IMPORT_C const TTime &Finish()const

Gets the end of the validity period.

The end date and time.

Start()

IMPORT_C const TTime &Start()const

Gets the start of the validity period.

The start date and time.

Valid(const TTime &)

IMPORT_C TBoolValid(const TTime &aTime)const

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

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

Parameters

const TTime & aTimeThe date and time to be tested.

Member Data Documentation

TTime iFinish

TTime iFinish[protected]

The end time of the validity period.

TTime iStart

TTime iStart[protected]

The start time of the validity period.