Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IKeystore::enumEntries ( P6KEYSTORE_TYPE  byType,
const P6WCHAR pNamespace,
p6IEnumKeystore **  ppEnum 
)
pure virtual

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

The type and unique identifer are returned for each keystore entry. Note that links do not exist in namespaces so to be able to enumerate all links the pNamespace parameter must be NULL.

Parameters
byType[ in ] Filter returned entries by type. If ENTRY_NULL is used, then all types are returned.
pNamespace[ in ] Filter returned entries by namespace and type. If set to NULL, then all namespaces are returned.
ppEnum[ out ] Can be used to search for all keys, or all certificates, or all blobs.
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 entires exist matching the request.
P6R::eNotSupportedbyType set to ENTRY_LINK and pNamespace is not NULL.