Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ICryptoKeySetMeta::setUse ( const P6WCHAR pUse,
P6UINT32  cBuffer 
)
pure virtual

This method assigns a value for the human or machine readable description on how key is to be used (e.g., sign SSH packages) (see reference 1).

Parameters
pLabel[IN] Block of memory holding the descriptive label information.
cBuffer[IN] Number of characters in the buffer pointed to by pBuffer.
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedObject is in an incorrect state.
P6R::eInvalidArgpUse is NULL.
P6R::eNoMemoryInsufficient memory to copy pUse.