Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IKeystoreQuery::enumKeyByClass ( P6CRYPTOKEYCLASS  keyClass,
p6IEnumKeystore **  ppEnum 
)
pure virtual

The returned enumerator can be used to walk all the entires or a subset of the key entries in a keystore.

All the keys of a specified class returned (i.e., Symmetric, Public antisymmetric, Private antisymmetric).

Parameters
keyClass[IN] For example, search for all symmetric keys.
ppEnum[OUT] identifiers for all matching keys
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgppEnum 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 keys exist matching the request.