Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ICert::getKeyUsage ( P6CERTKEYUSAGE pUsage)
pure virtual

Retrieves the key usage extension (OID 2.5.29.15) bits for the certificate.

Parameters
pUsage[ out ] The address of an P6CERTKEYUSAGE in which will be placed the usage bits on success.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgpUsage was NULL.
P6R::eNotInitializedThe certificate interface has not been initialized.
P6R::eNotFoundThe extention was not found in the certtificate