Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IKeystoreQuery2::enumByAttributeTime ( P6KEYSTORE_TYPE  entryType,
const P6WCHAR pName,
P6TIME  timeStamp,
P6INT8  comparitor,
p6IEnumKeystore **  ppEnum 
)
pure virtual

The returned enumerator can be used to walk all the entires or a subset of the entries in a keystore that have a specific attribute set with a timestamp value.

For example, find all keys with the attribute "Will Expire" timestamp equal to 30 days in the future set.

Parameters
entryType[IN] the type of keystore object to search for (e.g., key, certificate), ENTRY_NULL means all types of objects.
pName[IN] the name of an attribute to search for
timeStamp[IN] the date value of the attribute pName to search for
comparator[IN] relationship indicator: 0 - find all objects whose attribute's time value equals the timeStamp parameter, 1 - find all objects whose attribute's time value is greater than the timeStamp parameter, -1 - find all objects whose attribute's time value is less than the timeStamp parameter
ppEnum[OUT] identifiers for all matching keystore entries
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgpName or ppEnum is NULL.
P6R::eNotInitializedA successful call to initialize was not made before this call.
P6R::eInvalidStateA successful call to open() was not made before this call.
P6R::eNotFoundNo objects exist matching the request.