The returned enumerator can be used to walk all the entires or a subset of the key entries in a keystore.
All the keys with a specified length and of the specified Class (e.g., all Antisymmetric Public keys of 2048 bits).
- Parameters
-
| size | [ in ] the number of bits in a key |
| comparator | [ in ] relationship indicator: 0 - find all keys whose length equals the size parameter, 1 - find all keys whose length is greater than the size parameter, -1 - find all keys whose length is less than the size parameter |
| keyClass | [ in ] For example, search for all symmetric keys. |
| ppEnum | [ out ] identifiers for all matching keys |
- Returns
| Success | P6R::eOk | |
| Failure | P6R::eInvalidArg | ppEnum is NULL or size is zero. |
| 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 keys exist matching the request. |