Logo Search packages:      
Sourcecode: beid version File versions  Download package

eidlibCS_Wrapper.cpp

/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 1.3.35
 * 
 * This file is not intended to be easily readable and contains a number of 
 * coding conventions designed to improve portability and efficiency. Do not make
 * changes to this file unless you know what you are doing--modify the SWIG 
 * interface file instead. 
 * ----------------------------------------------------------------------------- */


#ifdef __cplusplus
template<typename T> class SwigValueWrapper {
    T *tt;
public:
    SwigValueWrapper() : tt(0) { }
    SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
    SwigValueWrapper(const T& t) : tt(new T(t)) { }
    ~SwigValueWrapper() { delete tt; } 
    SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
    operator T&() const { return *tt; }
    T *operator&() { return tt; }
private:
    SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
};

template <typename T> T SwigValueInit() {
  return T();
}
#endif

/* -----------------------------------------------------------------------------
 *  This section contains generic SWIG labels for method/variable
 *  declarations/attributes, and other compiler dependent labels.
 * ----------------------------------------------------------------------------- */

/* template workaround for compilers that cannot correctly implement the C++ standard */
#ifndef SWIGTEMPLATEDISAMBIGUATOR
# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
#  define SWIGTEMPLATEDISAMBIGUATOR template
# elif defined(__HP_aCC)
/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
#  define SWIGTEMPLATEDISAMBIGUATOR template
# else
#  define SWIGTEMPLATEDISAMBIGUATOR
# endif
#endif

/* inline attribute */
#ifndef SWIGINLINE
# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
#   define SWIGINLINE inline
# else
#   define SWIGINLINE
# endif
#endif

/* attribute recognised by some compilers to avoid 'unused' warnings */
#ifndef SWIGUNUSED
# if defined(__GNUC__)
#   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
#     define SWIGUNUSED __attribute__ ((__unused__)) 
#   else
#     define SWIGUNUSED
#   endif
# elif defined(__ICC)
#   define SWIGUNUSED __attribute__ ((__unused__)) 
# else
#   define SWIGUNUSED 
# endif
#endif

#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
#   define SWIGUNUSEDPARM(p)
# else
#   define SWIGUNUSEDPARM(p) p SWIGUNUSED 
# endif
#endif

/* internal SWIG method */
#ifndef SWIGINTERN
# define SWIGINTERN static SWIGUNUSED
#endif

/* internal inline SWIG method */
#ifndef SWIGINTERNINLINE
# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
#endif

/* exporting methods */
#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
#  ifndef GCC_HASCLASSVISIBILITY
#    define GCC_HASCLASSVISIBILITY
#  endif
#endif

#ifndef SWIGEXPORT
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
#   if defined(STATIC_LINKED)
#     define SWIGEXPORT
#   else
#     define SWIGEXPORT __declspec(dllexport)
#   endif
# else
#   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
#     define SWIGEXPORT __attribute__ ((visibility("default")))
#   else
#     define SWIGEXPORT
#   endif
# endif
#endif

/* calling conventions for Windows */
#ifndef SWIGSTDCALL
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
#   define SWIGSTDCALL __stdcall
# else
#   define SWIGSTDCALL
# endif 
#endif

/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
# define _CRT_SECURE_NO_DEPRECATE
#endif

/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
# define _SCL_SECURE_NO_DEPRECATE
#endif



#include <stdlib.h>
#include <string.h>
#include <stdio.h>


/* Support for throwing C# exceptions from C/C++. There are two types: 
 * Exceptions that take a message and ArgumentExceptions that take a message and a parameter name. */
typedef enum {
  SWIG_CSharpApplicationException,
  SWIG_CSharpArithmeticException,
  SWIG_CSharpDivideByZeroException,
  SWIG_CSharpIndexOutOfRangeException,
  SWIG_CSharpInvalidCastException,
  SWIG_CSharpInvalidOperationException,
  SWIG_CSharpIOException,
  SWIG_CSharpNullReferenceException,
  SWIG_CSharpOutOfMemoryException,
  SWIG_CSharpOverflowException,
  SWIG_CSharpSystemException
} SWIG_CSharpExceptionCodes;

typedef enum {
  SWIG_CSharpArgumentException,
  SWIG_CSharpArgumentNullException,
  SWIG_CSharpArgumentOutOfRangeException
} SWIG_CSharpExceptionArgumentCodes;

typedef void (SWIGSTDCALL* SWIG_CSharpExceptionCallback_t)(const char *);
typedef void (SWIGSTDCALL* SWIG_CSharpExceptionArgumentCallback_t)(const char *, const char *);

typedef struct {
  SWIG_CSharpExceptionCodes code;
  SWIG_CSharpExceptionCallback_t callback;
} SWIG_CSharpException_t;

typedef struct {
  SWIG_CSharpExceptionArgumentCodes code;
  SWIG_CSharpExceptionArgumentCallback_t callback;
} SWIG_CSharpExceptionArgument_t;

static SWIG_CSharpException_t SWIG_csharp_exceptions[] = {
  { SWIG_CSharpApplicationException, NULL },
  { SWIG_CSharpArithmeticException, NULL },
  { SWIG_CSharpDivideByZeroException, NULL },
  { SWIG_CSharpIndexOutOfRangeException, NULL },
  { SWIG_CSharpInvalidCastException, NULL },
  { SWIG_CSharpInvalidOperationException, NULL },
  { SWIG_CSharpIOException, NULL },
  { SWIG_CSharpNullReferenceException, NULL },
  { SWIG_CSharpOutOfMemoryException, NULL },
  { SWIG_CSharpOverflowException, NULL },
  { SWIG_CSharpSystemException, NULL }
};

static SWIG_CSharpExceptionArgument_t SWIG_csharp_exceptions_argument[] = {
  { SWIG_CSharpArgumentException, NULL },
  { SWIG_CSharpArgumentNullException, NULL },
  { SWIG_CSharpArgumentOutOfRangeException, NULL },
};

static void SWIGUNUSED SWIG_CSharpSetPendingException(SWIG_CSharpExceptionCodes code, const char *msg) {
  SWIG_CSharpExceptionCallback_t callback = SWIG_csharp_exceptions[SWIG_CSharpApplicationException].callback;
  if (code >=0 && (size_t)code < sizeof(SWIG_csharp_exceptions)/sizeof(SWIG_CSharpException_t)) {
    callback = SWIG_csharp_exceptions[code].callback;
  }
  callback(msg);
}

static void SWIGUNUSED SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpExceptionArgumentCodes code, const char *msg, const char *param_name) {
  SWIG_CSharpExceptionArgumentCallback_t callback = SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentException].callback;
  if (code >=0 && (size_t)code < sizeof(SWIG_csharp_exceptions_argument)/sizeof(SWIG_CSharpExceptionArgument_t)) {
    callback = SWIG_csharp_exceptions_argument[code].callback;
  }
  callback(msg, param_name);
}


#ifdef __cplusplus
extern "C" 
#endif
SWIGEXPORT void SWIGSTDCALL SWIGRegisterExceptionCallbacks_beidlib_dotNet(
                                                SWIG_CSharpExceptionCallback_t applicationCallback,
                                                SWIG_CSharpExceptionCallback_t arithmeticCallback,
                                                SWIG_CSharpExceptionCallback_t divideByZeroCallback, 
                                                SWIG_CSharpExceptionCallback_t indexOutOfRangeCallback, 
                                                SWIG_CSharpExceptionCallback_t invalidCastCallback,
                                                SWIG_CSharpExceptionCallback_t invalidOperationCallback,
                                                SWIG_CSharpExceptionCallback_t ioCallback,
                                                SWIG_CSharpExceptionCallback_t nullReferenceCallback,
                                                SWIG_CSharpExceptionCallback_t outOfMemoryCallback, 
                                                SWIG_CSharpExceptionCallback_t overflowCallback, 
                                                SWIG_CSharpExceptionCallback_t systemCallback) {
  SWIG_csharp_exceptions[SWIG_CSharpApplicationException].callback = applicationCallback;
  SWIG_csharp_exceptions[SWIG_CSharpArithmeticException].callback = arithmeticCallback;
  SWIG_csharp_exceptions[SWIG_CSharpDivideByZeroException].callback = divideByZeroCallback;
  SWIG_csharp_exceptions[SWIG_CSharpIndexOutOfRangeException].callback = indexOutOfRangeCallback;
  SWIG_csharp_exceptions[SWIG_CSharpInvalidCastException].callback = invalidCastCallback;
  SWIG_csharp_exceptions[SWIG_CSharpInvalidOperationException].callback = invalidOperationCallback;
  SWIG_csharp_exceptions[SWIG_CSharpIOException].callback = ioCallback;
  SWIG_csharp_exceptions[SWIG_CSharpNullReferenceException].callback = nullReferenceCallback;
  SWIG_csharp_exceptions[SWIG_CSharpOutOfMemoryException].callback = outOfMemoryCallback;
  SWIG_csharp_exceptions[SWIG_CSharpOverflowException].callback = overflowCallback;
  SWIG_csharp_exceptions[SWIG_CSharpSystemException].callback = systemCallback;
}

#ifdef __cplusplus
extern "C" 
#endif
SWIGEXPORT void SWIGSTDCALL SWIGRegisterExceptionArgumentCallbacks_beidlib_dotNet(
                                                SWIG_CSharpExceptionArgumentCallback_t argumentCallback,
                                                SWIG_CSharpExceptionArgumentCallback_t argumentNullCallback,
                                                SWIG_CSharpExceptionArgumentCallback_t argumentOutOfRangeCallback) {
  SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentException].callback = argumentCallback;
  SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentNullException].callback = argumentNullCallback;
  SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentOutOfRangeException].callback = argumentOutOfRangeCallback;
}


/* Callback for returning strings to C# without leaking memory */
typedef char * (SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char *);
static SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback = NULL;


#ifdef __cplusplus
extern "C" 
#endif
SWIGEXPORT void SWIGSTDCALL SWIGRegisterStringCallback_beidlib_dotNet(SWIG_CSharpStringHelperCallback callback) {
  SWIG_csharp_string_callback = callback;
}


/* Contract support */

#define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, msg, ""); return nullreturn; } else


#include "eidlib.h"
#include "eidlibException.h"


      // Code to handle throwing of C# CustomApplicationException from C/C++ code.
      // The equivalent delegate to the callback, CSharpExceptionCallback_t, is CustomExceptionDelegate
      // and the equivalent customExceptionCallback instance is customDelegate
      typedef void (SWIGSTDCALL* CSharpExceptionCallback_t)(long);
      CSharpExceptionCallback_t customExceptionCallback = NULL;

      extern "C" SWIGEXPORT
      void SWIGSTDCALL CustomExceptionRegisterCallback(CSharpExceptionCallback_t customCallback) 
      {
            customExceptionCallback = customCallback;
      }

      // Note that SWIG detects any method calls named starting with
      // SWIG_CSharpSetPendingException for warning 845
      static void SWIG_CSharpSetPendingExceptionCustom(long code) 
      {
            customExceptionCallback(code);
      }


typedef void * (SWIGSTDCALL* CUSTOM_CSharpStringArrayHelperCallback)(void *, long);
static CUSTOM_CSharpStringArrayHelperCallback CUSTOM_CSharpStringArrayCallback = NULL;

extern "C" SWIGEXPORT
void SWIGSTDCALL CUSTOM_RegisterStringArrayCallback(CUSTOM_CSharpStringArrayHelperCallback callback) 
{
  CUSTOM_CSharpStringArrayCallback = callback;
}


typedef void (SWIGSTDCALL* CUSTOM_CSharpSetEventHelperCallback)(long, unsigned long, void *);
static CUSTOM_CSharpSetEventHelperCallback CUSTOM_CSharpSetEventCallback = NULL;

extern "C" SWIGEXPORT
void SWIGSTDCALL CUSTOM_RegisterSetEventCallback(CUSTOM_CSharpSetEventHelperCallback callback) 
{
  CUSTOM_CSharpSetEventCallback = callback;
}

//This is the function registered to the lower level callback for every SetEventCallback
void SetEventCallback_WrapperCpp(long lRet, unsigned long ulState, void *pvRef)
{
      //The goal is just to call the SetEventCallback_WrapperCSharp with the correct parameter
      CUSTOM_CSharpSetEventCallback(lRet,ulState,pvRef);
}


