Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ICryptoKey::getInfo ( P6CRYPTOKEYCLASS pClass,
P6CRYPTOKEYTYPE pType,
P6UUID pGuid,
P6INT32 pKeySize,
P6INT32 pVersion 
)
pure virtual

This method returns the key's metadata.

Note that all of the parameters to this call can be NULL except one. Thus the caller can extract just the metadata that is of interest. For example, pClass and pVersion could be NULL while all other pointers are valid.

Parameters
pClass[ out ] Categorizes key use
pType[ out ] Categorizes key use
pGuid[ out ] A unique identifier
pKeySize[ out ] The key size in bites of a key defines its strength
pVersion[ out ] The version of the key file format
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedThe object is in an incorrect internal state.
P6R::eInvalidArgAll of the parameters are equal to NULL.