root/middleware-offline/trunk/_src/eidmw/eidlibCS_Wrapper/GeneratedFiles/pteidlib_dotNet.cs @ 5

Revision 5, 8.5 KB (checked in by vsilva, 9 years ago)

Initial comit

Line 
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.35
4 *
5 * Do not make changes to this file unless you know what you are doing--modify
6 * the SWIG interface file instead.
7 * ----------------------------------------------------------------------------- */
8
9namespace be.portugal.eid {
10
11using System;
12using System.Runtime.InteropServices;
13
14public class pteidlib_dotNet {
15  public static void PTEID_LOG(PTEID_LogLevel level, string module_name, string format) {
16    pteidlib_dotNetPINVOKE.PTEID_LOG((int)level, module_name, format);
17    if (pteidlib_dotNetPINVOKE.SWIGPendingException.Pending) throw pteidlib_dotNetPINVOKE.SWIGPendingException.Retrieve();
18  }
19
20  public static readonly int EIDMW_OK = pteidlib_dotNetPINVOKE.EIDMW_OK_get();
21  public static readonly int EIDMW_ERR_PARAM_BAD = pteidlib_dotNetPINVOKE.EIDMW_ERR_PARAM_BAD_get();
22  public static readonly int EIDMW_ERR_PARAM_RANGE = pteidlib_dotNetPINVOKE.EIDMW_ERR_PARAM_RANGE_get();
23  public static readonly int EIDMW_ERR_BAD_PATH = pteidlib_dotNetPINVOKE.EIDMW_ERR_BAD_PATH_get();
24  public static readonly int EIDMW_ERR_ALGO_BAD = pteidlib_dotNetPINVOKE.EIDMW_ERR_ALGO_BAD_get();
25  public static readonly int EIDMW_ERR_PIN_OPERATION = pteidlib_dotNetPINVOKE.EIDMW_ERR_PIN_OPERATION_get();
26  public static readonly int EIDMW_ERR_PIN_FORMAT = pteidlib_dotNetPINVOKE.EIDMW_ERR_PIN_FORMAT_get();
27  public static readonly int EIDMW_ERR_BAD_USAGE = pteidlib_dotNetPINVOKE.EIDMW_ERR_BAD_USAGE_get();
28  public static readonly int EIDMW_ERR_CARD = pteidlib_dotNetPINVOKE.EIDMW_ERR_CARD_get();
29  public static readonly int EIDMW_ERR_NOT_AUTHENTICATED = pteidlib_dotNetPINVOKE.EIDMW_ERR_NOT_AUTHENTICATED_get();
30  public static readonly int EIDMW_ERR_NOT_SUPPORTED = pteidlib_dotNetPINVOKE.EIDMW_ERR_NOT_SUPPORTED_get();
31  public static readonly int EIDMW_ERR_PIN_BAD = pteidlib_dotNetPINVOKE.EIDMW_ERR_PIN_BAD_get();
32  public static readonly int EIDMW_ERR_PIN_BLOCKED = pteidlib_dotNetPINVOKE.EIDMW_ERR_PIN_BLOCKED_get();
33  public static readonly int EIDMW_ERR_NO_CARD = pteidlib_dotNetPINVOKE.EIDMW_ERR_NO_CARD_get();
34  public static readonly int EIDMW_ERR_BAD_P1P2 = pteidlib_dotNetPINVOKE.EIDMW_ERR_BAD_P1P2_get();
35  public static readonly int EIDMW_ERR_CMD_NOT_ALLOWED = pteidlib_dotNetPINVOKE.EIDMW_ERR_CMD_NOT_ALLOWED_get();
36  public static readonly int EIDMW_ERR_FILE_NOT_FOUND = pteidlib_dotNetPINVOKE.EIDMW_ERR_FILE_NOT_FOUND_get();
37  public static readonly int EIDMW_ERR_APPLET_VERSION_NOT_FOUND = pteidlib_dotNetPINVOKE.EIDMW_ERR_APPLET_VERSION_NOT_FOUND_get();
38  public static readonly int EIDMW_ERR_NOT_ACTIVATED = pteidlib_dotNetPINVOKE.EIDMW_ERR_NOT_ACTIVATED_get();
39  public static readonly int EIDMW_ERR_CARD_COMM = pteidlib_dotNetPINVOKE.EIDMW_ERR_CARD_COMM_get();
40  public static readonly int EIDMW_ERR_NO_READER = pteidlib_dotNetPINVOKE.EIDMW_ERR_NO_READER_get();
41  public static readonly int EIDMW_ERR_PINPAD = pteidlib_dotNetPINVOKE.EIDMW_ERR_PINPAD_get();
42  public static readonly int EIDMW_ERR_CANT_CONNECT = pteidlib_dotNetPINVOKE.EIDMW_ERR_CANT_CONNECT_get();
43  public static readonly int EIDMW_ERR_CARD_RESET = pteidlib_dotNetPINVOKE.EIDMW_ERR_CARD_RESET_get();
44  public static readonly int EIDMW_ERR_CARD_SHARING = pteidlib_dotNetPINVOKE.EIDMW_ERR_CARD_SHARING_get();
45  public static readonly int EIDMW_ERR_NOT_TRANSACTED = pteidlib_dotNetPINVOKE.EIDMW_ERR_NOT_TRANSACTED_get();
46  public static readonly int EIDMW_ERR_LIMIT = pteidlib_dotNetPINVOKE.EIDMW_ERR_LIMIT_get();
47  public static readonly int EIDMW_ERR_CHECK = pteidlib_dotNetPINVOKE.EIDMW_ERR_CHECK_get();
48  public static readonly int EIDMW_ERR_PCSC_LIB = pteidlib_dotNetPINVOKE.EIDMW_ERR_PCSC_LIB_get();
49  public static readonly int EIDMW_ERR_ZLIB_RESOLVE = pteidlib_dotNetPINVOKE.EIDMW_ERR_ZLIB_RESOLVE_get();
50  public static readonly int EIDMW_ERR_UNKNOWN = pteidlib_dotNetPINVOKE.EIDMW_ERR_UNKNOWN_get();
51  public static readonly int EIDMW_PINPAD_ERR = pteidlib_dotNetPINVOKE.EIDMW_PINPAD_ERR_get();
52  public static readonly int EIDMW_CANT_LOAD_LIB = pteidlib_dotNetPINVOKE.EIDMW_CANT_LOAD_LIB_get();
53  public static readonly int EIDMW_ERR_MEMORY = pteidlib_dotNetPINVOKE.EIDMW_ERR_MEMORY_get();
54  public static readonly int EIDMW_ERR_DELETE_CACHE = pteidlib_dotNetPINVOKE.EIDMW_ERR_DELETE_CACHE_get();
55  public static readonly int EIDMW_CONF = pteidlib_dotNetPINVOKE.EIDMW_CONF_get();
56  public static readonly int EIDMW_CACHE_TAMPERED = pteidlib_dotNetPINVOKE.EIDMW_CACHE_TAMPERED_get();
57  public static readonly int EIDMW_ERR_SOCKET_CREATE = pteidlib_dotNetPINVOKE.EIDMW_ERR_SOCKET_CREATE_get();
58  public static readonly int EIDMW_ERR_SOCKET_SEND = pteidlib_dotNetPINVOKE.EIDMW_ERR_SOCKET_SEND_get();
59  public static readonly int EIDMW_ERR_SOCKET_RECV = pteidlib_dotNetPINVOKE.EIDMW_ERR_SOCKET_RECV_get();
60  public static readonly int EIDMW_ERR_SOCKET_GETHOST = pteidlib_dotNetPINVOKE.EIDMW_ERR_SOCKET_GETHOST_get();
61  public static readonly int EIDMW_ERR_SOCKET_CONNECT = pteidlib_dotNetPINVOKE.EIDMW_ERR_SOCKET_CONNECT_get();
62  public static readonly int EIDMW_ERR_SOCKET_SOCKET = pteidlib_dotNetPINVOKE.EIDMW_ERR_SOCKET_SOCKET_get();
63  public static readonly int EIDMW_ERR_SOCKET_BIND = pteidlib_dotNetPINVOKE.EIDMW_ERR_SOCKET_BIND_get();
64  public static readonly int EIDMW_ERR_SOCKET_ACCEPT = pteidlib_dotNetPINVOKE.EIDMW_ERR_SOCKET_ACCEPT_get();
65  public static readonly int EIDMW_ERR_PIN_CANCEL = pteidlib_dotNetPINVOKE.EIDMW_ERR_PIN_CANCEL_get();
66  public static readonly int EIDMW_ERR_TIMEOUT = pteidlib_dotNetPINVOKE.EIDMW_ERR_TIMEOUT_get();
67  public static readonly int EIDMW_NEW_PINS_DIFFER = pteidlib_dotNetPINVOKE.EIDMW_NEW_PINS_DIFFER_get();
68  public static readonly int EIDMW_WRONG_PIN_FORMAT = pteidlib_dotNetPINVOKE.EIDMW_WRONG_PIN_FORMAT_get();
69  public static readonly int EIDMW_WRONG_ASN1_FORMAT = pteidlib_dotNetPINVOKE.EIDMW_WRONG_ASN1_FORMAT_get();
70  public static readonly int EIDMW_FILE_NOT_OPENED = pteidlib_dotNetPINVOKE.EIDMW_FILE_NOT_OPENED_get();
71  public static readonly int EIDMW_PERMISSION_DENIED = pteidlib_dotNetPINVOKE.EIDMW_PERMISSION_DENIED_get();
72  public static readonly int EIDMW_INVALID_PATH = pteidlib_dotNetPINVOKE.EIDMW_INVALID_PATH_get();
73  public static readonly int EIDMW_TOO_MANY_OPENED_FILES = pteidlib_dotNetPINVOKE.EIDMW_TOO_MANY_OPENED_FILES_get();
74  public static readonly int EIDMW_DIR_NOT_OPENED = pteidlib_dotNetPINVOKE.EIDMW_DIR_NOT_OPENED_get();
75  public static readonly int EIDMW_INTERRUPTION = pteidlib_dotNetPINVOKE.EIDMW_INTERRUPTION_get();
76  public static readonly int EIDMW_OVERFLOW = pteidlib_dotNetPINVOKE.EIDMW_OVERFLOW_get();
77  public static readonly int EIDMW_ERROR_IO = pteidlib_dotNetPINVOKE.EIDMW_ERROR_IO_get();
78  public static readonly int EIDMW_ERR_LOGGER_APPLEAVING = pteidlib_dotNetPINVOKE.EIDMW_ERR_LOGGER_APPLEAVING_get();
79  public static readonly int EIDMW_ERR_DOCTYPE_UNKNOWN = pteidlib_dotNetPINVOKE.EIDMW_ERR_DOCTYPE_UNKNOWN_get();
80  public static readonly int EIDMW_ERR_CARDTYPE_BAD = pteidlib_dotNetPINVOKE.EIDMW_ERR_CARDTYPE_BAD_get();
81  public static readonly int EIDMW_ERR_CARDTYPE_UNKNOWN = pteidlib_dotNetPINVOKE.EIDMW_ERR_CARDTYPE_UNKNOWN_get();
82  public static readonly int EIDMW_ERR_CERT_NOISSUER = pteidlib_dotNetPINVOKE.EIDMW_ERR_CERT_NOISSUER_get();
83  public static readonly int EIDMW_ERR_RELEASE_NEEDED = pteidlib_dotNetPINVOKE.EIDMW_ERR_RELEASE_NEEDED_get();
84  public static readonly int EIDMW_ERR_BAD_TRANSACTION = pteidlib_dotNetPINVOKE.EIDMW_ERR_BAD_TRANSACTION_get();
85  public static readonly int EIDMW_ERR_FILETYPE_UNKNOWN = pteidlib_dotNetPINVOKE.EIDMW_ERR_FILETYPE_UNKNOWN_get();
86  public static readonly int EIDMW_ERR_CARD_CHANGED = pteidlib_dotNetPINVOKE.EIDMW_ERR_CARD_CHANGED_get();
87  public static readonly int EIDMW_ERR_READERSET_CHANGED = pteidlib_dotNetPINVOKE.EIDMW_ERR_READERSET_CHANGED_get();
88  public static readonly int EIDMW_ERR_NOT_ALLOW_BY_USER = pteidlib_dotNetPINVOKE.EIDMW_ERR_NOT_ALLOW_BY_USER_get();
89  public static readonly int EIDMW_ERR_CERT_NOCRL = pteidlib_dotNetPINVOKE.EIDMW_ERR_CERT_NOCRL_get();
90  public static readonly int EIDMW_ERR_CERT_NOOCSP = pteidlib_dotNetPINVOKE.EIDMW_ERR_CERT_NOOCSP_get();
91  public static readonly int EIDMW_ERR_CERT_NOROOT = pteidlib_dotNetPINVOKE.EIDMW_ERR_CERT_NOROOT_get();
92  public static readonly int EIDMW_ERR_USER_MUST_ANSWER = pteidlib_dotNetPINVOKE.EIDMW_ERR_USER_MUST_ANSWER_get();
93  public static readonly int EIDMW_ERR_SYSTEM = pteidlib_dotNetPINVOKE.EIDMW_ERR_SYSTEM_get();
94  public static readonly int EIDMW_ERR_SIGNAL = pteidlib_dotNetPINVOKE.EIDMW_ERR_SIGNAL_get();
95}
96
97}
Note: See TracBrowser for help on using the browser.