Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ICryptoKeySetMeta::setStateAsString ( const P6WCHAR pState)
pure virtual

This method allows the caller to set the state by providing a string value.

String values of states can be obtained from the method p6ICryptoKeyGetMeta::getStateAsString(). These methods can be used for serialization of a key's meta data.

Parameters
pState[IN] Block of memory to containing the string equivalent of P6CRYPTOKEYSTATE.
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedObject is in an incorrect state.
P6R::eInvalidArgpState is NULL.
P6R::eNotFoundThe value in pState does not match any allowed, defined key states.