This method allows the caller to set the cipher by providing a string value.
String values of states can be obtained from the method p6ICryptoKeyGetMeta::getCipherAsString(). These methods can be used for serialization of a key's meta data.
- Parameters
-
pCipher | [IN] Block of memory to containing the string equivalent of P6CRYPTOCIPHER. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eNotInitialized | Object is in an incorrect state. |
P6R::eInvalidArg | pCipher is NULL. |
P6R::eNotFound | The value in pCipher does not match any allowed, defined cipher values. |