eID middleware |

# eidErrors.h File Reference

Go to the source code of this file.

## Defines
#define | EIDMW_OK 0
#define | EIDMW_ERR_PARAM_BAD 0xe1d00100
| A function parameter has an unexpected value (general).
#define | EIDMW_ERR_PARAM_RANGE 0xe1d00101
| A function parameter exceeded the allowed range.
#define | EIDMW_ERR_BAD_PATH 0xe1d00102
| Bad file path (invalid characters, length no multiple of 4).
#define | EIDMW_ERR_ALGO_BAD 0xe1d00103
| Unknown/unsupported algorithm.
#define | EIDMW_ERR_PIN_OPERATION 0xe1d00104
| Invalid/unsupported PIN operation.
#define | EIDMW_ERR_PIN_FORMAT 0xe1d00105
| PIN not allowed for this card (invalid characters, too short/long).
#define | EIDMW_ERR_BAD_USAGE 0xe1d00106
| Bad usage of a class or function.
#define | EIDMW_ERR_CARD 0xe1d00200
| Generic card error.
#define | EIDMW_ERR_NOT_AUTHENTICATED 0xe1d00201
| Not Authenticated (no PIN specified).
#define | EIDMW_ERR_NOT_SUPPORTED 0xe1d00202
| This command is not supported by this card.
#define | EIDMW_ERR_PIN_BAD 0xe1d00203
| Bad PIN.
#define | EIDMW_ERR_PIN_BLOCKED 0xe1d00204
| PIN blocked.
#define | EIDMW_ERR_NO_CARD 0xe1d00205
| No card present or card has been removed.
#define | EIDMW_ERR_BAD_P1P2 0xe1d00206
| Bad parameter P1 or P2.
#define | EIDMW_ERR_CMD_NOT_ALLOWED 0xe1d00207
| Command not allowed.
#define | EIDMW_ERR_FILE_NOT_FOUND 0xe1d00208
| File not found.
#define | EIDMW_ERR_APPLET_VERSION_NOT_FOUND 0xe1d00209
| Unable to read applet version from the card.
#define | EIDMW_ERR_NOT_ACTIVATED 0xe1d0020A
| Card not activated.
#define | EIDMW_ERR_CARD_COMM 0xe1d00300
| Error communicating with the card.
#define | EIDMW_ERR_NO_READER 0xe1d00301
| No reader has been found.
#define | EIDMW_ERR_PINPAD 0xe1d00302
| The pinpad reader returned an error.
#define | EIDMW_ERR_CANT_CONNECT 0xe1d00303
| A card is present but we can't connect.
#define | EIDMW_ERR_CARD_RESET 0xe1d00304
| The card has been reset (e.g.
#define | EIDMW_ERR_CARD_SHARING 0xe1d00305
| The card can't be accessed because of other connections.
#define | EIDMW_ERR_NOT_TRANSACTED 0xe1d00306
| Can't end a transaction that wasn't started (also returned on Mac OS X when multiple apps are access the card simultaneously).
#define | EIDMW_ERR_LIMIT 0xe1d00400
| An internal limit has been reached.
#define | EIDMW_ERR_CHECK 0xe1d00401
| An internal check failed.
#define | EIDMW_ERR_PCSC_LIB 0xe1d00402
| The PCSC library could not be located.
#define | EIDMW_ERR_ZLIB_RESOLVE 0xe1d00403
| An attempt to resolve a Z-lib address failed.
#define | EIDMW_ERR_UNKNOWN 0xe1d00404
| And unknown error occurred.
#define | EIDMW_PINPAD_ERR 0xe1d00405
| The pinpad reader received a wrong/unknown value.
#define | EIDMW_CANT_LOAD_LIB 0xe1d00406
| Dynamic library couldn't be loaded (found found at the specified location).
#define | EIDMW_ERR_MEMORY 0xe1d00407
| Memory error.
#define | EIDMW_ERR_DELETE_CACHE 0xe1d00408
| Couldn't delete cache file(s).
#define | EIDMW_CONF 0xe1d00409
| Error getting or writing config data.
#define | EIDMW_CACHE_TAMPERED 0xe1d0040A
| The cached files have been tampered with.
#define | EIDMW_ERR_SOCKET_CREATE 0xe1d00500
| Creation of a socket failed.
#define | EIDMW_ERR_SOCKET_SEND 0xe1d00501
| Socket 'send()' failed.
#define | EIDMW_ERR_SOCKET_RECV 0xe1d00502
| Socket 'recv()' failed.
#define | EIDMW_ERR_SOCKET_GETHOST 0xe1d00503
| Call to 'gethostbyname()' in SocketClient failed.
#define | EIDMW_ERR_SOCKET_CONNECT 0xe1d00504
| Call to 'connect()' in SocketClient failed.
#define | EIDMW_ERR_SOCKET_SOCKET 0xe1d00510
| Invalid in SocketServer, call to 'socket()' failed.
#define | EIDMW_ERR_SOCKET_BIND 0xe1d00511
| Call to 'bind()' in SocketServer failed.
#define | EIDMW_ERR_SOCKET_ACCEPT 0xe1d00512
| Call to 'Accept()' in SocketServer failed.
#define | EIDMW_ERR_PIN_CANCEL 0xe1d00600
| User pressed Cancel in PIN dialog.
#define | EIDMW_ERR_TIMEOUT 0xe1d00601
| Pinpad timeout.
#define | EIDMW_NEW_PINS_DIFFER 0xe1d00602
| The new PINs that were entered differ.
#define | EIDMW_WRONG_PIN_FORMAT 0xe1d00603
| A PIN with invalid length or format was entered.
#define | EIDMW_WRONG_ASN1_FORMAT 0xe1d00700
| Could not find expected elements in parsed ASN.1 vector.
#define | EIDMW_FILE_NOT_OPENED 0xe1d00800
| File could not be opened.
#define | EIDMW_PERMISSION_DENIED 0xe1d00801
| Search permission is denied for a component of the path prefix of path.
#define | EIDMW_INVALID_PATH 0xe1d00802
| A loop exists in symbolic links encountered during resolution of the path argument.
#define | EIDMW_TOO_MANY_OPENED_FILES 0xe1d00803
| {OPEN_MAX} file descriptors are currently open in the calling process.
#define | EIDMW_DIR_NOT_OPENED 0xe1d00804
| The argument of closedir or readdir does not refer to an open directory stream.
#define | EIDMW_INTERRUPTION 0xe1d00805
| Interrupted by a signal.
#define | EIDMW_OVERFLOW 0xe1d00806
| One of the values in the structure to be returned cannot be represented correctly.
#define | EIDMW_ERROR_IO 0xe1d00807
| An I/O error occurred while reading from the file system.
#define | EIDMW_ERR_LOGGER_APPLEAVING 0xe1d00900
| Call of the Logger after destruct time.
#define | EIDMW_ERR_DOCTYPE_UNKNOWN 0xe1d00b00
| The document type is unknown for this card.
#define | EIDMW_ERR_CARDTYPE_BAD 0xe1d00b01
| The card type asked doesn't correspond with the real card type.
#define | EIDMW_ERR_CARDTYPE_UNKNOWN 0xe1d00b02
| This card type is unknown.
#define | EIDMW_ERR_CERT_NOISSUER 0xe1d00b03
| This Certificate has no issuer (=root).
#define | EIDMW_ERR_RELEASE_NEEDED 0xe1d00b04
| No release of SDK object has been done before closing the application.
#define | EIDMW_ERR_BAD_TRANSACTION 0xe1d00b05
| Bad transaction commande (Unlock without Lock OR Lock without Unlock).
#define | EIDMW_ERR_FILETYPE_UNKNOWN 0xe1d00b06
| The file type is unknown for this card.
#define | EIDMW_ERR_CARD_CHANGED 0xe1d00b07
| The card has been changed.
#define | EIDMW_ERR_READERSET_CHANGED 0xe1d00b08
| The reader set has been changed.
#define | EIDMW_ERR_NOT_ALLOW_BY_USER 0xe1d00b09
| User did not allow to read the card.
#define | EIDMW_ERR_CERT_NOCRL 0xe1d00b0A
| This Certificate has no CDP.
#define | EIDMW_ERR_CERT_NOOCSP 0xe1d00b0B
| This Certificate has no OCSP responder.
#define | EIDMW_ERR_CERT_NOROOT 0xe1d00b0C
| No root is found for the store or certificate.
#define | EIDMW_ERR_USER_MUST_ANSWER 0xe1d00b0D
| User did not yet allow or disallow to read the card.
#define | EIDMW_ERR_SYSTEM 0xe1d00c01
| a system call returned an error
#define | EIDMW_ERR_SIGNAL 0xe1d00c02
| a signal function returned an error

## Define Documentation

#define EIDMW_CACHE_TAMPERED 0xe1d0040A

The cached files have been tampered with.

#define EIDMW_CANT_LOAD_LIB 0xe1d00406

Dynamic library couldn't be loaded (found found at the specified location).

#define EIDMW_CONF 0xe1d00409

Error getting or writing config data.

#define EIDMW_DIR_NOT_OPENED 0xe1d00804

The argument of closedir or readdir does not refer to an open directory stream.

#define EIDMW_ERR_ALGO_BAD 0xe1d00103

Unknown/unsupported algorithm.

#define EIDMW_ERR_APPLET_VERSION_NOT_FOUND 0xe1d00209

Unable to read applet version from the card.

#define EIDMW_ERR_BAD_P1P2 0xe1d00206

Bad parameter P1 or P2.

#define EIDMW_ERR_BAD_PATH 0xe1d00102

Bad file path (invalid characters, length no multiple of 4).

#define EIDMW_ERR_BAD_TRANSACTION 0xe1d00b05

Bad transaction commande (Unlock without Lock OR Lock without Unlock).

#define EIDMW_ERR_BAD_USAGE 0xe1d00106

Bad usage of a class or function.

#define EIDMW_ERR_CANT_CONNECT 0xe1d00303

A card is present but we can't connect.

E.g. no card present, or a synchronous (e.g. SIS card) is inserted in the reader, but no 'reader specific card plugin' is available for that reader

#define EIDMW_ERR_CARD 0xe1d00200

Generic card error.

#define EIDMW_ERR_CARD_CHANGED 0xe1d00b07

The card has been changed.

#define EIDMW_ERR_CARD_COMM 0xe1d00300

Error communicating with the card.

#define EIDMW_ERR_CARD_RESET 0xe1d00304

The card has been reset (e.g.

by another application)

#define EIDMW_ERR_CARD_SHARING 0xe1d00305

The card can't be accessed because of other connections.

#define EIDMW_ERR_CARDTYPE_BAD 0xe1d00b01

The card type asked doesn't correspond with the real card type.

#define EIDMW_ERR_CARDTYPE_UNKNOWN 0xe1d00b02

This card type is unknown.

#define EIDMW_ERR_CERT_NOCRL 0xe1d00b0A

This Certificate has no CDP.

#define EIDMW_ERR_CERT_NOISSUER 0xe1d00b03

This Certificate has no issuer (=root).

#define EIDMW_ERR_CERT_NOOCSP 0xe1d00b0B

This Certificate has no OCSP responder.

#define EIDMW_ERR_CERT_NOROOT 0xe1d00b0C

No root is found for the store or certificate.

#define EIDMW_ERR_CHECK 0xe1d00401

An internal check failed.

#define EIDMW_ERR_CMD_NOT_ALLOWED 0xe1d00207

Command not allowed.

#define EIDMW_ERR_DELETE_CACHE 0xe1d00408

Couldn't delete cache file(s).

#define EIDMW_ERR_DOCTYPE_UNKNOWN 0xe1d00b00

The document type is unknown for this card.

#define EIDMW_ERR_FILE_NOT_FOUND 0xe1d00208

File not found.

#define EIDMW_ERR_FILETYPE_UNKNOWN 0xe1d00b06

The file type is unknown for this card.

#define EIDMW_ERR_LIMIT 0xe1d00400

An internal limit has been reached.

#define EIDMW_ERR_LOGGER_APPLEAVING 0xe1d00900

Call of the Logger after destruct time.

#define EIDMW_ERR_MEMORY 0xe1d00407

Memory error.

#define EIDMW_ERR_NO_CARD 0xe1d00205

No card present or card has been removed.

#define EIDMW_ERR_NO_READER 0xe1d00301

No reader has been found.

#define EIDMW_ERR_NOT_ACTIVATED 0xe1d0020A

Card not activated.

#define EIDMW_ERR_NOT_ALLOW_BY_USER 0xe1d00b09

User did not allow to read the card.

#define EIDMW_ERR_NOT_AUTHENTICATED 0xe1d00201

Not Authenticated (no PIN specified).

#define EIDMW_ERR_NOT_SUPPORTED 0xe1d00202

This command is not supported by this card.

#define EIDMW_ERR_NOT_TRANSACTED 0xe1d00306

Can't end a transaction that wasn't started (also returned on Mac OS X when multiple apps are access the card simultaneously).

#define EIDMW_ERR_PARAM_BAD 0xe1d00100

A function parameter has an unexpected value (general).

#define EIDMW_ERR_PARAM_RANGE 0xe1d00101

A function parameter exceeded the allowed range.

#define EIDMW_ERR_PCSC_LIB 0xe1d00402

The PCSC library could not be located.

#define EIDMW_ERR_PIN_BAD 0xe1d00203

Bad PIN.

#define EIDMW_ERR_PIN_BLOCKED 0xe1d00204

PIN blocked.

#define EIDMW_ERR_PIN_CANCEL 0xe1d00600

User pressed Cancel in PIN dialog.

#define EIDMW_ERR_PIN_FORMAT 0xe1d00105

PIN not allowed for this card (invalid characters, too short/long).

#define EIDMW_ERR_PIN_OPERATION 0xe1d00104

Invalid/unsupported PIN operation.

#define EIDMW_ERR_PINPAD 0xe1d00302

The pinpad reader returned an error.

#define EIDMW_ERR_READERSET_CHANGED 0xe1d00b08

The reader set has been changed.

#define EIDMW_ERR_RELEASE_NEEDED 0xe1d00b04

No release of SDK object has been done before closing the application.

#define EIDMW_ERR_SIGNAL 0xe1d00c02

a signal function returned an error

#define EIDMW_ERR_SOCKET_ACCEPT 0xe1d00512

Call to 'Accept()' in SocketServer failed.

#define EIDMW_ERR_SOCKET_BIND 0xe1d00511

Call to 'bind()' in SocketServer failed.

#define EIDMW_ERR_SOCKET_CONNECT 0xe1d00504

Call to 'connect()' in SocketClient failed.

#define EIDMW_ERR_SOCKET_CREATE 0xe1d00500

Creation of a socket failed.

#define EIDMW_ERR_SOCKET_GETHOST 0xe1d00503

Call to 'gethostbyname()' in SocketClient failed.

#define EIDMW_ERR_SOCKET_RECV 0xe1d00502

Socket 'recv()' failed.

#define EIDMW_ERR_SOCKET_SEND 0xe1d00501

Socket 'send()' failed.

#define EIDMW_ERR_SOCKET_SOCKET 0xe1d00510

Invalid in SocketServer, call to 'socket()' failed.

#define EIDMW_ERR_SYSTEM 0xe1d00c01

a system call returned an error

#define EIDMW_ERR_TIMEOUT 0xe1d00601

Pinpad timeout.

#define EIDMW_ERR_UNKNOWN 0xe1d00404

And unknown error occurred.

#define EIDMW_ERR_USER_MUST_ANSWER 0xe1d00b0D

User did not yet allow or disallow to read the card.

#define EIDMW_ERR_ZLIB_RESOLVE 0xe1d00403

An attempt to resolve a Z-lib address failed.

#define EIDMW_ERROR_IO 0xe1d00807

An I/O error occurred while reading from the file system.

#define EIDMW_FILE_NOT_OPENED 0xe1d00800

File could not be opened.

#define EIDMW_INTERRUPTION 0xe1d00805

Interrupted by a signal.

#define EIDMW_INVALID_PATH 0xe1d00802

A loop exists in symbolic links encountered during resolution of the path argument.

A component of path does not name an existing file or path is an empty string. A component of the path prefix is not a directory. The length of the path argument exceeds {PATH_MAX} or a pathname component is longer than {NAME_MAX}.

#define EIDMW_NEW_PINS_DIFFER 0xe1d00602

The new PINs that were entered differ.

#define EIDMW_OK 0

#define EIDMW_OVERFLOW 0xe1d00806

One of the values in the structure to be returned cannot be represented correctly.

#define EIDMW_PERMISSION_DENIED 0xe1d00801

Search permission is denied for a component of the path prefix of path.

#define EIDMW_PINPAD_ERR 0xe1d00405

The pinpad reader received a wrong/unknown value.

#define EIDMW_TOO_MANY_OPENED_FILES 0xe1d00803

{OPEN_MAX} file descriptors are currently open in the calling process.

Too many files are currently open in the system.

#define EIDMW_WRONG_ASN1_FORMAT 0xe1d00700

Could not find expected elements in parsed ASN.1 vector.

#define EIDMW_WRONG_PIN_FORMAT 0xe1d00603

A PIN with invalid length or format was entered.