CT_ErrorString

Synopsis

CK_RV C_ErrorString(
CK_RV ret,
char * errstr,
unsigned int len);

Description

Get a printable string representation of a Cryptoki error code.

Parameters

ret

Cryptoki error code

errstr

buffer to hold the printable string

len

number of characters referenced by errstr

On successful return

errstr — contains the printable string, or as much as will fit