Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

XKMSValidityInterval Class Reference
[XML Key Management System Implementation]

#include <XKMSValidityInterval.hpp>

List of all members.


Detailed Description

Interface definition for the ValidityInterval elements.

The <ValidityInterval> Element is used to define the dates within which a key is valid.

The schema definition for ValidityInterval is as follows :

   <!-- ValidityInterval -->
   <element name="ValidityInterval" type="xkms:ValidityIntervalType"/>
   <complexType name="ValidityIntervalType">
      <attribute name="NotBefore" type="dateTime" use="optional"/>
      <attribute name="NotOnOrAfter" type="dateTime" use="optional"/>
   </complexType>
   <!-- /ValidityInterval -->


Constructors and Destructors

virtual ~XKMSValidityInterval ()
 XKMSValidityInterval ()

Public Member Functions

Get Methods
virtual const XMLCh * getNotBefore (void) const =0
 Get the start date for the key.
virtual const XMLCh * getNotOnOrAfter (void) const =0
 Get the end date for the key.
Set Methods
virtual void setNotBefore (const XMLCh *val)=0
 Set the start date for the key.
virtual void setNotOnOrAfter (const XMLCh *val)=0
 Set the end date for the key.


Constructor & Destructor Documentation

XKMSValidityInterval::XKMSValidityInterval  )  [inline, protected]
 

virtual XKMSValidityInterval::~XKMSValidityInterval  )  [inline, virtual]
 


Member Function Documentation

virtual const XMLCh* XKMSValidityInterval::getNotBefore void   )  const [pure virtual]
 

Get the start date for the key.

Defines the first instance in time from which the key is valid. At any time before this, the key is invalid.

Returns:
The NotBefore value (or NULL if none was defined)

virtual const XMLCh* XKMSValidityInterval::getNotOnOrAfter void   )  const [pure virtual]
 

Get the end date for the key.

Defines the first instance in time from which the key is invalid. At this time or after, the key is invalid.

Returns:
The NotOnOrAfter value (or NULL if none was defined)

virtual void XKMSValidityInterval::setNotBefore const XMLCh *  val  )  [pure virtual]
 

Set the start date for the key.

Defines the first instance in time from which the key is valid. At any time before this, the key is invalid.

Parameters:
val value to set

virtual void XKMSValidityInterval::setNotOnOrAfter const XMLCh *  val  )  [pure virtual]
 

Set the end date for the key.

Defines the first instance in time from which the key is invalid. At this time or after, the key is invalid.

Parameters:
val value to set


The documentation for this class was generated from the following file:
Generated on Sun Jul 3 17:45:06 2005 for XML-Security-C by  doxygen 1.4.2