General Cryptoki API Exception
More...
#include <CryptokiException.h>
General Cryptoki API Exception
This is a general Exception for the API class, it contains the pkcs11 base error codes and returns a understandable string rather than a number.
- See also
- pkcs11.h
CryptokiException::CryptokiException |
( |
CK_RV |
erc = CKR_GENERAL_ERROR | ) |
|
|
inline |
Default Constructor.
- Parameters
-
CryptokiException::CryptokiException |
( |
const char * |
where, |
|
|
CK_RV |
erc = CKR_GENERAL_ERROR |
|
) |
| |
|
inline |
Constructor with "where" message.
- Parameters
-
where | String with place where exception occurred. |
erc | PKCS#11 Error code. |
virtual CryptokiException::~CryptokiException |
( |
| ) |
|
throw | ( | |
| ) | | |
|
inlinevirtual |
virtual CK_RV CryptokiException::getErrorCode |
( |
| ) |
|
|
inlinevirtual |
Returns the PKCS#11 error code.
- Returns
- CK_RV
virtual const char* CryptokiException::what |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inlinevirtual |
Returns a string with the name of the PKCS#11error code.
virtual const char* CryptokiException::where |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inlinevirtual |
Returns a string with the place where the exception occurred.
CK_RV CryptokiException::_erc |
|
protected |
const char* CryptokiException::_where |
|
protected |
The documentation for this class was generated from the following file: