Return Codes

Exception Description

BSI_OK

Execution completed successfully.

BSI_ACCESS_DENIED

Applicable ACR was not fulfilled.

BSI_ACR_NOT_AVAILABLE

Specified ACR is incorrect.

BSI_BAD_AID

Specified Application (AID) does not exist.

BSI_BAD_ALGO_ID

Specified cryptographic algorithm is not available.

BSI_BAD_AUTH

Invalid authentication data.

BSI_BAD_HANDLE

Specified card handle is not available.

BSI_BAD_PARAM    

One or more of specified parameters is incorrect.

BSI_BAD_TAG

Invalid tag information.

BSI_CARD_ABSENT

Card associated with specified card handle is not present.

BSI_CARD_REMOVED

Card associated with specified card handle has been removed.

BSI_IO_ERROR

Error encountered during input or output of specified data.

BSI_INSUFFICIENT_BUFFER

Buffer allocated by calling application is too small.

BSI_NO_CARDSERVICE

Smart card associated with specified card handle does not provide requested service.

BSI_NO_MORE_SPACE

Insufficient space in selected container to store specified data.

BSI_NO_SPSSERVICE

SPS does not provide requested service.

BSI_NO_TEXT_AVAILABLE

No extended error text is available.

BSI_NOT_IMPLEMENTED

Function is not implemented.

BSI_NOT_TRANSACTED

Current transaction has not ended.

BSI_PIN_BLOCKED

PIN is blocked.

BSI_SC_LOCKED

Smart card associated with a specified card handle is under exclusive transaction of another client application.

BSI_TAG_EXISTS

Tag specified for a create operation already exists in target container.

BSI_TERMINAL_AUTH

Card reader has performed a successful Internal Authentication with card.

BSI_TIMEOUT_ERROR

Connection could not be established with card before time-out value expired.

BSI_UNKNOWN_ERROR

Requested operation has generated an unspecified error.

BSI_UNKNOWN_READER

Specified reader does not exist.