Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: 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:
CValidityPeriod(), CValidityPeriod(), Finish(), Start(), Valid(), iFinish, iStart

Inherited from CBase:
Delete(), Extension_(), operator new()


Construction and destruction


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()

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()

IMPORT_C const TTime &Start() const;

Description

Gets the start of the validity period.

Return value

const TTime &

The start date and time.


Finish()

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.