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
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | pName or ppEnum is NULL. |
P6R::eNotInitialized | A successful call to initialize was not made before this call. |
P6R::eInvalidState | A successful call to open() was not made before this call. |
P6R::eNotFound | No objects exist matching the request. |