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
Success | P6R::eOk | |
Failure | P6R::eNotInitialized | The object is in an incorrect internal state. |
P6R::eInvalidArg | All of the parameters are equal to NULL. |