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 string value.
For example, find all keys with the attribute "Revocation Reason" string value of "Compromised".
- 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 |
pValueStr | [IN] the string value of the attribute pName to search for |
ppEnum | [OUT] identifiers for all matching keystore entries |
- Returns
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | pName, pValueStr, 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. |