#ifdef __cplusplus
extern "C" {
#endif

SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_OK_get() {
  int jresult ;
  int result;
  
  result = (int) 0;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_PARAM_BAD_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00100;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_PARAM_RANGE_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00101;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_BAD_PATH_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00102;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_ALGO_BAD_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00103;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_PIN_OPERATION_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00104;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_PIN_FORMAT_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00105;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_BAD_USAGE_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00106;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_CARD_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00200;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_NOT_AUTHENTICATED_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00201;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_NOT_SUPPORTED_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00202;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_PIN_BAD_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00203;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_PIN_BLOCKED_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00204;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_NO_CARD_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00205;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_BAD_P1P2_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00206;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_CMD_NOT_ALLOWED_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00207;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_FILE_NOT_FOUND_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00208;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_APPLET_VERSION_NOT_FOUND_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00209;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_NOT_ACTIVATED_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d0020A;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_CARD_COMM_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00300;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_NO_READER_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00301;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_PINPAD_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00302;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_CANT_CONNECT_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00303;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_CARD_RESET_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00304;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_CARD_SHARING_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00305;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_NOT_TRANSACTED_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00306;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_LIMIT_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00400;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_CHECK_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00401;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_PCSC_LIB_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00402;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_ZLIB_RESOLVE_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00403;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_UNKNOWN_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00404;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_PINPAD_ERR_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00405;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_CANT_LOAD_LIB_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00406;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_MEMORY_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00407;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_DELETE_CACHE_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00408;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_CONF_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00409;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_CACHE_TAMPERED_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d0040A;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_SOCKET_CREATE_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00500;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_SOCKET_SEND_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00501;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_SOCKET_RECV_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00502;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_SOCKET_GETHOST_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00503;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_SOCKET_CONNECT_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00504;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_SOCKET_SOCKET_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00510;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_SOCKET_BIND_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00511;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_SOCKET_ACCEPT_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00512;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_PIN_CANCEL_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00600;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_TIMEOUT_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00601;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_NEW_PINS_DIFFER_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00602;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_WRONG_PIN_FORMAT_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00603;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_WRONG_ASN1_FORMAT_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00700;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_FILE_NOT_OPENED_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00800;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_PERMISSION_DENIED_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00801;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_INVALID_PATH_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00802;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_TOO_MANY_OPENED_FILES_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00803;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_DIR_NOT_OPENED_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00804;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_INTERRUPTION_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00805;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_OVERFLOW_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00806;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERROR_IO_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00807;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_LOGGER_APPLEAVING_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00900;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_DOCTYPE_UNKNOWN_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00b00;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_CARDTYPE_BAD_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00b01;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_CARDTYPE_UNKNOWN_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00b02;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_CERT_NOISSUER_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00b03;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_RELEASE_NEEDED_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00b04;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_BAD_TRANSACTION_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00b05;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_FILETYPE_UNKNOWN_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00b06;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_CARD_CHANGED_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00b07;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_READERSET_CHANGED_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00b08;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_NOT_ALLOW_BY_USER_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00b09;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_CERT_NOCRL_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00b0A;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_CERT_NOOCSP_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00b0B;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_CERT_NOROOT_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00b0C;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_USER_MUST_ANSWER_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00b0D;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_SYSTEM_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00c01;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_EIDMW_ERR_SIGNAL_get() {
  int jresult ;
  int result;
  
  result = (int) 0xe1d00c02;
  
  jresult = result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_Exception(long jarg1) {
  void * jresult ;
  long arg1 ;
  eIDMW::BEID_Exception *result = 0 ;
  
  arg1 = (long)jarg1; 
  result = (eIDMW::BEID_Exception *)new eIDMW::BEID_Exception(arg1);
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_Exception(void * jarg1) {
  eIDMW::BEID_Exception *arg1 = (eIDMW::BEID_Exception *) 0 ;
  
  arg1 = (eIDMW::BEID_Exception *)jarg1; 
  delete arg1;
  
}


SWIGEXPORT long SWIGSTDCALL CSharp_BEID_Exception_GetError(void * jarg1) {
  long jresult ;
  eIDMW::BEID_Exception *arg1 = (eIDMW::BEID_Exception *) 0 ;
  long result;
  
  arg1 = (eIDMW::BEID_Exception *)jarg1; 
  result = (long)((eIDMW::BEID_Exception const *)arg1)->GetError();
  jresult = result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_ExReleaseNeeded() {
  void * jresult ;
  eIDMW::BEID_ExReleaseNeeded *result = 0 ;
  
  result = (eIDMW::BEID_ExReleaseNeeded *)new eIDMW::BEID_ExReleaseNeeded();
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_ExReleaseNeeded(void * jarg1) {
  eIDMW::BEID_ExReleaseNeeded *arg1 = (eIDMW::BEID_ExReleaseNeeded *) 0 ;
  
  arg1 = (eIDMW::BEID_ExReleaseNeeded *)jarg1; 
  delete arg1;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_ExUnknown() {
  void * jresult ;
  eIDMW::BEID_ExUnknown *result = 0 ;
  
  result = (eIDMW::BEID_ExUnknown *)new eIDMW::BEID_ExUnknown();
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_ExUnknown(void * jarg1) {
  eIDMW::BEID_ExUnknown *arg1 = (eIDMW::BEID_ExUnknown *) 0 ;
  
  arg1 = (eIDMW::BEID_ExUnknown *)jarg1; 
  delete arg1;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_ExDocTypeUnknown() {
  void * jresult ;
  eIDMW::BEID_ExDocTypeUnknown *result = 0 ;
  
  result = (eIDMW::BEID_ExDocTypeUnknown *)new eIDMW::BEID_ExDocTypeUnknown();
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_ExDocTypeUnknown(void * jarg1) {
  eIDMW::BEID_ExDocTypeUnknown *arg1 = (eIDMW::BEID_ExDocTypeUnknown *) 0 ;
  
  arg1 = (eIDMW::BEID_ExDocTypeUnknown *)jarg1; 
  delete arg1;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_ExFileTypeUnknown() {
  void * jresult ;
  eIDMW::BEID_ExFileTypeUnknown *result = 0 ;
  
  result = (eIDMW::BEID_ExFileTypeUnknown *)new eIDMW::BEID_ExFileTypeUnknown();
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_ExFileTypeUnknown(void * jarg1) {
  eIDMW::BEID_ExFileTypeUnknown *arg1 = (eIDMW::BEID_ExFileTypeUnknown *) 0 ;
  
  arg1 = (eIDMW::BEID_ExFileTypeUnknown *)jarg1; 
  delete arg1;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_ExParamRange() {
  void * jresult ;
  eIDMW::BEID_ExParamRange *result = 0 ;
  
  result = (eIDMW::BEID_ExParamRange *)new eIDMW::BEID_ExParamRange();
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_ExParamRange(void * jarg1) {
  eIDMW::BEID_ExParamRange *arg1 = (eIDMW::BEID_ExParamRange *) 0 ;
  
  arg1 = (eIDMW::BEID_ExParamRange *)jarg1; 
  delete arg1;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_ExCmdNotAllowed() {
  void * jresult ;
  eIDMW::BEID_ExCmdNotAllowed *result = 0 ;
  
  result = (eIDMW::BEID_ExCmdNotAllowed *)new eIDMW::BEID_ExCmdNotAllowed();
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_ExCmdNotAllowed(void * jarg1) {
  eIDMW::BEID_ExCmdNotAllowed *arg1 = (eIDMW::BEID_ExCmdNotAllowed *) 0 ;
  
  arg1 = (eIDMW::BEID_ExCmdNotAllowed *)jarg1; 
  delete arg1;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_ExCmdNotSupported() {
  void * jresult ;
  eIDMW::BEID_ExCmdNotSupported *result = 0 ;
  
  result = (eIDMW::BEID_ExCmdNotSupported *)new eIDMW::BEID_ExCmdNotSupported();
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_ExCmdNotSupported(void * jarg1) {
  eIDMW::BEID_ExCmdNotSupported *arg1 = (eIDMW::BEID_ExCmdNotSupported *) 0 ;
  
  arg1 = (eIDMW::BEID_ExCmdNotSupported *)jarg1; 
  delete arg1;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_ExNoCardPresent() {
  void * jresult ;
  eIDMW::BEID_ExNoCardPresent *result = 0 ;
  
  result = (eIDMW::BEID_ExNoCardPresent *)new eIDMW::BEID_ExNoCardPresent();
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_ExNoCardPresent(void * jarg1) {
  eIDMW::BEID_ExNoCardPresent *arg1 = (eIDMW::BEID_ExNoCardPresent *) 0 ;
  
  arg1 = (eIDMW::BEID_ExNoCardPresent *)jarg1; 
  delete arg1;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_ExCardBadType() {
  void * jresult ;
  eIDMW::BEID_ExCardBadType *result = 0 ;
  
  result = (eIDMW::BEID_ExCardBadType *)new eIDMW::BEID_ExCardBadType();
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_ExCardBadType(void * jarg1) {
  eIDMW::BEID_ExCardBadType *arg1 = (eIDMW::BEID_ExCardBadType *) 0 ;
  
  arg1 = (eIDMW::BEID_ExCardBadType *)jarg1; 
  delete arg1;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_ExCardTypeUnknown() {
  void * jresult ;
  eIDMW::BEID_ExCardTypeUnknown *result = 0 ;
  
  result = (eIDMW::BEID_ExCardTypeUnknown *)new eIDMW::BEID_ExCardTypeUnknown();
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_ExCardTypeUnknown(void * jarg1) {
  eIDMW::BEID_ExCardTypeUnknown *arg1 = (eIDMW::BEID_ExCardTypeUnknown *) 0 ;
  
  arg1 = (eIDMW::BEID_ExCardTypeUnknown *)jarg1; 
  delete arg1;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_ExCertNoIssuer() {
  void * jresult ;
  eIDMW::BEID_ExCertNoIssuer *result = 0 ;
  
  result = (eIDMW::BEID_ExCertNoIssuer *)new eIDMW::BEID_ExCertNoIssuer();
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_ExCertNoIssuer(void * jarg1) {
  eIDMW::BEID_ExCertNoIssuer *arg1 = (eIDMW::BEID_ExCertNoIssuer *) 0 ;
  
  arg1 = (eIDMW::BEID_ExCertNoIssuer *)jarg1; 
  delete arg1;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_ExCertNoCrl() {
  void * jresult ;
  eIDMW::BEID_ExCertNoCrl *result = 0 ;
  
  result = (eIDMW::BEID_ExCertNoCrl *)new eIDMW::BEID_ExCertNoCrl();
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_ExCertNoCrl(void * jarg1) {
  eIDMW::BEID_ExCertNoCrl *arg1 = (eIDMW::BEID_ExCertNoCrl *) 0 ;
  
  arg1 = (eIDMW::BEID_ExCertNoCrl *)jarg1; 
  delete arg1;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_ExCertNoOcsp() {
  void * jresult ;
  eIDMW::BEID_ExCertNoOcsp *result = 0 ;
  
  result = (eIDMW::BEID_ExCertNoOcsp *)new eIDMW::BEID_ExCertNoOcsp();
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_ExCertNoOcsp(void * jarg1) {
  eIDMW::BEID_ExCertNoOcsp *arg1 = (eIDMW::BEID_ExCertNoOcsp *) 0 ;
  
  arg1 = (eIDMW::BEID_ExCertNoOcsp *)jarg1; 
  delete arg1;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_ExCertNoRoot() {
  void * jresult ;
  eIDMW::BEID_ExCertNoRoot *result = 0 ;
  
  result = (eIDMW::BEID_ExCertNoRoot *)new eIDMW::BEID_ExCertNoRoot();
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_ExCertNoRoot(void * jarg1) {
  eIDMW::BEID_ExCertNoRoot *arg1 = (eIDMW::BEID_ExCertNoRoot *) 0 ;
  
  arg1 = (eIDMW::BEID_ExCertNoRoot *)jarg1; 
  delete arg1;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_ExBadUsage() {
  void * jresult ;
  eIDMW::BEID_ExBadUsage *result = 0 ;
  
  result = (eIDMW::BEID_ExBadUsage *)new eIDMW::BEID_ExBadUsage();
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_ExBadUsage(void * jarg1) {
  eIDMW::BEID_ExBadUsage *arg1 = (eIDMW::BEID_ExBadUsage *) 0 ;
  
  arg1 = (eIDMW::BEID_ExBadUsage *)jarg1; 
  delete arg1;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_ExBadTransaction() {
  void * jresult ;
  eIDMW::BEID_ExBadTransaction *result = 0 ;
  
  result = (eIDMW::BEID_ExBadTransaction *)new eIDMW::BEID_ExBadTransaction();
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_ExBadTransaction(void * jarg1) {
  eIDMW::BEID_ExBadTransaction *arg1 = (eIDMW::BEID_ExBadTransaction *) 0 ;
  
  arg1 = (eIDMW::BEID_ExBadTransaction *)jarg1; 
  delete arg1;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_ExCardChanged() {
  void * jresult ;
  eIDMW::BEID_ExCardChanged *result = 0 ;
  
  result = (eIDMW::BEID_ExCardChanged *)new eIDMW::BEID_ExCardChanged();
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_ExCardChanged(void * jarg1) {
  eIDMW::BEID_ExCardChanged *arg1 = (eIDMW::BEID_ExCardChanged *) 0 ;
  
  arg1 = (eIDMW::BEID_ExCardChanged *)jarg1; 
  delete arg1;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_ExReaderSetChanged() {
  void * jresult ;
  eIDMW::BEID_ExReaderSetChanged *result = 0 ;
  
  result = (eIDMW::BEID_ExReaderSetChanged *)new eIDMW::BEID_ExReaderSetChanged();
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_ExReaderSetChanged(void * jarg1) {
  eIDMW::BEID_ExReaderSetChanged *arg1 = (eIDMW::BEID_ExReaderSetChanged *) 0 ;
  
  arg1 = (eIDMW::BEID_ExReaderSetChanged *)jarg1; 
  delete arg1;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_ExNoReader() {
  void * jresult ;
  eIDMW::BEID_ExNoReader *result = 0 ;
  
  result = (eIDMW::BEID_ExNoReader *)new eIDMW::BEID_ExNoReader();
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_ExNoReader(void * jarg1) {
  eIDMW::BEID_ExNoReader *arg1 = (eIDMW::BEID_ExNoReader *) 0 ;
  
  arg1 = (eIDMW::BEID_ExNoReader *)jarg1; 
  delete arg1;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_ExNotAllowByUser() {
  void * jresult ;
  eIDMW::BEID_ExNotAllowByUser *result = 0 ;
  
  result = (eIDMW::BEID_ExNotAllowByUser *)new eIDMW::BEID_ExNotAllowByUser();
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_ExNotAllowByUser(void * jarg1) {
  eIDMW::BEID_ExNotAllowByUser *arg1 = (eIDMW::BEID_ExNotAllowByUser *) 0 ;
  
  arg1 = (eIDMW::BEID_ExNotAllowByUser *)jarg1; 
  delete arg1;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_ExUserMustAnswer() {
  void * jresult ;
  eIDMW::BEID_ExUserMustAnswer *result = 0 ;
  
  result = (eIDMW::BEID_ExUserMustAnswer *)new eIDMW::BEID_ExUserMustAnswer();
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_ExUserMustAnswer(void * jarg1) {
  eIDMW::BEID_ExUserMustAnswer *arg1 = (eIDMW::BEID_ExUserMustAnswer *) 0 ;
  
  arg1 = (eIDMW::BEID_ExUserMustAnswer *)jarg1; 
  delete arg1;
  
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_Object(void * jarg1) {
  eIDMW::BEID_Object *arg1 = (eIDMW::BEID_Object *) 0 ;
  
  arg1 = (eIDMW::BEID_Object *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_ByteArray__SWIG_0() {
  void * jresult ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  {
    try 
    {
      result = (eIDMW::BEID_ByteArray *)new eIDMW::BEID_ByteArray();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_ByteArray__SWIG_1(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_ByteArray *arg1 = 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_ByteArray *)jarg1;
  if(!arg1) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_ByteArray const & type is null", 0);
    return 0;
  } 
  {
    try 
    {
      result = (eIDMW::BEID_ByteArray *)new eIDMW::BEID_ByteArray((eIDMW::BEID_ByteArray const &)*arg1);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_ByteArray__SWIG_2(unsigned char * jarg1, unsigned long jarg2) {
  void * jresult ;
  unsigned char *arg1 = (unsigned char *) 0 ;
  unsigned long arg2 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = jarg1; 
  arg2 = (unsigned long)jarg2; 
  {
    try 
    {
      result = (eIDMW::BEID_ByteArray *)new eIDMW::BEID_ByteArray((unsigned char const *)arg1,arg2);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_ByteArray(void * jarg1) {
  eIDMW::BEID_ByteArray *arg1 = (eIDMW::BEID_ByteArray *) 0 ;
  
  arg1 = (eIDMW::BEID_ByteArray *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_ByteArray_Append__SWIG_0(void * jarg1, unsigned char * jarg2, unsigned long jarg3) {
  eIDMW::BEID_ByteArray *arg1 = (eIDMW::BEID_ByteArray *) 0 ;
  unsigned char *arg2 = (unsigned char *) 0 ;
  unsigned long arg3 ;
  
  arg1 = (eIDMW::BEID_ByteArray *)jarg1; 
  arg2 = jarg2; 
  arg3 = (unsigned long)jarg3; 
  {
    try 
    {
      (arg1)->Append((unsigned char const *)arg2,arg3);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_ByteArray_Append__SWIG_1(void * jarg1, void * jarg2) {
  eIDMW::BEID_ByteArray *arg1 = (eIDMW::BEID_ByteArray *) 0 ;
  eIDMW::BEID_ByteArray *arg2 = 0 ;
  
  arg1 = (eIDMW::BEID_ByteArray *)jarg1; 
  arg2 = (eIDMW::BEID_ByteArray *)jarg2;
  if(!arg2) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_ByteArray const & type is null", 0);
    return ;
  } 
  {
    try 
    {
      (arg1)->Append((eIDMW::BEID_ByteArray const &)*arg2);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_ByteArray_Clear(void * jarg1) {
  eIDMW::BEID_ByteArray *arg1 = (eIDMW::BEID_ByteArray *) 0 ;
  
  arg1 = (eIDMW::BEID_ByteArray *)jarg1; 
  {
    try 
    {
      (arg1)->Clear();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BEID_ByteArray_Equals(void * jarg1, void * jarg2) {
  unsigned int jresult ;
  eIDMW::BEID_ByteArray *arg1 = (eIDMW::BEID_ByteArray *) 0 ;
  eIDMW::BEID_ByteArray *arg2 = 0 ;
  bool result;
  
  arg1 = (eIDMW::BEID_ByteArray *)jarg1; 
  arg2 = (eIDMW::BEID_ByteArray *)jarg2;
  if(!arg2) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_ByteArray const & type is null", 0);
    return 0;
  } 
  {
    try 
    {
      result = (bool)((eIDMW::BEID_ByteArray const *)arg1)->Equals((eIDMW::BEID_ByteArray const &)*arg2);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT unsigned long SWIGSTDCALL CSharp_BEID_ByteArray_Size(void * jarg1) {
  unsigned long jresult ;
  eIDMW::BEID_ByteArray *arg1 = (eIDMW::BEID_ByteArray *) 0 ;
  unsigned long result;
  
  arg1 = (eIDMW::BEID_ByteArray *)jarg1; 
  {
    try 
    {
      result = (unsigned long)((eIDMW::BEID_ByteArray const *)arg1)->Size();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (unsigned long)result; 
  return jresult;
}


SWIGEXPORT unsigned char * SWIGSTDCALL CSharp_BEID_ByteArray_GetBytes(void * jarg1) {
  unsigned char * jresult ;
  eIDMW::BEID_ByteArray *arg1 = (eIDMW::BEID_ByteArray *) 0 ;
  unsigned char *result = 0 ;
  
  arg1 = (eIDMW::BEID_ByteArray *)jarg1; 
  {
    try 
    {
      result = (unsigned char *)((eIDMW::BEID_ByteArray const *)arg1)->GetBytes();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BEID_ByteArray_writeToFile(void * jarg1, char * jarg2) {
  unsigned int jresult ;
  eIDMW::BEID_ByteArray *arg1 = (eIDMW::BEID_ByteArray *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  
  arg1 = (eIDMW::BEID_ByteArray *)jarg1; 
  arg2 = (char *)jarg2; 
  {
    try 
    {
      result = (bool)(arg1)->writeToFile((char const *)arg2);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_ByteArray_assign(void * jarg1, void * jarg2) {
  void * jresult ;
  eIDMW::BEID_ByteArray *arg1 = (eIDMW::BEID_ByteArray *) 0 ;
  eIDMW::BEID_ByteArray *arg2 = 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_ByteArray *)jarg1; 
  arg2 = (eIDMW::BEID_ByteArray *)jarg2;
  if(!arg2) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_ByteArray const & type is null", 0);
    return 0;
  } 
  {
    try 
    {
      {
        eIDMW::BEID_ByteArray &_result_ref = (arg1)->operator =((eIDMW::BEID_ByteArray const &)*arg2);
        result = (eIDMW::BEID_ByteArray *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_RawData_Eid_idData_set(void * jarg1, void * jarg2) {
  eIDMW::BEID_RawData_Eid *arg1 = (eIDMW::BEID_RawData_Eid *) 0 ;
  eIDMW::BEID_ByteArray *arg2 = (eIDMW::BEID_ByteArray *) 0 ;
  
  arg1 = (eIDMW::BEID_RawData_Eid *)jarg1; 
  arg2 = (eIDMW::BEID_ByteArray *)jarg2; 
  if (arg1) (arg1)->idData = *arg2;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_RawData_Eid_idData_get(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_RawData_Eid *arg1 = (eIDMW::BEID_RawData_Eid *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_RawData_Eid *)jarg1; 
  result = (eIDMW::BEID_ByteArray *)& ((arg1)->idData);
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_RawData_Eid_idSigData_set(void * jarg1, void * jarg2) {
  eIDMW::BEID_RawData_Eid *arg1 = (eIDMW::BEID_RawData_Eid *) 0 ;
  eIDMW::BEID_ByteArray *arg2 = (eIDMW::BEID_ByteArray *) 0 ;
  
  arg1 = (eIDMW::BEID_RawData_Eid *)jarg1; 
  arg2 = (eIDMW::BEID_ByteArray *)jarg2; 
  if (arg1) (arg1)->idSigData = *arg2;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_RawData_Eid_idSigData_get(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_RawData_Eid *arg1 = (eIDMW::BEID_RawData_Eid *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_RawData_Eid *)jarg1; 
  result = (eIDMW::BEID_ByteArray *)& ((arg1)->idSigData);
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_RawData_Eid_addrData_set(void * jarg1, void * jarg2) {
  eIDMW::BEID_RawData_Eid *arg1 = (eIDMW::BEID_RawData_Eid *) 0 ;
  eIDMW::BEID_ByteArray *arg2 = (eIDMW::BEID_ByteArray *) 0 ;
  
  arg1 = (eIDMW::BEID_RawData_Eid *)jarg1; 
  arg2 = (eIDMW::BEID_ByteArray *)jarg2; 
  if (arg1) (arg1)->addrData = *arg2;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_RawData_Eid_addrData_get(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_RawData_Eid *arg1 = (eIDMW::BEID_RawData_Eid *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_RawData_Eid *)jarg1; 
  result = (eIDMW::BEID_ByteArray *)& ((arg1)->addrData);
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_RawData_Eid_addrSigData_set(void * jarg1, void * jarg2) {
  eIDMW::BEID_RawData_Eid *arg1 = (eIDMW::BEID_RawData_Eid *) 0 ;
  eIDMW::BEID_ByteArray *arg2 = (eIDMW::BEID_ByteArray *) 0 ;
  
  arg1 = (eIDMW::BEID_RawData_Eid *)jarg1; 
  arg2 = (eIDMW::BEID_ByteArray *)jarg2; 
  if (arg1) (arg1)->addrSigData = *arg2;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_RawData_Eid_addrSigData_get(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_RawData_Eid *arg1 = (eIDMW::BEID_RawData_Eid *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_RawData_Eid *)jarg1; 
  result = (eIDMW::BEID_ByteArray *)& ((arg1)->addrSigData);
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_RawData_Eid_pictureData_set(void * jarg1, void * jarg2) {
  eIDMW::BEID_RawData_Eid *arg1 = (eIDMW::BEID_RawData_Eid *) 0 ;
  eIDMW::BEID_ByteArray *arg2 = (eIDMW::BEID_ByteArray *) 0 ;
  
  arg1 = (eIDMW::BEID_RawData_Eid *)jarg1; 
  arg2 = (eIDMW::BEID_ByteArray *)jarg2; 
  if (arg1) (arg1)->pictureData = *arg2;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_RawData_Eid_pictureData_get(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_RawData_Eid *arg1 = (eIDMW::BEID_RawData_Eid *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_RawData_Eid *)jarg1; 
  result = (eIDMW::BEID_ByteArray *)& ((arg1)->pictureData);
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_RawData_Eid_cardData_set(void * jarg1, void * jarg2) {
  eIDMW::BEID_RawData_Eid *arg1 = (eIDMW::BEID_RawData_Eid *) 0 ;
  eIDMW::BEID_ByteArray *arg2 = (eIDMW::BEID_ByteArray *) 0 ;
  
  arg1 = (eIDMW::BEID_RawData_Eid *)jarg1; 
  arg2 = (eIDMW::BEID_ByteArray *)jarg2; 
  if (arg1) (arg1)->cardData = *arg2;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_RawData_Eid_cardData_get(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_RawData_Eid *arg1 = (eIDMW::BEID_RawData_Eid *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_RawData_Eid *)jarg1; 
  result = (eIDMW::BEID_ByteArray *)& ((arg1)->cardData);
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_RawData_Eid_tokenInfo_set(void * jarg1, void * jarg2) {
  eIDMW::BEID_RawData_Eid *arg1 = (eIDMW::BEID_RawData_Eid *) 0 ;
  eIDMW::BEID_ByteArray *arg2 = (eIDMW::BEID_ByteArray *) 0 ;
  
  arg1 = (eIDMW::BEID_RawData_Eid *)jarg1; 
  arg2 = (eIDMW::BEID_ByteArray *)jarg2; 
  if (arg1) (arg1)->tokenInfo = *arg2;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_RawData_Eid_tokenInfo_get(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_RawData_Eid *arg1 = (eIDMW::BEID_RawData_Eid *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_RawData_Eid *)jarg1; 
  result = (eIDMW::BEID_ByteArray *)& ((arg1)->tokenInfo);
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_RawData_Eid_certRN_set(void * jarg1, void * jarg2) {
  eIDMW::BEID_RawData_Eid *arg1 = (eIDMW::BEID_RawData_Eid *) 0 ;
  eIDMW::BEID_ByteArray *arg2 = (eIDMW::BEID_ByteArray *) 0 ;
  
  arg1 = (eIDMW::BEID_RawData_Eid *)jarg1; 
  arg2 = (eIDMW::BEID_ByteArray *)jarg2; 
  if (arg1) (arg1)->certRN = *arg2;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_RawData_Eid_certRN_get(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_RawData_Eid *arg1 = (eIDMW::BEID_RawData_Eid *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_RawData_Eid *)jarg1; 
  result = (eIDMW::BEID_ByteArray *)& ((arg1)->certRN);
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_RawData_Eid_challenge_set(void * jarg1, void * jarg2) {
  eIDMW::BEID_RawData_Eid *arg1 = (eIDMW::BEID_RawData_Eid *) 0 ;
  eIDMW::BEID_ByteArray *arg2 = (eIDMW::BEID_ByteArray *) 0 ;
  
  arg1 = (eIDMW::BEID_RawData_Eid *)jarg1; 
  arg2 = (eIDMW::BEID_ByteArray *)jarg2; 
  if (arg1) (arg1)->challenge = *arg2;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_RawData_Eid_challenge_get(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_RawData_Eid *arg1 = (eIDMW::BEID_RawData_Eid *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_RawData_Eid *)jarg1; 
  result = (eIDMW::BEID_ByteArray *)& ((arg1)->challenge);
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_RawData_Eid_response_set(void * jarg1, void * jarg2) {
  eIDMW::BEID_RawData_Eid *arg1 = (eIDMW::BEID_RawData_Eid *) 0 ;
  eIDMW::BEID_ByteArray *arg2 = (eIDMW::BEID_ByteArray *) 0 ;
  
  arg1 = (eIDMW::BEID_RawData_Eid *)jarg1; 
  arg2 = (eIDMW::BEID_ByteArray *)jarg2; 
  if (arg1) (arg1)->response = *arg2;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_RawData_Eid_response_get(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_RawData_Eid *arg1 = (eIDMW::BEID_RawData_Eid *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_RawData_Eid *)jarg1; 
  result = (eIDMW::BEID_ByteArray *)& ((arg1)->response);
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_RawData_Eid() {
  void * jresult ;
  eIDMW::BEID_RawData_Eid *result = 0 ;
  
  {
    try 
    {
      result = (eIDMW::BEID_RawData_Eid *)new eIDMW::BEID_RawData_Eid();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_RawData_Eid(void * jarg1) {
  eIDMW::BEID_RawData_Eid *arg1 = (eIDMW::BEID_RawData_Eid *) 0 ;
  
  arg1 = (eIDMW::BEID_RawData_Eid *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_RawData_Sis_idData_set(void * jarg1, void * jarg2) {
  eIDMW::BEID_RawData_Sis *arg1 = (eIDMW::BEID_RawData_Sis *) 0 ;
  eIDMW::BEID_ByteArray *arg2 = (eIDMW::BEID_ByteArray *) 0 ;
  
  arg1 = (eIDMW::BEID_RawData_Sis *)jarg1; 
  arg2 = (eIDMW::BEID_ByteArray *)jarg2; 
  if (arg1) (arg1)->idData = *arg2;
  
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_RawData_Sis_idData_get(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_RawData_Sis *arg1 = (eIDMW::BEID_RawData_Sis *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_RawData_Sis *)jarg1; 
  result = (eIDMW::BEID_ByteArray *)& ((arg1)->idData);
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_RawData_Sis() {
  void * jresult ;
  eIDMW::BEID_RawData_Sis *result = 0 ;
  
  {
    try 
    {
      result = (eIDMW::BEID_RawData_Sis *)new eIDMW::BEID_RawData_Sis();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_RawData_Sis(void * jarg1) {
  eIDMW::BEID_RawData_Sis *arg1 = (eIDMW::BEID_RawData_Sis *) 0 ;
  
  arg1 = (eIDMW::BEID_RawData_Sis *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_ReaderSet_instance() {
  void * jresult ;
  eIDMW::BEID_ReaderSet *result = 0 ;
  
  {
    try 
    {
      {
        eIDMW::BEID_ReaderSet &_result_ref = eIDMW::BEID_ReaderSet::instance();
        result = (eIDMW::BEID_ReaderSet *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_ReaderSet_initSDK__SWIG_0(unsigned int jarg1) {
  bool arg1 ;
  
  arg1 = jarg1 ? true : false; 
  {
    try 
    {
      eIDMW::BEID_ReaderSet::initSDK(arg1);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_ReaderSet_initSDK__SWIG_1() {
  {
    try 
    {
      eIDMW::BEID_ReaderSet::initSDK();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_ReaderSet_releaseSDK() {
  {
    try 
    {
      eIDMW::BEID_ReaderSet::releaseSDK();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_ReaderSet(void * jarg1) {
  eIDMW::BEID_ReaderSet *arg1 = (eIDMW::BEID_ReaderSet *) 0 ;
  
  arg1 = (eIDMW::BEID_ReaderSet *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_ReaderSet_releaseReaders__SWIG_0(void * jarg1, unsigned int jarg2) {
  eIDMW::BEID_ReaderSet *arg1 = (eIDMW::BEID_ReaderSet *) 0 ;
  bool arg2 ;
  
  arg1 = (eIDMW::BEID_ReaderSet *)jarg1; 
  arg2 = jarg2 ? true : false; 
  {
    try 
    {
      (arg1)->releaseReaders(arg2);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_ReaderSet_releaseReaders__SWIG_1(void * jarg1) {
  eIDMW::BEID_ReaderSet *arg1 = (eIDMW::BEID_ReaderSet *) 0 ;
  
  arg1 = (eIDMW::BEID_ReaderSet *)jarg1; 
  {
    try 
    {
      (arg1)->releaseReaders();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BEID_ReaderSet_isReadersChanged(void * jarg1) {
  unsigned int jresult ;
  eIDMW::BEID_ReaderSet *arg1 = (eIDMW::BEID_ReaderSet *) 0 ;
  bool result;
  
  arg1 = (eIDMW::BEID_ReaderSet *)jarg1; 
  {
    try 
    {
      result = (bool)((eIDMW::BEID_ReaderSet const *)arg1)->isReadersChanged();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_ReaderSet_readerList__SWIG_0(void * jarg1, unsigned int jarg2) {
  void * jresult ;
  eIDMW::BEID_ReaderSet *arg1 = (eIDMW::BEID_ReaderSet *) 0 ;
  bool arg2 ;
  char **result = 0 ;
  
  arg1 = (eIDMW::BEID_ReaderSet *)jarg1; 
  arg2 = jarg2 ? true : false; 
  {
    try 
    {
      result = (char **)(arg1)->readerList(arg2);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  {
    long size=0;
    for(char **p=result;*p!=NULL;p++)
    size++;
    
    jresult = CUSTOM_CSharpStringArrayCallback((void *)result, size); 
  }
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_ReaderSet_readerList__SWIG_1(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_ReaderSet *arg1 = (eIDMW::BEID_ReaderSet *) 0 ;
  char **result = 0 ;
  
  arg1 = (eIDMW::BEID_ReaderSet *)jarg1; 
  {
    try 
    {
      result = (char **)(arg1)->readerList();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  {
    long size=0;
    for(char **p=result;*p!=NULL;p++)
    size++;
    
    jresult = CUSTOM_CSharpStringArrayCallback((void *)result, size); 
  }
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_ReaderSet_getReader(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_ReaderSet *arg1 = (eIDMW::BEID_ReaderSet *) 0 ;
  eIDMW::BEID_ReaderContext *result = 0 ;
  
  arg1 = (eIDMW::BEID_ReaderSet *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_ReaderContext &_result_ref = (arg1)->getReader();
        result = (eIDMW::BEID_ReaderContext *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_ReaderSet_getReaderByName(void * jarg1, char * jarg2) {
  void * jresult ;
  eIDMW::BEID_ReaderSet *arg1 = (eIDMW::BEID_ReaderSet *) 0 ;
  char *arg2 = (char *) 0 ;
  eIDMW::BEID_ReaderContext *result = 0 ;
  
  arg1 = (eIDMW::BEID_ReaderSet *)jarg1; 
  arg2 = (char *)jarg2; 
  {
    try 
    {
      {
        eIDMW::BEID_ReaderContext &_result_ref = (arg1)->getReaderByName((char const *)arg2);
        result = (eIDMW::BEID_ReaderContext *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT unsigned long SWIGSTDCALL CSharp_BEID_ReaderSet_readerCount__SWIG_0(void * jarg1, unsigned int jarg2) {
  unsigned long jresult ;
  eIDMW::BEID_ReaderSet *arg1 = (eIDMW::BEID_ReaderSet *) 0 ;
  bool arg2 ;
  unsigned long result;
  
  arg1 = (eIDMW::BEID_ReaderSet *)jarg1; 
  arg2 = jarg2 ? true : false; 
  {
    try 
    {
      result = (unsigned long)(arg1)->readerCount(arg2);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (unsigned long)result; 
  return jresult;
}


SWIGEXPORT unsigned long SWIGSTDCALL CSharp_BEID_ReaderSet_readerCount__SWIG_1(void * jarg1) {
  unsigned long jresult ;
  eIDMW::BEID_ReaderSet *arg1 = (eIDMW::BEID_ReaderSet *) 0 ;
  unsigned long result;
  
  arg1 = (eIDMW::BEID_ReaderSet *)jarg1; 
  {
    try 
    {
      result = (unsigned long)(arg1)->readerCount();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (unsigned long)result; 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_ReaderSet_getReaderName(void * jarg1, unsigned long jarg2) {
  char * jresult ;
  eIDMW::BEID_ReaderSet *arg1 = (eIDMW::BEID_ReaderSet *) 0 ;
  unsigned long arg2 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_ReaderSet *)jarg1; 
  arg2 = (unsigned long)jarg2; 
  {
    try 
    {
      result = (char *)(arg1)->getReaderName(arg2);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_ReaderSet_getReaderByNum(void * jarg1, unsigned long jarg2) {
  void * jresult ;
  eIDMW::BEID_ReaderSet *arg1 = (eIDMW::BEID_ReaderSet *) 0 ;
  unsigned long arg2 ;
  eIDMW::BEID_ReaderContext *result = 0 ;
  
  arg1 = (eIDMW::BEID_ReaderSet *)jarg1; 
  arg2 = (unsigned long)jarg2; 
  {
    try 
    {
      {
        eIDMW::BEID_ReaderContext &_result_ref = (arg1)->getReaderByNum(arg2);
        result = (eIDMW::BEID_ReaderContext *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_ReaderSet_getReaderByCardSerialNumber(void * jarg1, char * jarg2) {
  void * jresult ;
  eIDMW::BEID_ReaderSet *arg1 = (eIDMW::BEID_ReaderSet *) 0 ;
  char *arg2 = (char *) 0 ;
  eIDMW::BEID_ReaderContext *result = 0 ;
  
  arg1 = (eIDMW::BEID_ReaderSet *)jarg1; 
  arg2 = (char *)jarg2; 
  {
    try 
    {
      {
        eIDMW::BEID_ReaderContext &_result_ref = (arg1)->getReaderByCardSerialNumber((char const *)arg2);
        result = (eIDMW::BEID_ReaderContext *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BEID_ReaderSet_flushCache(void * jarg1) {
  unsigned int jresult ;
  eIDMW::BEID_ReaderSet *arg1 = (eIDMW::BEID_ReaderSet *) 0 ;
  bool result;
  
  arg1 = (eIDMW::BEID_ReaderSet *)jarg1; 
  {
    try 
    {
      result = (bool)(arg1)->flushCache();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_ReaderContext__SWIG_0(int jarg1, char * jarg2) {
  void * jresult ;
  eIDMW::BEID_FileType arg1 ;
  char *arg2 = (char *) 0 ;
  eIDMW::BEID_ReaderContext *result = 0 ;
  
  arg1 = (eIDMW::BEID_FileType)jarg1; 
  arg2 = (char *)jarg2; 
  {
    try 
    {
      result = (eIDMW::BEID_ReaderContext *)new eIDMW::BEID_ReaderContext(arg1,(char const *)arg2);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_ReaderContext__SWIG_1(int jarg1, void * jarg2) {
  void * jresult ;
  eIDMW::BEID_FileType arg1 ;
  eIDMW::BEID_ByteArray *arg2 = 0 ;
  eIDMW::BEID_ReaderContext *result = 0 ;
  
  arg1 = (eIDMW::BEID_FileType)jarg1; 
  arg2 = (eIDMW::BEID_ByteArray *)jarg2;
  if(!arg2) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_ByteArray const & type is null", 0);
    return 0;
  } 
  {
    try 
    {
      result = (eIDMW::BEID_ReaderContext *)new eIDMW::BEID_ReaderContext(arg1,(eIDMW::BEID_ByteArray const &)*arg2);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_ReaderContext__SWIG_2(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_RawData_Eid *arg1 = 0 ;
  eIDMW::BEID_ReaderContext *result = 0 ;
  
  arg1 = (eIDMW::BEID_RawData_Eid *)jarg1;
  if(!arg1) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_RawData_Eid const & type is null", 0);
    return 0;
  } 
  {
    try 
    {
      result = (eIDMW::BEID_ReaderContext *)new eIDMW::BEID_ReaderContext((eIDMW::BEID_RawData_Eid const &)*arg1);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_ReaderContext__SWIG_3(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_RawData_Sis *arg1 = 0 ;
  eIDMW::BEID_ReaderContext *result = 0 ;
  
  arg1 = (eIDMW::BEID_RawData_Sis *)jarg1;
  if(!arg1) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_RawData_Sis const & type is null", 0);
    return 0;
  } 
  {
    try 
    {
      result = (eIDMW::BEID_ReaderContext *)new eIDMW::BEID_ReaderContext((eIDMW::BEID_RawData_Sis const &)*arg1);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_ReaderContext(void * jarg1) {
  eIDMW::BEID_ReaderContext *arg1 = (eIDMW::BEID_ReaderContext *) 0 ;
  
  arg1 = (eIDMW::BEID_ReaderContext *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_ReaderContext_getName(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_ReaderContext *arg1 = (eIDMW::BEID_ReaderContext *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_ReaderContext *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getName();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BEID_ReaderContext_isCardPresent(void * jarg1) {
  unsigned int jresult ;
  eIDMW::BEID_ReaderContext *arg1 = (eIDMW::BEID_ReaderContext *) 0 ;
  bool result;
  
  arg1 = (eIDMW::BEID_ReaderContext *)jarg1; 
  {
    try 
    {
      result = (bool)(arg1)->isCardPresent();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_ReaderContext_releaseCard__SWIG_0(void * jarg1, unsigned int jarg2) {
  eIDMW::BEID_ReaderContext *arg1 = (eIDMW::BEID_ReaderContext *) 0 ;
  bool arg2 ;
  
  arg1 = (eIDMW::BEID_ReaderContext *)jarg1; 
  arg2 = jarg2 ? true : false; 
  {
    try 
    {
      (arg1)->releaseCard(arg2);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_ReaderContext_releaseCard__SWIG_1(void * jarg1) {
  eIDMW::BEID_ReaderContext *arg1 = (eIDMW::BEID_ReaderContext *) 0 ;
  
  arg1 = (eIDMW::BEID_ReaderContext *)jarg1; 
  {
    try 
    {
      (arg1)->releaseCard();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BEID_ReaderContext_isCardChanged(void * jarg1, unsigned long * jarg2) {
  unsigned int jresult ;
  eIDMW::BEID_ReaderContext *arg1 = (eIDMW::BEID_ReaderContext *) 0 ;
  unsigned long *arg2 = 0 ;
  bool result;
  
  arg1 = (eIDMW::BEID_ReaderContext *)jarg1; 
  arg2 = (unsigned long *)jarg2;
  if(!arg2) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "unsigned long & type is null", 0);
    return 0;
  } 
  {
    try 
    {
      result = (bool)(arg1)->isCardChanged(*arg2);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_BEID_ReaderContext_getCardType(void * jarg1) {
  int jresult ;
  eIDMW::BEID_ReaderContext *arg1 = (eIDMW::BEID_ReaderContext *) 0 ;
  eIDMW::BEID_CardType result;
  
  arg1 = (eIDMW::BEID_ReaderContext *)jarg1; 
  {
    try 
    {
      result = (eIDMW::BEID_CardType)(arg1)->getCardType();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_ReaderContext_getCard(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_ReaderContext *arg1 = (eIDMW::BEID_ReaderContext *) 0 ;
  eIDMW::BEID_Card *result = 0 ;
  
  arg1 = (eIDMW::BEID_ReaderContext *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_Card &_result_ref = (arg1)->getCard();
        result = (eIDMW::BEID_Card *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_ReaderContext_getEIDCard(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_ReaderContext *arg1 = (eIDMW::BEID_ReaderContext *) 0 ;
  eIDMW::BEID_EIDCard *result = 0 ;
  
  arg1 = (eIDMW::BEID_ReaderContext *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_EIDCard &_result_ref = (arg1)->getEIDCard();
        result = (eIDMW::BEID_EIDCard *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_ReaderContext_getKidsCard(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_ReaderContext *arg1 = (eIDMW::BEID_ReaderContext *) 0 ;
  eIDMW::BEID_KidsCard *result = 0 ;
  
  arg1 = (eIDMW::BEID_ReaderContext *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_KidsCard &_result_ref = (arg1)->getKidsCard();
        result = (eIDMW::BEID_KidsCard *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_ReaderContext_getForeignerCard(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_ReaderContext *arg1 = (eIDMW::BEID_ReaderContext *) 0 ;
  eIDMW::BEID_ForeignerCard *result = 0 ;
  
  arg1 = (eIDMW::BEID_ReaderContext *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_ForeignerCard &_result_ref = (arg1)->getForeignerCard();
        result = (eIDMW::BEID_ForeignerCard *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_ReaderContext_getSISCard(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_ReaderContext *arg1 = (eIDMW::BEID_ReaderContext *) 0 ;
  eIDMW::BEID_SISCard *result = 0 ;
  
  arg1 = (eIDMW::BEID_ReaderContext *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_SISCard &_result_ref = (arg1)->getSISCard();
        result = (eIDMW::BEID_SISCard *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT unsigned long SWIGSTDCALL CSharp_BEID_ReaderContext_SetEventCallback(void * jarg1, long jarg2, void * jarg3) {
  unsigned long jresult ;
  eIDMW::BEID_ReaderContext *arg1 = (eIDMW::BEID_ReaderContext *) 0 ;
  void (*arg2)(long,unsigned long,void *) = (void (*)(long,unsigned long,void *)) 0 ;
  void *arg3 = (void *) 0 ;
  unsigned long result;
  
  arg1 = (eIDMW::BEID_ReaderContext *)jarg1; 
  
  arg3 = (void *)jarg3; 
  {
    try 
    {
      //Always register the SetEventCallback_WrapperCpp function
      result = (unsigned long)(arg1)->SetEventCallback(&SetEventCallback_WrapperCpp,(void*)arg3);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (unsigned long)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_ReaderContext_StopEventCallback(void * jarg1, unsigned long jarg2) {
  eIDMW::BEID_ReaderContext *arg1 = (eIDMW::BEID_ReaderContext *) 0 ;
  unsigned long arg2 ;
  
  arg1 = (eIDMW::BEID_ReaderContext *)jarg1; 
  arg2 = (unsigned long)jarg2; 
  {
    try 
    {
      (arg1)->StopEventCallback(arg2);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_ReaderContext_BeginTransaction(void * jarg1) {
  eIDMW::BEID_ReaderContext *arg1 = (eIDMW::BEID_ReaderContext *) 0 ;
  
  arg1 = (eIDMW::BEID_ReaderContext *)jarg1; 
  {
    try 
    {
      (arg1)->BeginTransaction();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_ReaderContext_EndTransaction(void * jarg1) {
  eIDMW::BEID_ReaderContext *arg1 = (eIDMW::BEID_ReaderContext *) 0 ;
  
  arg1 = (eIDMW::BEID_ReaderContext *)jarg1; 
  {
    try 
    {
      (arg1)->EndTransaction();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BEID_ReaderContext_isVirtualReader(void * jarg1) {
  unsigned int jresult ;
  eIDMW::BEID_ReaderContext *arg1 = (eIDMW::BEID_ReaderContext *) 0 ;
  bool result;
  
  arg1 = (eIDMW::BEID_ReaderContext *)jarg1; 
  {
    try 
    {
      result = (bool)(arg1)->isVirtualReader();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_Card(void * jarg1) {
  eIDMW::BEID_Card *arg1 = (eIDMW::BEID_Card *) 0 ;
  
  arg1 = (eIDMW::BEID_Card *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT int SWIGSTDCALL CSharp_BEID_Card_getType(void * jarg1) {
  int jresult ;
  eIDMW::BEID_Card *arg1 = (eIDMW::BEID_Card *) 0 ;
  eIDMW::BEID_CardType result;
  
  arg1 = (eIDMW::BEID_Card *)jarg1; 
  {
    try 
    {
      result = (eIDMW::BEID_CardType)(arg1)->getType();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_Card_getDocument(void * jarg1, int jarg2) {
  void * jresult ;
  eIDMW::BEID_Card *arg1 = (eIDMW::BEID_Card *) 0 ;
  eIDMW::BEID_DocumentType arg2 ;
  eIDMW::BEID_XMLDoc *result = 0 ;
  
  arg1 = (eIDMW::BEID_Card *)jarg1; 
  arg2 = (eIDMW::BEID_DocumentType)jarg2; 
  {
    try 
    {
      {
        eIDMW::BEID_XMLDoc &_result_ref = (arg1)->getDocument(arg2);
        result = (eIDMW::BEID_XMLDoc *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_Card_getRawData(void * jarg1, int jarg2) {
  void * jresult ;
  eIDMW::BEID_Card *arg1 = (eIDMW::BEID_Card *) 0 ;
  eIDMW::BEID_RawDataType arg2 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_Card *)jarg1; 
  arg2 = (eIDMW::BEID_RawDataType)jarg2; 
  {
    try 
    {
      {
        eIDMW::BEID_ByteArray const &_result_ref = (arg1)->getRawData(arg2);
        result = (eIDMW::BEID_ByteArray *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_Card_sendAPDU(void * jarg1, void * jarg2) {
  void * jresult ;
  eIDMW::BEID_Card *arg1 = (eIDMW::BEID_Card *) 0 ;
  eIDMW::BEID_ByteArray *arg2 = 0 ;
  eIDMW::BEID_ByteArray result;
  
  arg1 = (eIDMW::BEID_Card *)jarg1; 
  arg2 = (eIDMW::BEID_ByteArray *)jarg2;
  if(!arg2) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_ByteArray const & type is null", 0);
    return 0;
  } 
  {
    try 
    {
      result = (arg1)->sendAPDU((eIDMW::BEID_ByteArray const &)*arg2);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = new eIDMW::BEID_ByteArray((eIDMW::BEID_ByteArray &)result); 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_Card_readFile__SWIG_0(void * jarg1, char * jarg2, unsigned long jarg3, unsigned long jarg4) {
  void * jresult ;
  eIDMW::BEID_Card *arg1 = (eIDMW::BEID_Card *) 0 ;
  char *arg2 = (char *) 0 ;
  unsigned long arg3 ;
  unsigned long arg4 ;
  eIDMW::BEID_ByteArray result;
  
  arg1 = (eIDMW::BEID_Card *)jarg1; 
  arg2 = (char *)jarg2; 
  arg3 = (unsigned long)jarg3; 
  arg4 = (unsigned long)jarg4; 
  {
    try 
    {
      result = (arg1)->readFile((char const *)arg2,arg3,arg4);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = new eIDMW::BEID_ByteArray((eIDMW::BEID_ByteArray &)result); 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_Card_readFile__SWIG_1(void * jarg1, char * jarg2, unsigned long jarg3) {
  void * jresult ;
  eIDMW::BEID_Card *arg1 = (eIDMW::BEID_Card *) 0 ;
  char *arg2 = (char *) 0 ;
  unsigned long arg3 ;
  eIDMW::BEID_ByteArray result;
  
  arg1 = (eIDMW::BEID_Card *)jarg1; 
  arg2 = (char *)jarg2; 
  arg3 = (unsigned long)jarg3; 
  {
    try 
    {
      result = (arg1)->readFile((char const *)arg2,arg3);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = new eIDMW::BEID_ByteArray((eIDMW::BEID_ByteArray &)result); 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_Card_readFile__SWIG_2(void * jarg1, char * jarg2) {
  void * jresult ;
  eIDMW::BEID_Card *arg1 = (eIDMW::BEID_Card *) 0 ;
  char *arg2 = (char *) 0 ;
  eIDMW::BEID_ByteArray result;
  
  arg1 = (eIDMW::BEID_Card *)jarg1; 
  arg2 = (char *)jarg2; 
  {
    try 
    {
      result = (arg1)->readFile((char const *)arg2);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = new eIDMW::BEID_ByteArray((eIDMW::BEID_ByteArray &)result); 
  return jresult;
}


SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BEID_Card_writeFile__SWIG_0(void * jarg1, char * jarg2, void * jarg3, unsigned long jarg4) {
  unsigned int jresult ;
  eIDMW::BEID_Card *arg1 = (eIDMW::BEID_Card *) 0 ;
  char *arg2 = (char *) 0 ;
  eIDMW::BEID_ByteArray *arg3 = 0 ;
  unsigned long arg4 ;
  bool result;
  
  arg1 = (eIDMW::BEID_Card *)jarg1; 
  arg2 = (char *)jarg2; 
  arg3 = (eIDMW::BEID_ByteArray *)jarg3;
  if(!arg3) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_ByteArray const & type is null", 0);
    return 0;
  } 
  arg4 = (unsigned long)jarg4; 
  {
    try 
    {
      result = (bool)(arg1)->writeFile((char const *)arg2,(eIDMW::BEID_ByteArray const &)*arg3,arg4);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BEID_Card_writeFile__SWIG_1(void * jarg1, char * jarg2, void * jarg3) {
  unsigned int jresult ;
  eIDMW::BEID_Card *arg1 = (eIDMW::BEID_Card *) 0 ;
  char *arg2 = (char *) 0 ;
  eIDMW::BEID_ByteArray *arg3 = 0 ;
  bool result;
  
  arg1 = (eIDMW::BEID_Card *)jarg1; 
  arg2 = (char *)jarg2; 
  arg3 = (eIDMW::BEID_ByteArray *)jarg3;
  if(!arg3) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_ByteArray const & type is null", 0);
    return 0;
  } 
  {
    try 
    {
      result = (bool)(arg1)->writeFile((char const *)arg2,(eIDMW::BEID_ByteArray const &)*arg3);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_MemoryCard(void * jarg1) {
  eIDMW::BEID_MemoryCard *arg1 = (eIDMW::BEID_MemoryCard *) 0 ;
  
  arg1 = (eIDMW::BEID_MemoryCard *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_SmartCard(void * jarg1) {
  eIDMW::BEID_SmartCard *arg1 = (eIDMW::BEID_SmartCard *) 0 ;
  
  arg1 = (eIDMW::BEID_SmartCard *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_SmartCard_selectApplication(void * jarg1, void * jarg2) {
  eIDMW::BEID_SmartCard *arg1 = (eIDMW::BEID_SmartCard *) 0 ;
  eIDMW::BEID_ByteArray *arg2 = 0 ;
  
  arg1 = (eIDMW::BEID_SmartCard *)jarg1; 
  arg2 = (eIDMW::BEID_ByteArray *)jarg2;
  if(!arg2) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_ByteArray const & type is null", 0);
    return ;
  } 
  {
    try 
    {
      (arg1)->selectApplication((eIDMW::BEID_ByteArray const &)*arg2);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_SmartCard_sendAPDU__SWIG_0(void * jarg1, void * jarg2, void * jarg3, char * jarg4) {
  void * jresult ;
  eIDMW::BEID_SmartCard *arg1 = (eIDMW::BEID_SmartCard *) 0 ;
  eIDMW::BEID_ByteArray *arg2 = 0 ;
  eIDMW::BEID_Pin *arg3 = (eIDMW::BEID_Pin *) 0 ;
  char *arg4 = (char *) 0 ;
  eIDMW::BEID_ByteArray result;
  
  arg1 = (eIDMW::BEID_SmartCard *)jarg1; 
  arg2 = (eIDMW::BEID_ByteArray *)jarg2;
  if(!arg2) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_ByteArray const & type is null", 0);
    return 0;
  } 
  arg3 = (eIDMW::BEID_Pin *)jarg3; 
  arg4 = (char *)jarg4; 
  {
    try 
    {
      result = (arg1)->sendAPDU((eIDMW::BEID_ByteArray const &)*arg2,arg3,(char const *)arg4);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = new eIDMW::BEID_ByteArray((eIDMW::BEID_ByteArray &)result); 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_SmartCard_sendAPDU__SWIG_1(void * jarg1, void * jarg2, void * jarg3) {
  void * jresult ;
  eIDMW::BEID_SmartCard *arg1 = (eIDMW::BEID_SmartCard *) 0 ;
  eIDMW::BEID_ByteArray *arg2 = 0 ;
  eIDMW::BEID_Pin *arg3 = (eIDMW::BEID_Pin *) 0 ;
  eIDMW::BEID_ByteArray result;
  
  arg1 = (eIDMW::BEID_SmartCard *)jarg1; 
  arg2 = (eIDMW::BEID_ByteArray *)jarg2;
  if(!arg2) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_ByteArray const & type is null", 0);
    return 0;
  } 
  arg3 = (eIDMW::BEID_Pin *)jarg3; 
  {
    try 
    {
      result = (arg1)->sendAPDU((eIDMW::BEID_ByteArray const &)*arg2,arg3);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = new eIDMW::BEID_ByteArray((eIDMW::BEID_ByteArray &)result); 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_SmartCard_sendAPDU__SWIG_2(void * jarg1, void * jarg2) {
  void * jresult ;
  eIDMW::BEID_SmartCard *arg1 = (eIDMW::BEID_SmartCard *) 0 ;
  eIDMW::BEID_ByteArray *arg2 = 0 ;
  eIDMW::BEID_ByteArray result;
  
  arg1 = (eIDMW::BEID_SmartCard *)jarg1; 
  arg2 = (eIDMW::BEID_ByteArray *)jarg2;
  if(!arg2) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_ByteArray const & type is null", 0);
    return 0;
  } 
  {
    try 
    {
      result = (arg1)->sendAPDU((eIDMW::BEID_ByteArray const &)*arg2);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = new eIDMW::BEID_ByteArray((eIDMW::BEID_ByteArray &)result); 
  return jresult;
}


SWIGEXPORT long SWIGSTDCALL CSharp_BEID_SmartCard_readFile__SWIG_0(void * jarg1, char * jarg2, void * jarg3, void * jarg4, char * jarg5) {
  long jresult ;
  eIDMW::BEID_SmartCard *arg1 = (eIDMW::BEID_SmartCard *) 0 ;
  char *arg2 = (char *) 0 ;
  eIDMW::BEID_ByteArray *arg3 = 0 ;
  eIDMW::BEID_Pin *arg4 = (eIDMW::BEID_Pin *) 0 ;
  char *arg5 = (char *) 0 ;
  long result;
  
  arg1 = (eIDMW::BEID_SmartCard *)jarg1; 
  arg2 = (char *)jarg2; 
  arg3 = (eIDMW::BEID_ByteArray *)jarg3;
  if(!arg3) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_ByteArray & type is null", 0);
    return 0;
  } 
  arg4 = (eIDMW::BEID_Pin *)jarg4; 
  arg5 = (char *)jarg5; 
  {
    try 
    {
      result = (long)(arg1)->readFile((char const *)arg2,*arg3,arg4,(char const *)arg5);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT long SWIGSTDCALL CSharp_BEID_SmartCard_readFile__SWIG_1(void * jarg1, char * jarg2, void * jarg3, void * jarg4) {
  long jresult ;
  eIDMW::BEID_SmartCard *arg1 = (eIDMW::BEID_SmartCard *) 0 ;
  char *arg2 = (char *) 0 ;
  eIDMW::BEID_ByteArray *arg3 = 0 ;
  eIDMW::BEID_Pin *arg4 = (eIDMW::BEID_Pin *) 0 ;
  long result;
  
  arg1 = (eIDMW::BEID_SmartCard *)jarg1; 
  arg2 = (char *)jarg2; 
  arg3 = (eIDMW::BEID_ByteArray *)jarg3;
  if(!arg3) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_ByteArray & type is null", 0);
    return 0;
  } 
  arg4 = (eIDMW::BEID_Pin *)jarg4; 
  {
    try 
    {
      result = (long)(arg1)->readFile((char const *)arg2,*arg3,arg4);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT long SWIGSTDCALL CSharp_BEID_SmartCard_readFile__SWIG_2(void * jarg1, char * jarg2, void * jarg3) {
  long jresult ;
  eIDMW::BEID_SmartCard *arg1 = (eIDMW::BEID_SmartCard *) 0 ;
  char *arg2 = (char *) 0 ;
  eIDMW::BEID_ByteArray *arg3 = 0 ;
  long result;
  
  arg1 = (eIDMW::BEID_SmartCard *)jarg1; 
  arg2 = (char *)jarg2; 
  arg3 = (eIDMW::BEID_ByteArray *)jarg3;
  if(!arg3) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_ByteArray & type is null", 0);
    return 0;
  } 
  {
    try 
    {
      result = (long)(arg1)->readFile((char const *)arg2,*arg3);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BEID_SmartCard_writeFile__SWIG_0(void * jarg1, char * jarg2, void * jarg3, void * jarg4, char * jarg5) {
  unsigned int jresult ;
  eIDMW::BEID_SmartCard *arg1 = (eIDMW::BEID_SmartCard *) 0 ;
  char *arg2 = (char *) 0 ;
  eIDMW::BEID_ByteArray *arg3 = 0 ;
  eIDMW::BEID_Pin *arg4 = (eIDMW::BEID_Pin *) 0 ;
  char *arg5 = (char *) 0 ;
  bool result;
  
  arg1 = (eIDMW::BEID_SmartCard *)jarg1; 
  arg2 = (char *)jarg2; 
  arg3 = (eIDMW::BEID_ByteArray *)jarg3;
  if(!arg3) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_ByteArray const & type is null", 0);
    return 0;
  } 
  arg4 = (eIDMW::BEID_Pin *)jarg4; 
  arg5 = (char *)jarg5; 
  {
    try 
    {
      result = (bool)(arg1)->writeFile((char const *)arg2,(eIDMW::BEID_ByteArray const &)*arg3,arg4,(char const *)arg5);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BEID_SmartCard_writeFile__SWIG_1(void * jarg1, char * jarg2, void * jarg3, void * jarg4) {
  unsigned int jresult ;
  eIDMW::BEID_SmartCard *arg1 = (eIDMW::BEID_SmartCard *) 0 ;
  char *arg2 = (char *) 0 ;
  eIDMW::BEID_ByteArray *arg3 = 0 ;
  eIDMW::BEID_Pin *arg4 = (eIDMW::BEID_Pin *) 0 ;
  bool result;
  
  arg1 = (eIDMW::BEID_SmartCard *)jarg1; 
  arg2 = (char *)jarg2; 
  arg3 = (eIDMW::BEID_ByteArray *)jarg3;
  if(!arg3) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_ByteArray const & type is null", 0);
    return 0;
  } 
  arg4 = (eIDMW::BEID_Pin *)jarg4; 
  {
    try 
    {
      result = (bool)(arg1)->writeFile((char const *)arg2,(eIDMW::BEID_ByteArray const &)*arg3,arg4);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BEID_SmartCard_writeFile__SWIG_2(void * jarg1, char * jarg2, void * jarg3) {
  unsigned int jresult ;
  eIDMW::BEID_SmartCard *arg1 = (eIDMW::BEID_SmartCard *) 0 ;
  char *arg2 = (char *) 0 ;
  eIDMW::BEID_ByteArray *arg3 = 0 ;
  bool result;
  
  arg1 = (eIDMW::BEID_SmartCard *)jarg1; 
  arg2 = (char *)jarg2; 
  arg3 = (eIDMW::BEID_ByteArray *)jarg3;
  if(!arg3) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_ByteArray const & type is null", 0);
    return 0;
  } 
  {
    try 
    {
      result = (bool)(arg1)->writeFile((char const *)arg2,(eIDMW::BEID_ByteArray const &)*arg3);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT unsigned long SWIGSTDCALL CSharp_BEID_SmartCard_pinCount(void * jarg1) {
  unsigned long jresult ;
  eIDMW::BEID_SmartCard *arg1 = (eIDMW::BEID_SmartCard *) 0 ;
  unsigned long result;
  
  arg1 = (eIDMW::BEID_SmartCard *)jarg1; 
  {
    try 
    {
      result = (unsigned long)(arg1)->pinCount();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (unsigned long)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_SmartCard_getPins(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_SmartCard *arg1 = (eIDMW::BEID_SmartCard *) 0 ;
  eIDMW::BEID_Pins *result = 0 ;
  
  arg1 = (eIDMW::BEID_SmartCard *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_Pins &_result_ref = (arg1)->getPins();
        result = (eIDMW::BEID_Pins *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT unsigned long SWIGSTDCALL CSharp_BEID_SmartCard_certificateCount(void * jarg1) {
  unsigned long jresult ;
  eIDMW::BEID_SmartCard *arg1 = (eIDMW::BEID_SmartCard *) 0 ;
  unsigned long result;
  
  arg1 = (eIDMW::BEID_SmartCard *)jarg1; 
  {
    try 
    {
      result = (unsigned long)(arg1)->certificateCount();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (unsigned long)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_SmartCard_getCertificates(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_SmartCard *arg1 = (eIDMW::BEID_SmartCard *) 0 ;
  eIDMW::BEID_Certificates *result = 0 ;
  
  arg1 = (eIDMW::BEID_SmartCard *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_Certificates &_result_ref = (arg1)->getCertificates();
        result = (eIDMW::BEID_Certificates *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_SmartCard_getChallenge__SWIG_0(void * jarg1, unsigned int jarg2) {
  void * jresult ;
  eIDMW::BEID_SmartCard *arg1 = (eIDMW::BEID_SmartCard *) 0 ;
  bool arg2 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_SmartCard *)jarg1; 
  arg2 = jarg2 ? true : false; 
  {
    try 
    {
      {
        eIDMW::BEID_ByteArray const &_result_ref = (arg1)->getChallenge(arg2);
        result = (eIDMW::BEID_ByteArray *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_SmartCard_getChallenge__SWIG_1(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_SmartCard *arg1 = (eIDMW::BEID_SmartCard *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_SmartCard *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_ByteArray const &_result_ref = (arg1)->getChallenge();
        result = (eIDMW::BEID_ByteArray *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_SmartCard_getChallengeResponse(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_SmartCard *arg1 = (eIDMW::BEID_SmartCard *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_SmartCard *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_ByteArray const &_result_ref = (arg1)->getChallengeResponse();
        result = (eIDMW::BEID_ByteArray *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BEID_SmartCard_verifyChallengeResponse(void * jarg1, void * jarg2, void * jarg3) {
  unsigned int jresult ;
  eIDMW::BEID_SmartCard *arg1 = (eIDMW::BEID_SmartCard *) 0 ;
  eIDMW::BEID_ByteArray *arg2 = 0 ;
  eIDMW::BEID_ByteArray *arg3 = 0 ;
  bool result;
  
  arg1 = (eIDMW::BEID_SmartCard *)jarg1; 
  arg2 = (eIDMW::BEID_ByteArray *)jarg2;
  if(!arg2) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_ByteArray const & type is null", 0);
    return 0;
  } 
  arg3 = (eIDMW::BEID_ByteArray *)jarg3;
  if(!arg3) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_ByteArray const & type is null", 0);
    return 0;
  } 
  {
    try 
    {
      result = (bool)((eIDMW::BEID_SmartCard const *)arg1)->verifyChallengeResponse((eIDMW::BEID_ByteArray const &)*arg2,(eIDMW::BEID_ByteArray const &)*arg3);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_SISCard(void * jarg1) {
  eIDMW::BEID_SISCard *arg1 = (eIDMW::BEID_SISCard *) 0 ;
  
  arg1 = (eIDMW::BEID_SISCard *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_SISCard_getDocument(void * jarg1, int jarg2) {
  void * jresult ;
  eIDMW::BEID_SISCard *arg1 = (eIDMW::BEID_SISCard *) 0 ;
  eIDMW::BEID_DocumentType arg2 ;
  eIDMW::BEID_XMLDoc *result = 0 ;
  
  arg1 = (eIDMW::BEID_SISCard *)jarg1; 
  arg2 = (eIDMW::BEID_DocumentType)jarg2; 
  {
    try 
    {
      {
        eIDMW::BEID_XMLDoc &_result_ref = (arg1)->getDocument(arg2);
        result = (eIDMW::BEID_XMLDoc *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_SISCard_getFullDoc(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_SISCard *arg1 = (eIDMW::BEID_SISCard *) 0 ;
  eIDMW::BEID_SisFullDoc *result = 0 ;
  
  arg1 = (eIDMW::BEID_SISCard *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_SisFullDoc &_result_ref = (arg1)->getFullDoc();
        result = (eIDMW::BEID_SisFullDoc *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_SISCard_getID(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_SISCard *arg1 = (eIDMW::BEID_SISCard *) 0 ;
  eIDMW::BEID_SisId *result = 0 ;
  
  arg1 = (eIDMW::BEID_SISCard *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_SisId &_result_ref = (arg1)->getID();
        result = (eIDMW::BEID_SisId *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_SISCard_getRawData(void * jarg1, int jarg2) {
  void * jresult ;
  eIDMW::BEID_SISCard *arg1 = (eIDMW::BEID_SISCard *) 0 ;
  eIDMW::BEID_RawDataType arg2 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_SISCard *)jarg1; 
  arg2 = (eIDMW::BEID_RawDataType)jarg2; 
  {
    try 
    {
      {
        eIDMW::BEID_ByteArray const &_result_ref = (arg1)->getRawData(arg2);
        result = (eIDMW::BEID_ByteArray *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_SISCard_getRawData_Id(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_SISCard *arg1 = (eIDMW::BEID_SISCard *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_SISCard *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_ByteArray const &_result_ref = (arg1)->getRawData_Id();
        result = (eIDMW::BEID_ByteArray *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_EIDCard(void * jarg1) {
  eIDMW::BEID_EIDCard *arg1 = (eIDMW::BEID_EIDCard *) 0 ;
  
  arg1 = (eIDMW::BEID_EIDCard *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BEID_EIDCard_isApplicationAllowed() {
  unsigned int jresult ;
  bool result;
  
  {
    try 
    {
      result = (bool)eIDMW::BEID_EIDCard::isApplicationAllowed();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BEID_EIDCard_isTestCard(void * jarg1) {
  unsigned int jresult ;
  eIDMW::BEID_EIDCard *arg1 = (eIDMW::BEID_EIDCard *) 0 ;
  bool result;
  
  arg1 = (eIDMW::BEID_EIDCard *)jarg1; 
  {
    try 
    {
      result = (bool)(arg1)->isTestCard();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BEID_EIDCard_getAllowTestCard(void * jarg1) {
  unsigned int jresult ;
  eIDMW::BEID_EIDCard *arg1 = (eIDMW::BEID_EIDCard *) 0 ;
  bool result;
  
  arg1 = (eIDMW::BEID_EIDCard *)jarg1; 
  {
    try 
    {
      result = (bool)(arg1)->getAllowTestCard();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_EIDCard_setAllowTestCard(void * jarg1, unsigned int jarg2) {
  eIDMW::BEID_EIDCard *arg1 = (eIDMW::BEID_EIDCard *) 0 ;
  bool arg2 ;
  
  arg1 = (eIDMW::BEID_EIDCard *)jarg1; 
  arg2 = jarg2 ? true : false; 
  {
    try 
    {
      (arg1)->setAllowTestCard(arg2);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT int SWIGSTDCALL CSharp_BEID_EIDCard_getDataStatus(void * jarg1) {
  int jresult ;
  eIDMW::BEID_EIDCard *arg1 = (eIDMW::BEID_EIDCard *) 0 ;
  eIDMW::BEID_CertifStatus result;
  
  arg1 = (eIDMW::BEID_EIDCard *)jarg1; 
  {
    try 
    {
      result = (eIDMW::BEID_CertifStatus)(arg1)->getDataStatus();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_EIDCard_getDocument(void * jarg1, int jarg2) {
  void * jresult ;
  eIDMW::BEID_EIDCard *arg1 = (eIDMW::BEID_EIDCard *) 0 ;
  eIDMW::BEID_DocumentType arg2 ;
  eIDMW::BEID_XMLDoc *result = 0 ;
  
  arg1 = (eIDMW::BEID_EIDCard *)jarg1; 
  arg2 = (eIDMW::BEID_DocumentType)jarg2; 
  {
    try 
    {
      {
        eIDMW::BEID_XMLDoc &_result_ref = (arg1)->getDocument(arg2);
        result = (eIDMW::BEID_XMLDoc *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_EIDCard_getFullDoc(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_EIDCard *arg1 = (eIDMW::BEID_EIDCard *) 0 ;
  eIDMW::BEID_EIdFullDoc *result = 0 ;
  
  arg1 = (eIDMW::BEID_EIDCard *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_EIdFullDoc &_result_ref = (arg1)->getFullDoc();
        result = (eIDMW::BEID_EIdFullDoc *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_EIDCard_getID(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_EIDCard *arg1 = (eIDMW::BEID_EIDCard *) 0 ;
  eIDMW::BEID_EId *result = 0 ;
  
  arg1 = (eIDMW::BEID_EIDCard *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_EId &_result_ref = (arg1)->getID();
        result = (eIDMW::BEID_EId *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_EIDCard_getPicture(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_EIDCard *arg1 = (eIDMW::BEID_EIDCard *) 0 ;
  eIDMW::BEID_Picture *result = 0 ;
  
  arg1 = (eIDMW::BEID_EIDCard *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_Picture &_result_ref = (arg1)->getPicture();
        result = (eIDMW::BEID_Picture *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_EIDCard_getVersionInfo(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_EIDCard *arg1 = (eIDMW::BEID_EIDCard *) 0 ;
  eIDMW::BEID_CardVersionInfo *result = 0 ;
  
  arg1 = (eIDMW::BEID_EIDCard *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_CardVersionInfo &_result_ref = (arg1)->getVersionInfo();
        result = (eIDMW::BEID_CardVersionInfo *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_EIDCard_getCert(void * jarg1, int jarg2) {
  void * jresult ;
  eIDMW::BEID_EIDCard *arg1 = (eIDMW::BEID_EIDCard *) 0 ;
  eIDMW::BEID_CertifType arg2 ;
  eIDMW::BEID_Certificate *result = 0 ;
  
  arg1 = (eIDMW::BEID_EIDCard *)jarg1; 
  arg2 = (eIDMW::BEID_CertifType)jarg2; 
  {
    try 
    {
      {
        eIDMW::BEID_Certificate &_result_ref = (arg1)->getCert(arg2);
        result = (eIDMW::BEID_Certificate *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_EIDCard_getRrn(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_EIDCard *arg1 = (eIDMW::BEID_EIDCard *) 0 ;
  eIDMW::BEID_Certificate *result = 0 ;
  
  arg1 = (eIDMW::BEID_EIDCard *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_Certificate &_result_ref = (arg1)->getRrn();
        result = (eIDMW::BEID_Certificate *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_EIDCard_getRoot(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_EIDCard *arg1 = (eIDMW::BEID_EIDCard *) 0 ;
  eIDMW::BEID_Certificate *result = 0 ;
  
  arg1 = (eIDMW::BEID_EIDCard *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_Certificate &_result_ref = (arg1)->getRoot();
        result = (eIDMW::BEID_Certificate *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_EIDCard_getCA(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_EIDCard *arg1 = (eIDMW::BEID_EIDCard *) 0 ;
  eIDMW::BEID_Certificate *result = 0 ;
  
  arg1 = (eIDMW::BEID_EIDCard *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_Certificate &_result_ref = (arg1)->getCA();
        result = (eIDMW::BEID_Certificate *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_EIDCard_getSignature(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_EIDCard *arg1 = (eIDMW::BEID_EIDCard *) 0 ;
  eIDMW::BEID_Certificate *result = 0 ;
  
  arg1 = (eIDMW::BEID_EIDCard *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_Certificate &_result_ref = (arg1)->getSignature();
        result = (eIDMW::BEID_Certificate *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_EIDCard_getAuthentication(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_EIDCard *arg1 = (eIDMW::BEID_EIDCard *) 0 ;
  eIDMW::BEID_Certificate *result = 0 ;
  
  arg1 = (eIDMW::BEID_EIDCard *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_Certificate &_result_ref = (arg1)->getAuthentication();
        result = (eIDMW::BEID_Certificate *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_EIDCard_getRawData(void * jarg1, int jarg2) {
  void * jresult ;
  eIDMW::BEID_EIDCard *arg1 = (eIDMW::BEID_EIDCard *) 0 ;
  eIDMW::BEID_RawDataType arg2 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_EIDCard *)jarg1; 
  arg2 = (eIDMW::BEID_RawDataType)jarg2; 
  {
    try 
    {
      {
        eIDMW::BEID_ByteArray const &_result_ref = (arg1)->getRawData(arg2);
        result = (eIDMW::BEID_ByteArray *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_EIDCard_getRawData_Id(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_EIDCard *arg1 = (eIDMW::BEID_EIDCard *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_EIDCard *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_ByteArray const &_result_ref = (arg1)->getRawData_Id();
        result = (eIDMW::BEID_ByteArray *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_EIDCard_getRawData_IdSig(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_EIDCard *arg1 = (eIDMW::BEID_EIDCard *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_EIDCard *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_ByteArray const &_result_ref = (arg1)->getRawData_IdSig();
        result = (eIDMW::BEID_ByteArray *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_EIDCard_getRawData_Addr(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_EIDCard *arg1 = (eIDMW::BEID_EIDCard *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_EIDCard *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_ByteArray const &_result_ref = (arg1)->getRawData_Addr();
        result = (eIDMW::BEID_ByteArray *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_EIDCard_getRawData_AddrSig(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_EIDCard *arg1 = (eIDMW::BEID_EIDCard *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_EIDCard *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_ByteArray const &_result_ref = (arg1)->getRawData_AddrSig();
        result = (eIDMW::BEID_ByteArray *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_EIDCard_getRawData_Picture(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_EIDCard *arg1 = (eIDMW::BEID_EIDCard *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_EIDCard *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_ByteArray const &_result_ref = (arg1)->getRawData_Picture();
        result = (eIDMW::BEID_ByteArray *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_EIDCard_getRawData_CardInfo(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_EIDCard *arg1 = (eIDMW::BEID_EIDCard *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_EIDCard *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_ByteArray const &_result_ref = (arg1)->getRawData_CardInfo();
        result = (eIDMW::BEID_ByteArray *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_EIDCard_getRawData_TokenInfo(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_EIDCard *arg1 = (eIDMW::BEID_EIDCard *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_EIDCard *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_ByteArray const &_result_ref = (arg1)->getRawData_TokenInfo();
        result = (eIDMW::BEID_ByteArray *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_EIDCard_getRawData_CertRRN(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_EIDCard *arg1 = (eIDMW::BEID_EIDCard *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_EIDCard *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_ByteArray const &_result_ref = (arg1)->getRawData_CertRRN();
        result = (eIDMW::BEID_ByteArray *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_EIDCard_getRawData_Challenge(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_EIDCard *arg1 = (eIDMW::BEID_EIDCard *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_EIDCard *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_ByteArray const &_result_ref = (arg1)->getRawData_Challenge();
        result = (eIDMW::BEID_ByteArray *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_EIDCard_getRawData_Response(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_EIDCard *arg1 = (eIDMW::BEID_EIDCard *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_EIDCard *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_ByteArray const &_result_ref = (arg1)->getRawData_Response();
        result = (eIDMW::BEID_ByteArray *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_KidsCard(void * jarg1) {
  eIDMW::BEID_KidsCard *arg1 = (eIDMW::BEID_KidsCard *) 0 ;
  
  arg1 = (eIDMW::BEID_KidsCard *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_ForeignerCard(void * jarg1) {
  eIDMW::BEID_ForeignerCard *arg1 = (eIDMW::BEID_ForeignerCard *) 0 ;
  
  arg1 = (eIDMW::BEID_ForeignerCard *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_XMLDoc(void * jarg1) {
  eIDMW::BEID_XMLDoc *arg1 = (eIDMW::BEID_XMLDoc *) 0 ;
  
  arg1 = (eIDMW::BEID_XMLDoc *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BEID_XMLDoc_isAllowed(void * jarg1) {
  unsigned int jresult ;
  eIDMW::BEID_XMLDoc *arg1 = (eIDMW::BEID_XMLDoc *) 0 ;
  bool result;
  
  arg1 = (eIDMW::BEID_XMLDoc *)jarg1; 
  {
    try 
    {
      result = (bool)(arg1)->isAllowed();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_XMLDoc_getXML(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_XMLDoc *arg1 = (eIDMW::BEID_XMLDoc *) 0 ;
  eIDMW::BEID_ByteArray result;
  
  arg1 = (eIDMW::BEID_XMLDoc *)jarg1; 
  {
    try 
    {
      result = (arg1)->getXML();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = new eIDMW::BEID_ByteArray((eIDMW::BEID_ByteArray &)result); 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_XMLDoc_getCSV(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_XMLDoc *arg1 = (eIDMW::BEID_XMLDoc *) 0 ;
  eIDMW::BEID_ByteArray result;
  
  arg1 = (eIDMW::BEID_XMLDoc *)jarg1; 
  {
    try 
    {
      result = (arg1)->getCSV();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = new eIDMW::BEID_ByteArray((eIDMW::BEID_ByteArray &)result); 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_XMLDoc_getTLV(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_XMLDoc *arg1 = (eIDMW::BEID_XMLDoc *) 0 ;
  eIDMW::BEID_ByteArray result;
  
  arg1 = (eIDMW::BEID_XMLDoc *)jarg1; 
  {
    try 
    {
      result = (arg1)->getTLV();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = new eIDMW::BEID_ByteArray((eIDMW::BEID_ByteArray &)result); 
  return jresult;
}


SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BEID_XMLDoc_writeXmlToFile(void * jarg1, char * jarg2) {
  unsigned int jresult ;
  eIDMW::BEID_XMLDoc *arg1 = (eIDMW::BEID_XMLDoc *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  
  arg1 = (eIDMW::BEID_XMLDoc *)jarg1; 
  arg2 = (char *)jarg2; 
  {
    try 
    {
      result = (bool)(arg1)->writeXmlToFile((char const *)arg2);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BEID_XMLDoc_writeCsvToFile(void * jarg1, char * jarg2) {
  unsigned int jresult ;
  eIDMW::BEID_XMLDoc *arg1 = (eIDMW::BEID_XMLDoc *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  
  arg1 = (eIDMW::BEID_XMLDoc *)jarg1; 
  arg2 = (char *)jarg2; 
  {
    try 
    {
      result = (bool)(arg1)->writeCsvToFile((char const *)arg2);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BEID_XMLDoc_writeTlvToFile(void * jarg1, char * jarg2) {
  unsigned int jresult ;
  eIDMW::BEID_XMLDoc *arg1 = (eIDMW::BEID_XMLDoc *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  
  arg1 = (eIDMW::BEID_XMLDoc *)jarg1; 
  arg2 = (char *)jarg2; 
  {
    try 
    {
      result = (bool)(arg1)->writeTlvToFile((char const *)arg2);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_Biometric(void * jarg1) {
  eIDMW::BEID_Biometric *arg1 = (eIDMW::BEID_Biometric *) 0 ;
  
  arg1 = (eIDMW::BEID_Biometric *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_Crypto(void * jarg1) {
  eIDMW::BEID_Crypto *arg1 = (eIDMW::BEID_Crypto *) 0 ;
  
  arg1 = (eIDMW::BEID_Crypto *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_CardVersionInfo(void * jarg1) {
  eIDMW::BEID_CardVersionInfo *arg1 = (eIDMW::BEID_CardVersionInfo *) 0 ;
  
  arg1 = (eIDMW::BEID_CardVersionInfo *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_CardVersionInfo_getSerialNumber(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_CardVersionInfo *arg1 = (eIDMW::BEID_CardVersionInfo *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_CardVersionInfo *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getSerialNumber();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_CardVersionInfo_getComponentCode(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_CardVersionInfo *arg1 = (eIDMW::BEID_CardVersionInfo *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_CardVersionInfo *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getComponentCode();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_CardVersionInfo_getOsNumber(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_CardVersionInfo *arg1 = (eIDMW::BEID_CardVersionInfo *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_CardVersionInfo *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getOsNumber();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_CardVersionInfo_getOsVersion(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_CardVersionInfo *arg1 = (eIDMW::BEID_CardVersionInfo *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_CardVersionInfo *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getOsVersion();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_CardVersionInfo_getSoftmaskNumber(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_CardVersionInfo *arg1 = (eIDMW::BEID_CardVersionInfo *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_CardVersionInfo *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getSoftmaskNumber();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_CardVersionInfo_getSoftmaskVersion(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_CardVersionInfo *arg1 = (eIDMW::BEID_CardVersionInfo *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_CardVersionInfo *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getSoftmaskVersion();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_CardVersionInfo_getAppletVersion(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_CardVersionInfo *arg1 = (eIDMW::BEID_CardVersionInfo *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_CardVersionInfo *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getAppletVersion();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_CardVersionInfo_getGlobalOsVersion(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_CardVersionInfo *arg1 = (eIDMW::BEID_CardVersionInfo *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_CardVersionInfo *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getGlobalOsVersion();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_CardVersionInfo_getAppletInterfaceVersion(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_CardVersionInfo *arg1 = (eIDMW::BEID_CardVersionInfo *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_CardVersionInfo *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getAppletInterfaceVersion();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_CardVersionInfo_getPKCS1Support(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_CardVersionInfo *arg1 = (eIDMW::BEID_CardVersionInfo *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_CardVersionInfo *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getPKCS1Support();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_CardVersionInfo_getKeyExchangeVersion(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_CardVersionInfo *arg1 = (eIDMW::BEID_CardVersionInfo *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_CardVersionInfo *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getKeyExchangeVersion();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_CardVersionInfo_getAppletLifeCycle(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_CardVersionInfo *arg1 = (eIDMW::BEID_CardVersionInfo *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_CardVersionInfo *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getAppletLifeCycle();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_CardVersionInfo_getGraphicalPersonalisation(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_CardVersionInfo *arg1 = (eIDMW::BEID_CardVersionInfo *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_CardVersionInfo *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getGraphicalPersonalisation();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_CardVersionInfo_getElectricalPersonalisation(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_CardVersionInfo *arg1 = (eIDMW::BEID_CardVersionInfo *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_CardVersionInfo *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getElectricalPersonalisation();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_CardVersionInfo_getElectricalPersonalisationInterface(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_CardVersionInfo *arg1 = (eIDMW::BEID_CardVersionInfo *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_CardVersionInfo *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getElectricalPersonalisationInterface();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_CardVersionInfo_getSignature(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_CardVersionInfo *arg1 = (eIDMW::BEID_CardVersionInfo *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_CardVersionInfo *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_ByteArray const &_result_ref = (arg1)->getSignature();
        result = (eIDMW::BEID_ByteArray *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_Picture(void * jarg1) {
  eIDMW::BEID_Picture *arg1 = (eIDMW::BEID_Picture *) 0 ;
  
  arg1 = (eIDMW::BEID_Picture *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_Picture_getData(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_Picture *arg1 = (eIDMW::BEID_Picture *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_Picture *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_ByteArray const &_result_ref = (arg1)->getData();
        result = (eIDMW::BEID_ByteArray *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_Picture_getHash(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_Picture *arg1 = (eIDMW::BEID_Picture *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_Picture *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_ByteArray const &_result_ref = (arg1)->getHash();
        result = (eIDMW::BEID_ByteArray *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_SisId(void * jarg1) {
  eIDMW::BEID_SisId *arg1 = (eIDMW::BEID_SisId *) 0 ;
  
  arg1 = (eIDMW::BEID_SisId *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_SisId_getName(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_SisId *arg1 = (eIDMW::BEID_SisId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_SisId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getName();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_SisId_getSurname(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_SisId *arg1 = (eIDMW::BEID_SisId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_SisId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getSurname();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_SisId_getInitials(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_SisId *arg1 = (eIDMW::BEID_SisId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_SisId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getInitials();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_SisId_getGender(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_SisId *arg1 = (eIDMW::BEID_SisId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_SisId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getGender();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_SisId_getDateOfBirth(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_SisId *arg1 = (eIDMW::BEID_SisId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_SisId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getDateOfBirth();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_SisId_getSocialSecurityNumber(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_SisId *arg1 = (eIDMW::BEID_SisId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_SisId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getSocialSecurityNumber();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_SisId_getLogicalNumber(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_SisId *arg1 = (eIDMW::BEID_SisId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_SisId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getLogicalNumber();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_SisId_getDateOfIssue(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_SisId *arg1 = (eIDMW::BEID_SisId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_SisId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getDateOfIssue();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_SisId_getValidityBeginDate(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_SisId *arg1 = (eIDMW::BEID_SisId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_SisId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getValidityBeginDate();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_SisId_getValidityEndDate(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_SisId *arg1 = (eIDMW::BEID_SisId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_SisId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getValidityEndDate();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_EId(void * jarg1) {
  eIDMW::BEID_EId *arg1 = (eIDMW::BEID_EId *) 0 ;
  
  arg1 = (eIDMW::BEID_EId *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_EId_getDocumentVersion(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_EId *arg1 = (eIDMW::BEID_EId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_EId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getDocumentVersion();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_EId_getDocumentType(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_EId *arg1 = (eIDMW::BEID_EId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_EId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getDocumentType();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_EId_getFirstName(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_EId *arg1 = (eIDMW::BEID_EId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_EId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getFirstName();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_EId_getFirstName1(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_EId *arg1 = (eIDMW::BEID_EId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_EId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getFirstName1();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_EId_getFirstName2(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_EId *arg1 = (eIDMW::BEID_EId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_EId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getFirstName2();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_EId_getSurname(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_EId *arg1 = (eIDMW::BEID_EId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_EId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getSurname();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_EId_getGender(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_EId *arg1 = (eIDMW::BEID_EId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_EId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getGender();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_EId_getDateOfBirth(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_EId *arg1 = (eIDMW::BEID_EId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_EId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getDateOfBirth();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_EId_getLocationOfBirth(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_EId *arg1 = (eIDMW::BEID_EId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_EId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getLocationOfBirth();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_EId_getNobility(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_EId *arg1 = (eIDMW::BEID_EId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_EId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getNobility();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_EId_getNationality(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_EId *arg1 = (eIDMW::BEID_EId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_EId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getNationality();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_EId_getNationalNumber(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_EId *arg1 = (eIDMW::BEID_EId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_EId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getNationalNumber();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_EId_getDuplicata(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_EId *arg1 = (eIDMW::BEID_EId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_EId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getDuplicata();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_EId_getSpecialOrganization(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_EId *arg1 = (eIDMW::BEID_EId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_EId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getSpecialOrganization();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_EId_getMemberOfFamily(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_EId *arg1 = (eIDMW::BEID_EId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_EId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getMemberOfFamily();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_EId_getLogicalNumber(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_EId *arg1 = (eIDMW::BEID_EId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_EId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getLogicalNumber();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_EId_getChipNumber(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_EId *arg1 = (eIDMW::BEID_EId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_EId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getChipNumber();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_EId_getValidityBeginDate(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_EId *arg1 = (eIDMW::BEID_EId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_EId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getValidityBeginDate();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_EId_getValidityEndDate(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_EId *arg1 = (eIDMW::BEID_EId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_EId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getValidityEndDate();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_EId_getIssuingMunicipality(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_EId *arg1 = (eIDMW::BEID_EId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_EId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getIssuingMunicipality();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_EId_getAddressVersion(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_EId *arg1 = (eIDMW::BEID_EId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_EId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getAddressVersion();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_EId_getStreet(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_EId *arg1 = (eIDMW::BEID_EId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_EId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getStreet();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_EId_getZipCode(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_EId *arg1 = (eIDMW::BEID_EId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_EId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getZipCode();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_EId_getMunicipality(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_EId *arg1 = (eIDMW::BEID_EId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_EId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getMunicipality();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_EId_getCountry(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_EId *arg1 = (eIDMW::BEID_EId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_EId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getCountry();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_EId_getSpecialStatus(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_EId *arg1 = (eIDMW::BEID_EId *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_EId *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getSpecialStatus();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_SisFullDoc(void * jarg1) {
  eIDMW::BEID_SisFullDoc *arg1 = (eIDMW::BEID_SisFullDoc *) 0 ;
  
  arg1 = (eIDMW::BEID_SisFullDoc *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_EIdFullDoc(void * jarg1) {
  eIDMW::BEID_EIdFullDoc *arg1 = (eIDMW::BEID_EIdFullDoc *) 0 ;
  
  arg1 = (eIDMW::BEID_EIdFullDoc *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_Pins(void * jarg1) {
  eIDMW::BEID_Pins *arg1 = (eIDMW::BEID_Pins *) 0 ;
  
  arg1 = (eIDMW::BEID_Pins *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT unsigned long SWIGSTDCALL CSharp_BEID_Pins_count(void * jarg1) {
  unsigned long jresult ;
  eIDMW::BEID_Pins *arg1 = (eIDMW::BEID_Pins *) 0 ;
  unsigned long result;
  
  arg1 = (eIDMW::BEID_Pins *)jarg1; 
  {
    try 
    {
      result = (unsigned long)(arg1)->count();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (unsigned long)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_Pins_getPinByNumber(void * jarg1, unsigned long jarg2) {
  void * jresult ;
  eIDMW::BEID_Pins *arg1 = (eIDMW::BEID_Pins *) 0 ;
  unsigned long arg2 ;
  eIDMW::BEID_Pin *result = 0 ;
  
  arg1 = (eIDMW::BEID_Pins *)jarg1; 
  arg2 = (unsigned long)jarg2; 
  {
    try 
    {
      {
        eIDMW::BEID_Pin &_result_ref = (arg1)->getPinByNumber(arg2);
        result = (eIDMW::BEID_Pin *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_Pin(void * jarg1) {
  eIDMW::BEID_Pin *arg1 = (eIDMW::BEID_Pin *) 0 ;
  
  arg1 = (eIDMW::BEID_Pin *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT unsigned long SWIGSTDCALL CSharp_BEID_Pin_getIndex(void * jarg1) {
  unsigned long jresult ;
  eIDMW::BEID_Pin *arg1 = (eIDMW::BEID_Pin *) 0 ;
  unsigned long result;
  
  arg1 = (eIDMW::BEID_Pin *)jarg1; 
  {
    try 
    {
      result = (unsigned long)(arg1)->getIndex();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (unsigned long)result; 
  return jresult;
}


SWIGEXPORT unsigned long SWIGSTDCALL CSharp_BEID_Pin_getType(void * jarg1) {
  unsigned long jresult ;
  eIDMW::BEID_Pin *arg1 = (eIDMW::BEID_Pin *) 0 ;
  unsigned long result;
  
  arg1 = (eIDMW::BEID_Pin *)jarg1; 
  {
    try 
    {
      result = (unsigned long)(arg1)->getType();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (unsigned long)result; 
  return jresult;
}


SWIGEXPORT unsigned long SWIGSTDCALL CSharp_BEID_Pin_getId(void * jarg1) {
  unsigned long jresult ;
  eIDMW::BEID_Pin *arg1 = (eIDMW::BEID_Pin *) 0 ;
  unsigned long result;
  
  arg1 = (eIDMW::BEID_Pin *)jarg1; 
  {
    try 
    {
      result = (unsigned long)(arg1)->getId();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (unsigned long)result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_BEID_Pin_getUsageCode(void * jarg1) {
  int jresult ;
  eIDMW::BEID_Pin *arg1 = (eIDMW::BEID_Pin *) 0 ;
  eIDMW::BEID_PinUsage result;
  
  arg1 = (eIDMW::BEID_Pin *)jarg1; 
  {
    try 
    {
      result = (eIDMW::BEID_PinUsage)(arg1)->getUsageCode();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT unsigned long SWIGSTDCALL CSharp_BEID_Pin_getFlags(void * jarg1) {
  unsigned long jresult ;
  eIDMW::BEID_Pin *arg1 = (eIDMW::BEID_Pin *) 0 ;
  unsigned long result;
  
  arg1 = (eIDMW::BEID_Pin *)jarg1; 
  {
    try 
    {
      result = (unsigned long)(arg1)->getFlags();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (unsigned long)result; 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_Pin_getLabel(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_Pin *arg1 = (eIDMW::BEID_Pin *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_Pin *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getLabel();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_Pin_getSignature(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_Pin *arg1 = (eIDMW::BEID_Pin *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_Pin *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_ByteArray const &_result_ref = (arg1)->getSignature();
        result = (eIDMW::BEID_ByteArray *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT long SWIGSTDCALL CSharp_BEID_Pin_getTriesLeft(void * jarg1) {
  long jresult ;
  eIDMW::BEID_Pin *arg1 = (eIDMW::BEID_Pin *) 0 ;
  long result;
  
  arg1 = (eIDMW::BEID_Pin *)jarg1; 
  {
    try 
    {
      result = (long)(arg1)->getTriesLeft();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BEID_Pin_verifyPin__SWIG_0(void * jarg1) {
  unsigned int jresult ;
  eIDMW::BEID_Pin *arg1 = (eIDMW::BEID_Pin *) 0 ;
  bool result;
  
  arg1 = (eIDMW::BEID_Pin *)jarg1; 
  {
    try 
    {
      result = (bool)(arg1)->verifyPin();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BEID_Pin_verifyPin__SWIG_1(void * jarg1, char * jarg2, unsigned long * jarg3) {
  unsigned int jresult ;
  eIDMW::BEID_Pin *arg1 = (eIDMW::BEID_Pin *) 0 ;
  char *arg2 = (char *) 0 ;
  unsigned long *arg3 = 0 ;
  bool result;
  
  arg1 = (eIDMW::BEID_Pin *)jarg1; 
  arg2 = (char *)jarg2; 
  arg3 = (unsigned long *)jarg3;
  if(!arg3) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "unsigned long & type is null", 0);
    return 0;
  } 
  {
    try 
    {
      result = (bool)(arg1)->verifyPin((char const *)arg2,*arg3);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BEID_Pin_changePin__SWIG_0(void * jarg1) {
  unsigned int jresult ;
  eIDMW::BEID_Pin *arg1 = (eIDMW::BEID_Pin *) 0 ;
  bool result;
  
  arg1 = (eIDMW::BEID_Pin *)jarg1; 
  {
    try 
    {
      result = (bool)(arg1)->changePin();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BEID_Pin_changePin__SWIG_1(void * jarg1, char * jarg2, char * jarg3, unsigned long * jarg4) {
  unsigned int jresult ;
  eIDMW::BEID_Pin *arg1 = (eIDMW::BEID_Pin *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  unsigned long *arg4 = 0 ;
  bool result;
  
  arg1 = (eIDMW::BEID_Pin *)jarg1; 
  arg2 = (char *)jarg2; 
  arg3 = (char *)jarg3; 
  arg4 = (unsigned long *)jarg4;
  if(!arg4) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "unsigned long & type is null", 0);
    return 0;
  } 
  {
    try 
    {
      result = (bool)(arg1)->changePin((char const *)arg2,(char const *)arg3,*arg4);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_Crl(char * jarg1) {
  void * jresult ;
  char *arg1 = (char *) 0 ;
  eIDMW::BEID_Crl *result = 0 ;
  
  arg1 = (char *)jarg1; 
  {
    try 
    {
      result = (eIDMW::BEID_Crl *)new eIDMW::BEID_Crl((char const *)arg1);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_Crl(void * jarg1) {
  eIDMW::BEID_Crl *arg1 = (eIDMW::BEID_Crl *) 0 ;
  
  arg1 = (eIDMW::BEID_Crl *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_Crl_getUri(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_Crl *arg1 = (eIDMW::BEID_Crl *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_Crl *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getUri();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_Crl_getIssuerName(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_Crl *arg1 = (eIDMW::BEID_Crl *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_Crl *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getIssuerName();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_Crl_getIssuer(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_Crl *arg1 = (eIDMW::BEID_Crl *) 0 ;
  eIDMW::BEID_Certificate *result = 0 ;
  
  arg1 = (eIDMW::BEID_Crl *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_Certificate &_result_ref = (arg1)->getIssuer();
        result = (eIDMW::BEID_Certificate *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_BEID_Crl_getData__SWIG_0(void * jarg1, void * jarg2, unsigned int jarg3) {
  int jresult ;
  eIDMW::BEID_Crl *arg1 = (eIDMW::BEID_Crl *) 0 ;
  eIDMW::BEID_ByteArray *arg2 = 0 ;
  bool arg3 ;
  eIDMW::BEID_CrlStatus result;
  
  arg1 = (eIDMW::BEID_Crl *)jarg1; 
  arg2 = (eIDMW::BEID_ByteArray *)jarg2;
  if(!arg2) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_ByteArray & type is null", 0);
    return 0;
  } 
  arg3 = jarg3 ? true : false; 
  {
    try 
    {
      result = (eIDMW::BEID_CrlStatus)(arg1)->getData(*arg2,arg3);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_BEID_Crl_getData__SWIG_1(void * jarg1, void * jarg2) {
  int jresult ;
  eIDMW::BEID_Crl *arg1 = (eIDMW::BEID_Crl *) 0 ;
  eIDMW::BEID_ByteArray *arg2 = 0 ;
  eIDMW::BEID_CrlStatus result;
  
  arg1 = (eIDMW::BEID_Crl *)jarg1; 
  arg2 = (eIDMW::BEID_ByteArray *)jarg2;
  if(!arg2) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_ByteArray & type is null", 0);
    return 0;
  } 
  {
    try 
    {
      result = (eIDMW::BEID_CrlStatus)(arg1)->getData(*arg2);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_OcspResponse(char * jarg1, int jarg2, void * jarg3, void * jarg4, void * jarg5) {
  void * jresult ;
  char *arg1 = (char *) 0 ;
  eIDMW::BEID_HashAlgo arg2 ;
  eIDMW::BEID_ByteArray *arg3 = 0 ;
  eIDMW::BEID_ByteArray *arg4 = 0 ;
  eIDMW::BEID_ByteArray *arg5 = 0 ;
  eIDMW::BEID_OcspResponse *result = 0 ;
  
  arg1 = (char *)jarg1; 
  arg2 = (eIDMW::BEID_HashAlgo)jarg2; 
  arg3 = (eIDMW::BEID_ByteArray *)jarg3;
  if(!arg3) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_ByteArray const & type is null", 0);
    return 0;
  } 
  arg4 = (eIDMW::BEID_ByteArray *)jarg4;
  if(!arg4) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_ByteArray const & type is null", 0);
    return 0;
  } 
  arg5 = (eIDMW::BEID_ByteArray *)jarg5;
  if(!arg5) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_ByteArray const & type is null", 0);
    return 0;
  } 
  {
    try 
    {
      result = (eIDMW::BEID_OcspResponse *)new eIDMW::BEID_OcspResponse((char const *)arg1,arg2,(eIDMW::BEID_ByteArray const &)*arg3,(eIDMW::BEID_ByteArray const &)*arg4,(eIDMW::BEID_ByteArray const &)*arg5);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_OcspResponse(void * jarg1) {
  eIDMW::BEID_OcspResponse *arg1 = (eIDMW::BEID_OcspResponse *) 0 ;
  
  arg1 = (eIDMW::BEID_OcspResponse *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_OcspResponse_getUri(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_OcspResponse *arg1 = (eIDMW::BEID_OcspResponse *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_OcspResponse *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getUri();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_BEID_OcspResponse_getResponse(void * jarg1, void * jarg2) {
  int jresult ;
  eIDMW::BEID_OcspResponse *arg1 = (eIDMW::BEID_OcspResponse *) 0 ;
  eIDMW::BEID_ByteArray *arg2 = 0 ;
  eIDMW::BEID_CertifStatus result;
  
  arg1 = (eIDMW::BEID_OcspResponse *)jarg1; 
  arg2 = (eIDMW::BEID_ByteArray *)jarg2;
  if(!arg2) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_ByteArray & type is null", 0);
    return 0;
  } 
  {
    try 
    {
      result = (eIDMW::BEID_CertifStatus)(arg1)->getResponse(*arg2);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_Certificates() {
  void * jresult ;
  eIDMW::BEID_Certificates *result = 0 ;
  
  {
    try 
    {
      result = (eIDMW::BEID_Certificates *)new eIDMW::BEID_Certificates();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_Certificates(void * jarg1) {
  eIDMW::BEID_Certificates *arg1 = (eIDMW::BEID_Certificates *) 0 ;
  
  arg1 = (eIDMW::BEID_Certificates *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT unsigned long SWIGSTDCALL CSharp_BEID_Certificates_countFromCard(void * jarg1) {
  unsigned long jresult ;
  eIDMW::BEID_Certificates *arg1 = (eIDMW::BEID_Certificates *) 0 ;
  unsigned long result;
  
  arg1 = (eIDMW::BEID_Certificates *)jarg1; 
  {
    try 
    {
      result = (unsigned long)(arg1)->countFromCard();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (unsigned long)result; 
  return jresult;
}


SWIGEXPORT unsigned long SWIGSTDCALL CSharp_BEID_Certificates_countAll(void * jarg1) {
  unsigned long jresult ;
  eIDMW::BEID_Certificates *arg1 = (eIDMW::BEID_Certificates *) 0 ;
  unsigned long result;
  
  arg1 = (eIDMW::BEID_Certificates *)jarg1; 
  {
    try 
    {
      result = (unsigned long)(arg1)->countAll();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (unsigned long)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_Certificates_getCertFromCard(void * jarg1, unsigned long jarg2) {
  void * jresult ;
  eIDMW::BEID_Certificates *arg1 = (eIDMW::BEID_Certificates *) 0 ;
  unsigned long arg2 ;
  eIDMW::BEID_Certificate *result = 0 ;
  
  arg1 = (eIDMW::BEID_Certificates *)jarg1; 
  arg2 = (unsigned long)jarg2; 
  {
    try 
    {
      {
        eIDMW::BEID_Certificate &_result_ref = (arg1)->getCertFromCard(arg2);
        result = (eIDMW::BEID_Certificate *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_Certificates_getCert__SWIG_0(void * jarg1, unsigned long jarg2) {
  void * jresult ;
  eIDMW::BEID_Certificates *arg1 = (eIDMW::BEID_Certificates *) 0 ;
  unsigned long arg2 ;
  eIDMW::BEID_Certificate *result = 0 ;
  
  arg1 = (eIDMW::BEID_Certificates *)jarg1; 
  arg2 = (unsigned long)jarg2; 
  {
    try 
    {
      {
        eIDMW::BEID_Certificate &_result_ref = (arg1)->getCert(arg2);
        result = (eIDMW::BEID_Certificate *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_Certificates_getCert__SWIG_1(void * jarg1, int jarg2) {
  void * jresult ;
  eIDMW::BEID_Certificates *arg1 = (eIDMW::BEID_Certificates *) 0 ;
  eIDMW::BEID_CertifType arg2 ;
  eIDMW::BEID_Certificate *result = 0 ;
  
  arg1 = (eIDMW::BEID_Certificates *)jarg1; 
  arg2 = (eIDMW::BEID_CertifType)jarg2; 
  {
    try 
    {
      {
        eIDMW::BEID_Certificate &_result_ref = (arg1)->getCert(arg2);
        result = (eIDMW::BEID_Certificate *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_Certificates_getRrn(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_Certificates *arg1 = (eIDMW::BEID_Certificates *) 0 ;
  eIDMW::BEID_Certificate *result = 0 ;
  
  arg1 = (eIDMW::BEID_Certificates *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_Certificate &_result_ref = (arg1)->getRrn();
        result = (eIDMW::BEID_Certificate *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_Certificates_getRoot(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_Certificates *arg1 = (eIDMW::BEID_Certificates *) 0 ;
  eIDMW::BEID_Certificate *result = 0 ;
  
  arg1 = (eIDMW::BEID_Certificates *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_Certificate &_result_ref = (arg1)->getRoot();
        result = (eIDMW::BEID_Certificate *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_Certificates_getCA(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_Certificates *arg1 = (eIDMW::BEID_Certificates *) 0 ;
  eIDMW::BEID_Certificate *result = 0 ;
  
  arg1 = (eIDMW::BEID_Certificates *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_Certificate &_result_ref = (arg1)->getCA();
        result = (eIDMW::BEID_Certificate *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_Certificates_getSignature(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_Certificates *arg1 = (eIDMW::BEID_Certificates *) 0 ;
  eIDMW::BEID_Certificate *result = 0 ;
  
  arg1 = (eIDMW::BEID_Certificates *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_Certificate &_result_ref = (arg1)->getSignature();
        result = (eIDMW::BEID_Certificate *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_Certificates_getAuthentication(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_Certificates *arg1 = (eIDMW::BEID_Certificates *) 0 ;
  eIDMW::BEID_Certificate *result = 0 ;
  
  arg1 = (eIDMW::BEID_Certificates *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_Certificate &_result_ref = (arg1)->getAuthentication();
        result = (eIDMW::BEID_Certificate *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_Certificates_addCertificate(void * jarg1, void * jarg2) {
  void * jresult ;
  eIDMW::BEID_Certificates *arg1 = (eIDMW::BEID_Certificates *) 0 ;
  eIDMW::BEID_ByteArray *arg2 = 0 ;
  eIDMW::BEID_Certificate *result = 0 ;
  
  arg1 = (eIDMW::BEID_Certificates *)jarg1; 
  arg2 = (eIDMW::BEID_ByteArray *)jarg2;
  if(!arg2) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_ByteArray & type is null", 0);
    return 0;
  } 
  {
    try 
    {
      {
        eIDMW::BEID_Certificate &_result_ref = (arg1)->addCertificate(*arg2);
        result = (eIDMW::BEID_Certificate *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_Certificate(void * jarg1) {
  eIDMW::BEID_Certificate *arg1 = (eIDMW::BEID_Certificate *) 0 ;
  
  arg1 = (eIDMW::BEID_Certificate *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_Certificate_getLabel(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_Certificate *arg1 = (eIDMW::BEID_Certificate *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_Certificate *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getLabel();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT unsigned long SWIGSTDCALL CSharp_BEID_Certificate_getID(void * jarg1) {
  unsigned long jresult ;
  eIDMW::BEID_Certificate *arg1 = (eIDMW::BEID_Certificate *) 0 ;
  unsigned long result;
  
  arg1 = (eIDMW::BEID_Certificate *)jarg1; 
  {
    try 
    {
      result = (unsigned long)(arg1)->getID();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (unsigned long)result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_BEID_Certificate_getStatus__SWIG_0(void * jarg1) {
  int jresult ;
  eIDMW::BEID_Certificate *arg1 = (eIDMW::BEID_Certificate *) 0 ;
  eIDMW::BEID_CertifStatus result;
  
  arg1 = (eIDMW::BEID_Certificate *)jarg1; 
  {
    try 
    {
      result = (eIDMW::BEID_CertifStatus)(arg1)->getStatus();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_BEID_Certificate_getStatus__SWIG_1(void * jarg1, int jarg2, int jarg3) {
  int jresult ;
  eIDMW::BEID_Certificate *arg1 = (eIDMW::BEID_Certificate *) 0 ;
  eIDMW::BEID_ValidationLevel arg2 ;
  eIDMW::BEID_ValidationLevel arg3 ;
  eIDMW::BEID_CertifStatus result;
  
  arg1 = (eIDMW::BEID_Certificate *)jarg1; 
  arg2 = (eIDMW::BEID_ValidationLevel)jarg2; 
  arg3 = (eIDMW::BEID_ValidationLevel)jarg3; 
  {
    try 
    {
      result = (eIDMW::BEID_CertifStatus)(arg1)->getStatus(arg2,arg3);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_BEID_Certificate_getType(void * jarg1) {
  int jresult ;
  eIDMW::BEID_Certificate *arg1 = (eIDMW::BEID_Certificate *) 0 ;
  eIDMW::BEID_CertifType result;
  
  arg1 = (eIDMW::BEID_Certificate *)jarg1; 
  {
    try 
    {
      result = (eIDMW::BEID_CertifType)(arg1)->getType();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_Certificate_getCertData(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_Certificate *arg1 = (eIDMW::BEID_Certificate *) 0 ;
  eIDMW::BEID_ByteArray *result = 0 ;
  
  arg1 = (eIDMW::BEID_Certificate *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_ByteArray const &_result_ref = (arg1)->getCertData();
        result = (eIDMW::BEID_ByteArray *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_Certificate_getFormattedData(void * jarg1, void * jarg2) {
  eIDMW::BEID_Certificate *arg1 = (eIDMW::BEID_Certificate *) 0 ;
  eIDMW::BEID_ByteArray *arg2 = 0 ;
  
  arg1 = (eIDMW::BEID_Certificate *)jarg1; 
  arg2 = (eIDMW::BEID_ByteArray *)jarg2;
  if(!arg2) {
    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "eIDMW::BEID_ByteArray & type is null", 0);
    return ;
  } 
  {
    try 
    {
      (arg1)->getFormattedData(*arg2);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_Certificate_getSerialNumber(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_Certificate *arg1 = (eIDMW::BEID_Certificate *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_Certificate *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getSerialNumber();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_Certificate_getOwnerName(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_Certificate *arg1 = (eIDMW::BEID_Certificate *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_Certificate *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getOwnerName();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_Certificate_getIssuerName(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_Certificate *arg1 = (eIDMW::BEID_Certificate *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_Certificate *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getIssuerName();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_Certificate_getValidityBegin(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_Certificate *arg1 = (eIDMW::BEID_Certificate *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_Certificate *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getValidityBegin();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_Certificate_getValidityEnd(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_Certificate *arg1 = (eIDMW::BEID_Certificate *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_Certificate *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getValidityEnd();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT unsigned long SWIGSTDCALL CSharp_BEID_Certificate_getKeyLength(void * jarg1) {
  unsigned long jresult ;
  eIDMW::BEID_Certificate *arg1 = (eIDMW::BEID_Certificate *) 0 ;
  unsigned long result;
  
  arg1 = (eIDMW::BEID_Certificate *)jarg1; 
  {
    try 
    {
      result = (unsigned long)(arg1)->getKeyLength();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (unsigned long)result; 
  return jresult;
}


SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BEID_Certificate_isRoot(void * jarg1) {
  unsigned int jresult ;
  eIDMW::BEID_Certificate *arg1 = (eIDMW::BEID_Certificate *) 0 ;
  bool result;
  
  arg1 = (eIDMW::BEID_Certificate *)jarg1; 
  {
    try 
    {
      result = (bool)(arg1)->isRoot();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BEID_Certificate_isTest(void * jarg1) {
  unsigned int jresult ;
  eIDMW::BEID_Certificate *arg1 = (eIDMW::BEID_Certificate *) 0 ;
  bool result;
  
  arg1 = (eIDMW::BEID_Certificate *)jarg1; 
  {
    try 
    {
      result = (bool)(arg1)->isTest();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BEID_Certificate_isFromBeidValidChain(void * jarg1) {
  unsigned int jresult ;
  eIDMW::BEID_Certificate *arg1 = (eIDMW::BEID_Certificate *) 0 ;
  bool result;
  
  arg1 = (eIDMW::BEID_Certificate *)jarg1; 
  {
    try 
    {
      result = (bool)(arg1)->isFromBeidValidChain();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BEID_Certificate_isFromCard(void * jarg1) {
  unsigned int jresult ;
  eIDMW::BEID_Certificate *arg1 = (eIDMW::BEID_Certificate *) 0 ;
  bool result;
  
  arg1 = (eIDMW::BEID_Certificate *)jarg1; 
  {
    try 
    {
      result = (bool)(arg1)->isFromCard();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_Certificate_getIssuer(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_Certificate *arg1 = (eIDMW::BEID_Certificate *) 0 ;
  eIDMW::BEID_Certificate *result = 0 ;
  
  arg1 = (eIDMW::BEID_Certificate *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_Certificate &_result_ref = (arg1)->getIssuer();
        result = (eIDMW::BEID_Certificate *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT unsigned long SWIGSTDCALL CSharp_BEID_Certificate_countChildren(void * jarg1) {
  unsigned long jresult ;
  eIDMW::BEID_Certificate *arg1 = (eIDMW::BEID_Certificate *) 0 ;
  unsigned long result;
  
  arg1 = (eIDMW::BEID_Certificate *)jarg1; 
  {
    try 
    {
      result = (unsigned long)(arg1)->countChildren();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (unsigned long)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_Certificate_getChildren(void * jarg1, unsigned long jarg2) {
  void * jresult ;
  eIDMW::BEID_Certificate *arg1 = (eIDMW::BEID_Certificate *) 0 ;
  unsigned long arg2 ;
  eIDMW::BEID_Certificate *result = 0 ;
  
  arg1 = (eIDMW::BEID_Certificate *)jarg1; 
  arg2 = (unsigned long)jarg2; 
  {
    try 
    {
      {
        eIDMW::BEID_Certificate &_result_ref = (arg1)->getChildren(arg2);
        result = (eIDMW::BEID_Certificate *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_Certificate_getCRL(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_Certificate *arg1 = (eIDMW::BEID_Certificate *) 0 ;
  eIDMW::BEID_Crl *result = 0 ;
  
  arg1 = (eIDMW::BEID_Certificate *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_Crl &_result_ref = (arg1)->getCRL();
        result = (eIDMW::BEID_Crl *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_BEID_Certificate_getOcspResponse(void * jarg1) {
  void * jresult ;
  eIDMW::BEID_Certificate *arg1 = (eIDMW::BEID_Certificate *) 0 ;
  eIDMW::BEID_OcspResponse *result = 0 ;
  
  arg1 = (eIDMW::BEID_Certificate *)jarg1; 
  {
    try 
    {
      {
        eIDMW::BEID_OcspResponse &_result_ref = (arg1)->getOcspResponse();
        result = (eIDMW::BEID_OcspResponse *) &_result_ref;
      }
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_BEID_Certificate_verifyCRL__SWIG_0(void * jarg1, unsigned int jarg2) {
  int jresult ;
  eIDMW::BEID_Certificate *arg1 = (eIDMW::BEID_Certificate *) 0 ;
  bool arg2 ;
  eIDMW::BEID_CertifStatus result;
  
  arg1 = (eIDMW::BEID_Certificate *)jarg1; 
  arg2 = jarg2 ? true : false; 
  {
    try 
    {
      result = (eIDMW::BEID_CertifStatus)(arg1)->verifyCRL(arg2);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_BEID_Certificate_verifyCRL__SWIG_1(void * jarg1) {
  int jresult ;
  eIDMW::BEID_Certificate *arg1 = (eIDMW::BEID_Certificate *) 0 ;
  eIDMW::BEID_CertifStatus result;
  
  arg1 = (eIDMW::BEID_Certificate *)jarg1; 
  {
    try 
    {
      result = (eIDMW::BEID_CertifStatus)(arg1)->verifyCRL();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT int SWIGSTDCALL CSharp_BEID_Certificate_verifyOCSP(void * jarg1) {
  int jresult ;
  eIDMW::BEID_Certificate *arg1 = (eIDMW::BEID_Certificate *) 0 ;
  eIDMW::BEID_CertifStatus result;
  
  arg1 = (eIDMW::BEID_Certificate *)jarg1; 
  {
    try 
    {
      result = (eIDMW::BEID_CertifStatus)(arg1)->verifyOCSP();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_Config__SWIG_0(int jarg1) {
  void * jresult ;
  eIDMW::BEID_Param arg1 ;
  eIDMW::BEID_Config *result = 0 ;
  
  arg1 = (eIDMW::BEID_Param)jarg1; 
  {
    try 
    {
      result = (eIDMW::BEID_Config *)new eIDMW::BEID_Config(arg1);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_Config__SWIG_1(char * jarg1, char * jarg2, char * jarg3) {
  void * jresult ;
  char *arg1 = (char *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  eIDMW::BEID_Config *result = 0 ;
  
  arg1 = (char *)jarg1; 
  arg2 = (char *)jarg2; 
  arg3 = (char *)jarg3; 
  {
    try 
    {
      result = (eIDMW::BEID_Config *)new eIDMW::BEID_Config((char const *)arg1,(char const *)arg2,(char const *)arg3);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void * SWIGSTDCALL CSharp_new_BEID_Config__SWIG_2(char * jarg1, char * jarg2, long jarg3) {
  void * jresult ;
  char *arg1 = (char *) 0 ;
  char *arg2 = (char *) 0 ;
  long arg3 ;
  eIDMW::BEID_Config *result = 0 ;
  
  arg1 = (char *)jarg1; 
  arg2 = (char *)jarg2; 
  arg3 = (long)jarg3; 
  {
    try 
    {
      result = (eIDMW::BEID_Config *)new eIDMW::BEID_Config((char const *)arg1,(char const *)arg2,arg3);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = (void *)result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_delete_BEID_Config(void * jarg1) {
  eIDMW::BEID_Config *arg1 = (eIDMW::BEID_Config *) 0 ;
  
  arg1 = (eIDMW::BEID_Config *)jarg1; 
  {
    try 
    {
      delete arg1;
      
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT char * SWIGSTDCALL CSharp_BEID_Config_getString(void * jarg1) {
  char * jresult ;
  eIDMW::BEID_Config *arg1 = (eIDMW::BEID_Config *) 0 ;
  char *result = 0 ;
  
  arg1 = (eIDMW::BEID_Config *)jarg1; 
  {
    try 
    {
      result = (char *)(arg1)->getString();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = SWIG_csharp_string_callback((const char *)result); 
  return jresult;
}


SWIGEXPORT long SWIGSTDCALL CSharp_BEID_Config_getLong(void * jarg1) {
  long jresult ;
  eIDMW::BEID_Config *arg1 = (eIDMW::BEID_Config *) 0 ;
  long result;
  
  arg1 = (eIDMW::BEID_Config *)jarg1; 
  {
    try 
    {
      result = (long)(arg1)->getLong();
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return 0;
    }
  }
  jresult = result; 
  return jresult;
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_Config_setString(void * jarg1, char * jarg2) {
  eIDMW::BEID_Config *arg1 = (eIDMW::BEID_Config *) 0 ;
  char *arg2 = (char *) 0 ;
  
  arg1 = (eIDMW::BEID_Config *)jarg1; 
  arg2 = (char *)jarg2; 
  {
    try 
    {
      (arg1)->setString((char const *)arg2);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_Config_setLong(void * jarg1, long jarg2) {
  eIDMW::BEID_Config *arg1 = (eIDMW::BEID_Config *) 0 ;
  long arg2 ;
  
  arg1 = (eIDMW::BEID_Config *)jarg1; 
  arg2 = (long)jarg2; 
  {
    try 
    {
      (arg1)->setLong(arg2);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT void SWIGSTDCALL CSharp_BEID_LOG(int jarg1, char * jarg2, char * jarg3) {
  eIDMW::BEID_LogLevel arg1 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  void *arg4 = 0 ;
  
  arg1 = (eIDMW::BEID_LogLevel)jarg1; 
  arg2 = (char *)jarg2; 
  arg3 = (char *)jarg3; 
  {
    try 
    {
      eIDMW::BEID_LOG(arg1,(char const *)arg2,(char const *)arg3,arg4);
    }
    catch (eIDMW::BEID_Exception& e) 
    {
      SWIG_CSharpSetPendingExceptionCustom(e.GetError());
      return ;
    }
  }
}


SWIGEXPORT eIDMW::BEID_Exception * SWIGSTDCALL CSharp_BEID_ExReleaseNeededUpcast(eIDMW::BEID_ExReleaseNeeded *objectRef) {
    return (eIDMW::BEID_Exception *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Exception * SWIGSTDCALL CSharp_BEID_ExUnknownUpcast(eIDMW::BEID_ExUnknown *objectRef) {
    return (eIDMW::BEID_Exception *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Exception * SWIGSTDCALL CSharp_BEID_ExDocTypeUnknownUpcast(eIDMW::BEID_ExDocTypeUnknown *objectRef) {
    return (eIDMW::BEID_Exception *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Exception * SWIGSTDCALL CSharp_BEID_ExFileTypeUnknownUpcast(eIDMW::BEID_ExFileTypeUnknown *objectRef) {
    return (eIDMW::BEID_Exception *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Exception * SWIGSTDCALL CSharp_BEID_ExParamRangeUpcast(eIDMW::BEID_ExParamRange *objectRef) {
    return (eIDMW::BEID_Exception *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Exception * SWIGSTDCALL CSharp_BEID_ExCmdNotAllowedUpcast(eIDMW::BEID_ExCmdNotAllowed *objectRef) {
    return (eIDMW::BEID_Exception *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Exception * SWIGSTDCALL CSharp_BEID_ExCmdNotSupportedUpcast(eIDMW::BEID_ExCmdNotSupported *objectRef) {
    return (eIDMW::BEID_Exception *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Exception * SWIGSTDCALL CSharp_BEID_ExNoCardPresentUpcast(eIDMW::BEID_ExNoCardPresent *objectRef) {
    return (eIDMW::BEID_Exception *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Exception * SWIGSTDCALL CSharp_BEID_ExCardBadTypeUpcast(eIDMW::BEID_ExCardBadType *objectRef) {
    return (eIDMW::BEID_Exception *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Exception * SWIGSTDCALL CSharp_BEID_ExCardTypeUnknownUpcast(eIDMW::BEID_ExCardTypeUnknown *objectRef) {
    return (eIDMW::BEID_Exception *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Exception * SWIGSTDCALL CSharp_BEID_ExCertNoIssuerUpcast(eIDMW::BEID_ExCertNoIssuer *objectRef) {
    return (eIDMW::BEID_Exception *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Exception * SWIGSTDCALL CSharp_BEID_ExCertNoCrlUpcast(eIDMW::BEID_ExCertNoCrl *objectRef) {
    return (eIDMW::BEID_Exception *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Exception * SWIGSTDCALL CSharp_BEID_ExCertNoOcspUpcast(eIDMW::BEID_ExCertNoOcsp *objectRef) {
    return (eIDMW::BEID_Exception *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Exception * SWIGSTDCALL CSharp_BEID_ExCertNoRootUpcast(eIDMW::BEID_ExCertNoRoot *objectRef) {
    return (eIDMW::BEID_Exception *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Exception * SWIGSTDCALL CSharp_BEID_ExBadUsageUpcast(eIDMW::BEID_ExBadUsage *objectRef) {
    return (eIDMW::BEID_Exception *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Exception * SWIGSTDCALL CSharp_BEID_ExBadTransactionUpcast(eIDMW::BEID_ExBadTransaction *objectRef) {
    return (eIDMW::BEID_Exception *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Exception * SWIGSTDCALL CSharp_BEID_ExCardChangedUpcast(eIDMW::BEID_ExCardChanged *objectRef) {
    return (eIDMW::BEID_Exception *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Exception * SWIGSTDCALL CSharp_BEID_ExReaderSetChangedUpcast(eIDMW::BEID_ExReaderSetChanged *objectRef) {
    return (eIDMW::BEID_Exception *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Exception * SWIGSTDCALL CSharp_BEID_ExNoReaderUpcast(eIDMW::BEID_ExNoReader *objectRef) {
    return (eIDMW::BEID_Exception *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Exception * SWIGSTDCALL CSharp_BEID_ExNotAllowByUserUpcast(eIDMW::BEID_ExNotAllowByUser *objectRef) {
    return (eIDMW::BEID_Exception *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Exception * SWIGSTDCALL CSharp_BEID_ExUserMustAnswerUpcast(eIDMW::BEID_ExUserMustAnswer *objectRef) {
    return (eIDMW::BEID_Exception *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Object * SWIGSTDCALL CSharp_BEID_ByteArrayUpcast(eIDMW::BEID_ByteArray *objectRef) {
    return (eIDMW::BEID_Object *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Object * SWIGSTDCALL CSharp_BEID_ReaderSetUpcast(eIDMW::BEID_ReaderSet *objectRef) {
    return (eIDMW::BEID_Object *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Object * SWIGSTDCALL CSharp_BEID_ReaderContextUpcast(eIDMW::BEID_ReaderContext *objectRef) {
    return (eIDMW::BEID_Object *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Object * SWIGSTDCALL CSharp_BEID_CardUpcast(eIDMW::BEID_Card *objectRef) {
    return (eIDMW::BEID_Object *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Card * SWIGSTDCALL CSharp_BEID_MemoryCardUpcast(eIDMW::BEID_MemoryCard *objectRef) {
    return (eIDMW::BEID_Card *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Card * SWIGSTDCALL CSharp_BEID_SmartCardUpcast(eIDMW::BEID_SmartCard *objectRef) {
    return (eIDMW::BEID_Card *)objectRef;
}

SWIGEXPORT eIDMW::BEID_MemoryCard * SWIGSTDCALL CSharp_BEID_SISCardUpcast(eIDMW::BEID_SISCard *objectRef) {
    return (eIDMW::BEID_MemoryCard *)objectRef;
}

SWIGEXPORT eIDMW::BEID_SmartCard * SWIGSTDCALL CSharp_BEID_EIDCardUpcast(eIDMW::BEID_EIDCard *objectRef) {
    return (eIDMW::BEID_SmartCard *)objectRef;
}

SWIGEXPORT eIDMW::BEID_EIDCard * SWIGSTDCALL CSharp_BEID_KidsCardUpcast(eIDMW::BEID_KidsCard *objectRef) {
    return (eIDMW::BEID_EIDCard *)objectRef;
}

SWIGEXPORT eIDMW::BEID_EIDCard * SWIGSTDCALL CSharp_BEID_ForeignerCardUpcast(eIDMW::BEID_ForeignerCard *objectRef) {
    return (eIDMW::BEID_EIDCard *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Object * SWIGSTDCALL CSharp_BEID_XMLDocUpcast(eIDMW::BEID_XMLDoc *objectRef) {
    return (eIDMW::BEID_Object *)objectRef;
}

SWIGEXPORT eIDMW::BEID_XMLDoc * SWIGSTDCALL CSharp_BEID_BiometricUpcast(eIDMW::BEID_Biometric *objectRef) {
    return (eIDMW::BEID_XMLDoc *)objectRef;
}

SWIGEXPORT eIDMW::BEID_XMLDoc * SWIGSTDCALL CSharp_BEID_CryptoUpcast(eIDMW::BEID_Crypto *objectRef) {
    return (eIDMW::BEID_XMLDoc *)objectRef;
}

SWIGEXPORT eIDMW::BEID_XMLDoc * SWIGSTDCALL CSharp_BEID_CardVersionInfoUpcast(eIDMW::BEID_CardVersionInfo *objectRef) {
    return (eIDMW::BEID_XMLDoc *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Biometric * SWIGSTDCALL CSharp_BEID_PictureUpcast(eIDMW::BEID_Picture *objectRef) {
    return (eIDMW::BEID_Biometric *)objectRef;
}

SWIGEXPORT eIDMW::BEID_XMLDoc * SWIGSTDCALL CSharp_BEID_SisIdUpcast(eIDMW::BEID_SisId *objectRef) {
    return (eIDMW::BEID_XMLDoc *)objectRef;
}

SWIGEXPORT eIDMW::BEID_XMLDoc * SWIGSTDCALL CSharp_BEID_EIdUpcast(eIDMW::BEID_EId *objectRef) {
    return (eIDMW::BEID_XMLDoc *)objectRef;
}

SWIGEXPORT eIDMW::BEID_XMLDoc * SWIGSTDCALL CSharp_BEID_SisFullDocUpcast(eIDMW::BEID_SisFullDoc *objectRef) {
    return (eIDMW::BEID_XMLDoc *)objectRef;
}

SWIGEXPORT eIDMW::BEID_XMLDoc * SWIGSTDCALL CSharp_BEID_EIdFullDocUpcast(eIDMW::BEID_EIdFullDoc *objectRef) {
    return (eIDMW::BEID_XMLDoc *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Crypto * SWIGSTDCALL CSharp_BEID_PinsUpcast(eIDMW::BEID_Pins *objectRef) {
    return (eIDMW::BEID_Crypto *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Crypto * SWIGSTDCALL CSharp_BEID_PinUpcast(eIDMW::BEID_Pin *objectRef) {
    return (eIDMW::BEID_Crypto *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Object * SWIGSTDCALL CSharp_BEID_CrlUpcast(eIDMW::BEID_Crl *objectRef) {
    return (eIDMW::BEID_Object *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Object * SWIGSTDCALL CSharp_BEID_OcspResponseUpcast(eIDMW::BEID_OcspResponse *objectRef) {
    return (eIDMW::BEID_Object *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Crypto * SWIGSTDCALL CSharp_BEID_CertificatesUpcast(eIDMW::BEID_Certificates *objectRef) {
    return (eIDMW::BEID_Crypto *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Crypto * SWIGSTDCALL CSharp_BEID_CertificateUpcast(eIDMW::BEID_Certificate *objectRef) {
    return (eIDMW::BEID_Crypto *)objectRef;
}

SWIGEXPORT eIDMW::BEID_Object * SWIGSTDCALL CSharp_BEID_ConfigUpcast(eIDMW::BEID_Config *objectRef) {
    return (eIDMW::BEID_Object *)objectRef;
}

#ifdef __cplusplus
}
#endif


Generated by  Doxygen 1.6.0   Back to index