Eneboo - Documentación para desarrolladores
|
00001 // MsspGwCheck.h 00002 #ifndef __MSSP_ERRORS__ 00003 #define __MSSP_ERRORS__ 00004 00005 #define REQUEST_OK 100 00006 #define REQUEST_OK_DESC "MSSP Request OK" 00007 #define REQUEST_OK_CODE "REQUEST_OK" 00008 #define WRONG_PARAM 101 00009 #define WRONG_PARAM_DESC "Error among the arguments of the request" 00010 #define MISSING_PARAM 102 00011 #define MISSING_PARAM_DESC "An argument in the request is missing" 00012 #define WRONG_DATA_LENGTH 103 00013 #define WRONG_DATA_LENGTH_DESC "The DataToBeSigned are too large. Limitations are due to the Mobile Signature technology implemented by the MSSP" 00014 #define UNAUTHORIZED_ACCESS 104 00015 #define UNAUTHORIZED_ACCESS_DESC "The AP is unknown or the password is wrong or the AP asks for an additional service for which it has not subscribed" 00016 #define UNKNOWN_CLIENT 105 00017 #define UNKNOWN_CLIENT_DESC "The enduser targeted by the AP is unknown from the MSSP" 00018 #define HANDSHAKE_REQUIRED 106 00019 #define HANDSHAKE_REQUIRED_DESC "The MSSP wants prior to negotiate with the AP the use of XML signatures in the messages" 00020 #define INAPPROPRIATE_DATA 107 00021 #define INAPPROPRIATE_DATA_DESC "MSSP cannot handle given MIME Type or encoding style of the DataToBeSigned or DataToBeDisplayed" 00022 #define INCOMPATIBLE_INTERFACE 108 00023 #define INCOMPATIBLE_INTERFACE_DESC "the minor version and/or major version parameters are inappropriate for the receiver of the message" 00024 #define UNSUPPORTED_PROFILE 109 00025 #define UNSUPPORTED_PROFILE_DESC "The AP has specified a Mobile Signature Profile that the MSSP does not support" 00026 #define EXPIRED_TRANSACTION 208 00027 #define EXPIRED_TRANSACTION_DESC "Transaction Expiry date has been reached or Time out has elapsed" 00028 #define EXPIRED_TRANSACTION_CODE "EXPIRED_TRANSACTION" 00029 #define OTA_ERROR 209 00030 #define OTA_ERROR_DESC "The MSSP has not succeeded to contact the enduser's mobile equipment (Bad connection…)" 00031 #define USER_CANCEL 401 00032 #define USER_CANCEL_CODE "USER_CANCEL" 00033 #define USER_CANCEL_DESC "The client has cancelled the transaction" 00034 #define PIN_NR_BLOCKED 402 00035 #define PIN_NR_BLOCKED_DESC "PIN-NR is blocked" 00036 #define CARD_BLOCKED 403 00037 #define CARD_BLOCKED_DESC "Card is blocked" 00038 #define NO_KEY_FOUND 404 00039 #define NO_KEY_FOUND_DESC "No key found!" 00040 #define NO_URL_FOUND 405 00041 #define NO_URL_FOUND_DESC "No URL found" 00042 #define PB_SIGNATURE_PROCESS 406 00043 #define PB_SIGNATURE_PROCESS_DESC "Error during the Mobile Signature process on the Mobile equipment" 00044 #define REGISTRATION_NOK 407 00045 #define REGISTRATION_NOK_DESC "Registration not OK" 00046 #define NO_CERT_FOUND 422 00047 #define NO_CERT_FOUND_DESC "No certificate has been found for this msisdn" 00048 #define CRL_PB 423 00049 #define CRL_PB_DESC "CRL PB" 00050 #define CRL_EXPIRED 424 00051 #define CRL_EXPIRED_DESC "CRL expired" 00052 #define ERROR_CERTIFICATE 425 00053 #define ERROR_CERTIFICATE_DESC "Error during the Certificate verification. The platform does not assume if the certificate is revoked or not" 00054 #define INTERNAL_ERROR 900 00055 #define INTERNAL_ERROR_CODE "INTERNAL_ERROR" 00056 #define INTERNAL_ERROR_DESC "Unknown Error" 00057 00058 #define USER_SIGN 400 00059 #define USER_SIGN_CODE "USER_SIGN" 00060 #define USER_SIGN_DESC "The enduser has received the Mobile Signature request on his Mobile equipment" 00061 #define REGISTRATION_OK 408 00062 #define REGISTRATION_OK_CODE "REGISTRATION_OK" 00063 #define REGISTRATION_OK_DESC "" 00064 #define SIGNATURE 500 00065 #define SIGNATURE_CODE "SIGNATURE" 00066 #define SIGNATURE_DESC "A Mobile Signature has been successfully constructed and is available" 00067 #define REVOKED_CERTIFICATE 501 00068 #define REVOKED_CERTIFICATE_CODE "REVOKED_CERTIFICATE" 00069 #define REVOKED_CERTIFICATE_DESC "A Mobile Signature has been successfully constructed. But, the signer's certificate is revoked" 00070 #define VALID_SIGNATURE 502 00071 #define VALID_SIGNATURE_CODE "VALID_SIGNATURE" 00072 #define VALID_SIGNATURE_DESC "A Mobile Signature has been successfully constructed and the signature is valid" 00073 #define INVALID_SIGNATURE 503 00074 #define INVALID_SIGNATURE_CODE "INVALID_SIGNATURE" 00075 #define INVALID_SIGNATURE_DESC "An XML Signature has been successfully constructed and the signature is not valid" 00076 #define SIGNATURE_INVALID_DESC "Received signature was not a valid RSA-SHA1 signature" 00077 #define OUTSTANDING_TRANSACTION 504 00078 #define OUTSTANDING_TRANSACTION_CODE "OUTSTANDING_TRANSACTION" 00079 #define OUTSTANDING_TRANSACTION_DESC "Transaction is not complete. Must call again later" 00080 #define RET_OK_PUSH 600 00081 #define RET_OK_PUSH_DESC "OK with PUSH confirmation The message has been received and is going to be processed. A confirmation must be sent to the enduser (text SMS)" 00082 #define RET_OK_NOPUSH 601 00083 #define RET_OK_NOPUSH_DESC "OK without PUSH confirmation The message has been received and is going to be processed. No confirmation to the enduser" 00084 #define RET_NOK_PUSH 602 00085 #define RET_NOK_PUSH_DESC "NOK with PUSH Information Problem when receiving the message. Information must be sent to the enduser" 00086 #define RET_NOK_NOPUSH 603 00087 #define RET_NOK_NOPUSH_DESC "NOK without PUSH information Problem when receiving the message. No Information sent to the enduser" 00088 00089 00090 #endif // __MSSP_ERRORS__