Symbian
 Developer Library

DEVELOPER LIBRARY

[Index] [Glossary] [Previous] [Next]



Location: signed.h
Link against: crypto.lib

Class CValidityPeriod

CValidityPeriod

Support

Supported from 6.0

Description

The period for which the certificate is valid.

Derivation

CBaseBase class for all classes to be instantiated on the heap
CValidityPeriodThe period for which the certificate is valid

Defined in CValidityPeriod:
CValidityPeriod(), Finish(), Start(), Valid()

Inherited from CBase:
operator new()


Construction


CValidityPeriod()

CValidityPeriod(const CValidityPeriod& aValidityPeriod);

Description

Copy constructor.

Parameters

const CValidityPeriod& aValidityPeriod

The validity period object to be copied.

[Top]


Member functions


Valid()

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

True, if the date and time is within the validity period; false, otherwise.


Start()

const TTime& Start() const;

Description

Gets the start of the validity period.

Return value

TTime&

The start date and time.


Finish()

const TTime& Finish() const;

Description

Gets the end of the validity period.

Return value

TTime&

The end date and time.