CValidityPeriod Class Reference

#include <signed.h>

Link against: crypto.lib

class CValidityPeriod : public CBase

Inherits from

Detailed Description

The period for which the certificate is valid.

Since
v6.0

Member Attribute Documentation

iFinish

TTime iFinish[protected]

The end time of the validity period.

iStart

TTime iStart[protected]

The start time of the validity period.

Constructor & Destructor Documentation

CValidityPeriod ( const CValidityPeriod & )

IMPORT_CCValidityPeriod(const CValidityPeriod &aValidityPeriod)

Copy constructor.

Parameters
aValidityPeriodThe validity period object to be copied.

CValidityPeriod ( )

IMPORT_CCValidityPeriod()[protected]

Default constructor.

Member Function Documentation

Finish ( )

IMPORT_C const TTime &Finish()const

Gets the end of the validity period.

Return Value
The end date and time.

Start ( )

IMPORT_C const TTime &Start()const

Gets the start of the validity period.

Return Value
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.

Parameters
aTimeThe date and time to be tested.
Return Value
ETrue, if the date and time is within the validity period; EFalse, otherwise.