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
Success | P6R::eOk | |
Failure | P6R::eNotInitialized | Object is in an incorrect state. |
P6R::eInvalidArg | pState is NULL. |
P6R::eNotFound | The value in pState does not match any allowed, defined key states. |