CValidityPeriod Class Reference

#include <signed.h>

Link against: crypto.lib

class CValidityPeriod : public CBase

Inherits from

  • CValidityPeriod

    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.

    ParameterDescription
    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.

    Returns: The end date and time.

    Start ( )

    IMPORT_C const TTime &Start()const

    Gets the start of the validity period.

    Returns: 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.

    ParameterDescription
    aTimeThe date and time to be tested.

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