This method retrieves the current algorith to be used with the key as a string.
- Parameters
-
pCipher | [IN] Block of memory to write the string equivalent of P6CRYPTOCIPHER. If NULL then, the required size of this buffer is returned in pWritten. |
cBuffer | [IN] Number of characters in the buffer pointed to by pCipher. |
pWritten | [OUT] Optional can be NULL, returns the number of characters written into pCipher. This parameter cannot be NULL when pCipher is also NULL. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eNotInitialized | Object is in an incorrect state. |
P6R::eInvalidArg | pCipher and pWritten are NULL. |
P6R::eNotFound | The requested meta data is not defined |
P6R::eTooBig | The requested value is too big to fit into pCipher. |