Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ICryptoKeyGetMeta::getCipherString ( P6CRYPTOCIPHER  cipher,
P6WCHAR pCipher,
P6UINT32  cBuffer,
P6UINT32 pWritten 
)
pure virtual

Return the string representation of the cipher input parameter.

This function works regardless of the key state's.

Parameters
cipher[IN] P6CRYPTOCIPHER enum value to convert to a string.
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
SuccessP6R::eOk 
Failure<P6R::eInvalidArgpCipher and pWritten are NULL.
P6R::eTooBigThe requested value is too big to fit into pCipher.
P6R::eNotFoundThe given value of cipher is defined.